cveboard RSS feed

CVE-2026-59247

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2026
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

Insufficient verification of Hex package metadata in Gleam

Insufficient Verification of Data Authenticity vulnerability in Gleam allows an adversary in the middle to substitute forged Hex package contents during dependency resolution. During dependency resolution Gleam fetches package metadata from the signature-verified Hex repository, which covers each release's dependency requirements and SHA-256 outer_checksum. After resolving versions, gleam_cli::dependencies::lookup_package makes a second request to the unsigned Hex API through gleam_core::hex::get_package_release and records the outer_checksum and dependency names from that JSON response into manifest.toml, instead of the values from the verified repository metadata. The Hex repository signature does not cover the API response. An adversary in the middle who can intercept TLS with a certificate trusted by the Gleam process (for example a TLS-inspecting proxy using a CA in the operating system trust store or added through GLEAM_CACERTS_PATH), and who can modify both the API release response and the corresponding repository tarball, can supply a package archive with a matching forged checksum without the Hex repository signing key. Gleam verifies the forged tarball against the forged checksum, accepts it, and extracts it as a dependency source, resulting in loss of integrity of the downloaded package contents. Only projects that resolve or update Hex dependencies are affected, which happens when the manifest is missing, a dependency is added or updated, or dependency requirements change. Builds that reuse an unchanged, known-good manifest.toml continue to verify tarballs against its pinned checksum. This issue affects gleam: from 0.18.0 before 1.18.0.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

gleam

Vendor
gleam-lang
Product
gleam
Platforms
Unknown
Default status
unaffected
Package
gleam.run/gleam
Package collection
https://gleam.run
gleam · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
0.18.0affectedsemver1.18.0UnavailableNone listed

gleam

Vendor
gleam-lang
Product
gleam
Platforms
Unknown
Default status
unaffected
Package
gleam-lang/gleam
Package collection
https://github.com
gleam · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
0.18.0affectedsemver1.18.0UnavailableNone listed
8447b78cc844ff4aec44eea23dbd68d1fea11f11affectedgitc9c0d48c123c8abae6db8dd61b25ccb427ed3d35UnavailableNone listed

gleam

Vendor
gleam-lang
Product
gleam
Platforms
Unknown
Default status
unaffected
Package
gleam-lang/gleam
Package collection
https://ghcr.io
gleam · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
v0.18.0-elixiraffectedotherv1.18.0-elixirUnavailableNone listed
v0.18.0-elixir-slimaffectedotherv1.18.0-elixir-slimUnavailableNone listed
v0.18.0-elixir-alpineaffectedotherv1.18.0-elixir-alpineUnavailableNone listed
v0.18.0-erlangaffectedotherv1.18.0-erlangUnavailableNone listed
v0.18.0-erlang-slimaffectedotherv1.18.0-erlang-slimUnavailableNone listed
v0.18.0-erlang-alpineaffectedotherv1.18.0-erlang-alpineUnavailableNone listed
v0.18.0-nodeaffectedotherv1.18.0-nodeUnavailableNone listed
v0.18.0-node-slimaffectedotherv1.18.0-node-slimUnavailableNone listed
v0.18.0-node-alpineaffectedotherv1.18.0-node-alpineUnavailableNone listed
v1.6.0-scratchaffectedotherv1.18.0-scratchUnavailableNone listed