CVEBrief

Home / Gleam / Gleam / CVE-2026-43965

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

CVE-2026-43965 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, 12:08 UTC). Affected: Gleam from v0.18.0-rc1-elixir before v1.17.0-elixir, Gleam from v0.18.0-rc1-erlang before v1.17.0-erlang, Gleam from v0.18.0-rc1-node before v1.17.0-node and 8 more (CVE record by EEF). Fixed in v1.17.0-elixir, v1.17.0-erlang, v1.17.0-node, v1.17.0-node-slim and 2 more (CVE record by EEF). Severity: Medium (5.6, CVSS 4.0, from EEF).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 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, 12:08 UTC
Affected
Gleam from v0.18.0-rc1-elixir before v1.17.0-elixir, Gleam from v0.18.0-rc1-erlang before v1.17.0-erlang, Gleam from v0.18.0-rc1-node before v1.17.0-node and 8 more
CVE record by EEF
Fixed in
v1.17.0-elixir, v1.17.0-erlang, v1.17.0-node, v1.17.0-node-slim and 2 more
CVE record by EEF
Severity
Medium 5.6
CVSS 4.0 from EEF
Exploit odds (EPSS)
0.28% in 30 days
higher than 22% of CVEs; FIRST, December 2, 2026

What is CVE-2026-43965?

Path Traversal in build/packages/packages.toml Allows Arbitrary Directory Deletion

Path traversal vulnerability in Gleam's dependency management allows arbitrary directory deletion via malicious build/packages/packages.toml content. Package keys read from build/packages/packages.toml by LocalPackages::read_from_disc are passed without validation to paths.build_packages_package(), which constructs a filesystem path by joining the project build directory with the attacker-controlled key. The resulting path is then passed to fs::delete_directory (which calls remove_dir_all). No check is performed to ensure the path remains within the intended build/packages/ directory. Both absolute paths and relative traversal sequences (e.g. ../) are accepted as package keys, allowing deletion of arbitrary directories. An attacker who can cause a victim to run gleam deps download on a project containing a malicious build/packages/packages.toml (e.g. by committing the normally-gitignored file to a repository) can cause arbitrary directories on the victim's system to be recursively deleted. This issue affects gleam: from 0.18.0-rc1 before 1.17.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.17.0-elixir
from v0.18.0-rc1-erlang before v1.17.0-erlang
from v0.18.0-rc1-node before v1.17.0-node
from v0.18.0-rc1-node-slim before v1.17.0-node-slim
from v0.18.0-rc1-elixir-slim before v1.17.0-elixir-slim
from v0.18.0-rc1-erlang-slim before v1.17.0-erlang-slim
from v0.18.0-rc1-erlang-alpine before v1.17.0-erlang-alpine
from v0.18.0-rc1-elixir-alpine before v1.17.0-elixir-alpine
from v0.18.0-rc1-node-alpine before v1.17.0-node-alpine
from v0.18.0-rc1-scratch before v1.17.0-scratch
v1.17.0-elixir, v1.17.0-erlang, v1.17.0-node, v1.17.0-node-slim, v1.17.0-elixir-slim, v1.17.0-erlang-slim, v1.17.0-erlang-alpine, v1.17.0-elixir-alpine, v1.17.0-node-alpine, v1.17.0-scratch
GleamGleam gleamfrom 0.18.0-rc1 before 1.17.01.17.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-43965?

ScoreVersionVectorSource
Medium 5.6CVSS 4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/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-43965 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, June 2, 2026)
EPSS
0.28% probability of exploitation activity in the next 30 days, percentile 22.0 (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
May 4, 2026
Published
June 2, 2026, 13:41 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, 12:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Gleam?

Every CVE in Gleam

Questions about CVE-2026-43965

Is CVE-2026-43965 exploited in the wild?

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

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

Gleam from v0.18.0-rc1-elixir before v1.17.0-elixir, Gleam from v0.18.0-rc1-erlang before v1.17.0-erlang, Gleam from v0.18.0-rc1-node before v1.17.0-node, Gleam from v0.18.0-rc1-node-slim before v1.17.0-node-slim, Gleam from v0.18.0-rc1-elixir-slim before v1.17.0-elixir-slim, Gleam from v0.18.0-rc1-erlang-slim before v1.17.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-43965?

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

How severe is CVE-2026-43965?

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

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

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.