CVEBrief

Home / Gleam / Gleam / CVE-2026-59247

CVE-2026-59247: is it exploited, and which versions of Gleam are affected and fixed?

CVE-2026-59247 is a data authenticity not verified vulnerability in Gleam. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: Gleam from v0.18.0-rc1-elixir before v1.18.0-elixir, Gleam from v0.18.0-rc1-erlang before v1.18.0-erlang, Gleam from v0.18.0-rc1-node before v1.18.0-node and 8 more (CVE record by EEF). Fixed in v1.18.0-elixir, v1.18.0-erlang, v1.18.0-node, v1.18.0-node-slim and 2 more (CVE record by EEF). Severity: High (7.6, CVSS 4.0, from EEF).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 20, 2026, 06:15 UTC and NVD November 20, 2026, 07:04 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 14:38 UTC
Affected
Gleam from v0.18.0-rc1-elixir before v1.18.0-elixir, Gleam from v0.18.0-rc1-erlang before v1.18.0-erlang, Gleam from v0.18.0-rc1-node before v1.18.0-node and 8 more
CVE record by EEF
Fixed in
v1.18.0-elixir, v1.18.0-erlang, v1.18.0-node, v1.18.0-node-slim and 2 more
CVE record by EEF
Severity
High 7.6
CVSS 4.0 from EEF
Exploit odds (EPSS)
0.16% in 30 days
higher than 6% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2026-59247?

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-rc1 before 1.18.0.

From the CVE record by EEF, last updated November 20, 2026, 05:59 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
GleamGleam gleam-lang/gleamfrom v0.18.0-rc1-elixir before v1.18.0-elixir
from v0.18.0-rc1-erlang before v1.18.0-erlang
from v0.18.0-rc1-node before v1.18.0-node
from v0.18.0-rc1-node-slim before v1.18.0-node-slim
from v0.18.0-rc1-elixir-slim before v1.18.0-elixir-slim
from v0.18.0-rc1-erlang-slim before v1.18.0-erlang-slim
from v0.18.0-rc1-erlang-alpine before v1.18.0-erlang-alpine
from v0.18.0-rc1-elixir-alpine before v1.18.0-elixir-alpine
from v0.18.0-rc1-node-alpine before v1.18.0-node-alpine
from v0.18.0-rc1-scratch before v1.18.0-scratch
v1.18.0-elixir, v1.18.0-erlang, v1.18.0-node, v1.18.0-node-slim, v1.18.0-elixir-slim, v1.18.0-erlang-slim, v1.18.0-erlang-alpine, v1.18.0-elixir-alpine, v1.18.0-node-alpine, v1.18.0-scratch
GleamGleam gleamfrom 0.18.0-rc1 before 1.18.01.18.0
GleamGleam gleam-lang/gleamnot stated

As the CVE record by EEF states it, last updated November 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

How severe is CVE-2026-59247?

ScoreVersionVectorSource
High 7.6CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NEEF

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-59247 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: total (CISA ADP, July 29, 2026)
EPSS
0.16% probability of exploitation activity in the next 30 days, percentile 5.7 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
July 4, 2026
Published
July 29, 2026, 14:24 UTC
CVE record updated
November 20, 2026, 05:59 UTC by EEF
NVD
Deferred, last modified November 20, 2026, 06:17 UTC
Last checked
CVE list November 20, 2026, 06:15 UTC; NVD November 20, 2026, 07:04 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Gleam?

Every CVE in Gleam

Questions about CVE-2026-59247

Is CVE-2026-59247 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.16% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Gleam are affected by CVE-2026-59247?

Gleam from v0.18.0-rc1-elixir before v1.18.0-elixir, Gleam from v0.18.0-rc1-erlang before v1.18.0-erlang, Gleam from v0.18.0-rc1-node before v1.18.0-node, Gleam from v0.18.0-rc1-node-slim before v1.18.0-node-slim, Gleam from v0.18.0-rc1-elixir-slim before v1.18.0-elixir-slim, Gleam from v0.18.0-rc1-erlang-slim before v1.18.0-erlang-slim and 5 more, per the CVE record by EEF. The tables above give every range the sources list.

Which version fixes CVE-2026-59247?

v1.18.0-elixir, v1.18.0-erlang, v1.18.0-node, v1.18.0-node-slim, v1.18.0-elixir-slim and v1.18.0-erlang-slim, per the CVE record by EEF. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-59247?

High (7.6, CVSS 4.0, from EEF). The severity table above shows each score with its source.

Where is the official record of CVE-2026-59247?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.