CVEBrief

Home / Gleam / Gleam / CVE-2026-32146

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

CVE-2026-32146 is a path traversal (reading or writing files outside the intended folder) 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, 15:39 UTC). Affected: Gleam from v1.9.0-rc1-elixir before v1.15.4-elixir, Gleam from v1.9.0-rc1-erlang before v1.15.4-erlang, Gleam from v1.9.0-rc1-node before v1.15.4-node and 19 more (CVE record by EEF). Fixed in v1.15.4-elixir, v1.15.4-erlang, v1.15.4-node, v1.15.4-node-slim and 2 more (CVE record by EEF). Severity: High (8.3, CVSS 4.0, from EEF).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 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, 15:39 UTC
Affected
Gleam from v1.9.0-rc1-elixir before v1.15.4-elixir, Gleam from v1.9.0-rc1-erlang before v1.15.4-erlang, Gleam from v1.9.0-rc1-node before v1.15.4-node and 19 more
CVE record by EEF
Fixed in
v1.15.4-elixir, v1.15.4-erlang, v1.15.4-node, v1.15.4-node-slim and 2 more
CVE record by EEF
Severity
High 8.3
CVSS 4.0 from EEF
Exploit odds (EPSS)
0.32% in 30 days
higher than 27% of CVEs; FIRST, December 3, 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-32146?

Improper Path Validation in Git Dependency Handling Allows Arbitrary File System Modification

Improper path validation vulnerability in the Gleam compiler's handling of git dependencies allows arbitrary file system modification during dependency download. Dependency names from gleam.toml and manifest.toml are incorporated into filesystem paths without sufficient validation or confinement to the intended dependency directory, allowing attacker-controlled paths (via relative traversal such as ../ or absolute paths) to target filesystem locations outside that directory. When resolving git dependencies (e.g. via gleam deps download), the computed path is used for filesystem operations including directory deletion and creation. This vulnerability occurs during the dependency resolution and download phase, which is generally expected to be limited to fetching and preparing dependencies within a confined directory. A malicious direct or transitive git dependency can exploit this issue to delete and overwrite arbitrary directories outside the intended dependency directory, including attacker-chosen absolute paths, potentially causing data loss. In some environments, this may be further leveraged to achieve code execution, for example by overwriting git hooks or shell configuration files. This issue affects gleam: from 1.9.0-rc1 before 1.15.4 and from 1.16.0-rc1 before 1.16.0-rc2.

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 v1.9.0-rc1-elixir before v1.15.4-elixir
from v1.9.0-rc1-erlang before v1.15.4-erlang
from v1.9.0-rc1-node before v1.15.4-node
from v1.9.0-rc1-node-slim before v1.15.4-node-slim
from v1.9.0-rc1-elixir-slim before v1.15.4-elixir-slim
from v1.9.0-rc1-erlang-slim before v1.15.4-erlang-slim
from v1.9.0-rc1-erlang-alpine before v1.15.4-erlang-alpine
from v1.9.0-rc1-elixir-alpine before v1.15.4-elixir-alpine
from v1.9.0-rc1-node-alpine before v1.15.4-node-alpine
from v1.9.0-rc1-scratch before v1.15.4-scratch
from v1.16.0-rc1-elixir before v1.16.0-rc2-elixir
from v1.16.0-rc1-erlang before v1.16.0-rc2-erlang
and 8 more ranges
v1.15.4-elixir, v1.15.4-erlang, v1.15.4-node, v1.15.4-node-slim, v1.15.4-elixir-slim, v1.15.4-erlang-slim, v1.15.4-erlang-alpine, v1.15.4-elixir-alpine, v1.15.4-node-alpine, v1.15.4-scratch, v1.16.0-rc2-elixir, v1.16.0-rc2-erlang, v1.16.0-rc2-node, v1.16.0-rc2-node-slim, v1.16.0-rc2-elixir-slim, v1.
GleamGleam gleamfrom 1.9.0-rc1 before 1.15.4
from 1.16.0-rc1 before 1.16.0-rc2
1.15.4, 1.16.0-rc2
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.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
lpilgleamfrom 1.9.0 before 1.15.4application

NVD analysis (status Modified), last modified November 20, 2026, 06:17 UTC.

How severe is CVE-2026-32146?

ScoreVersionVectorSource
High 8.3CVSS 4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:H/SI:H/SA:HEEF
High 8.6CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:Hredhat-SADP
High 7.8CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HNVD

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-32146 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, April 13, 2026)
EPSS
0.32% probability of exploitation activity in the next 30 days, percentile 27.0 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

How do I fix it? (from the CVE record)

Upgrade to Gleam 1.15.4 or later. Both patches must be applied: the original incomplete fix (1aa5d8e594b0aa240bb213fce6ee19c65e6d5bcf, backported as 55bb36e6d7febfbbc48c4d001e0ae13eb0312d78 to 1.15) and the follow-up fix (2dc0467f822c75de94697a912755d172928ee40a, backported as 92aae3913570e8d8962f6399404777d313045bfa to 1.15). Gleam 1.15.4 includes both.

Is there a workaround? (from the CVE record)

* Avoid using untrusted git dependencies, especially without pinning to a specific commit SHA * Review dependency trees carefully, including transitive git dependencies * Run dependency resolution commands in a restricted or isolated environment (e.g. containers)

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
March 10, 2026
Published
April 11, 2026, 12:59 UTC
CVE record updated
November 20, 2026, 05:59 UTC by EEF
NVD
Modified, 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, 15:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Gleam?

Every CVE in Gleam

Questions about CVE-2026-32146

Is CVE-2026-32146 exploited in the wild?

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

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

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

Which version fixes CVE-2026-32146?

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

How severe is CVE-2026-32146?

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

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

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.