CVEBrief

Home / Gleam / Gleam / CVE-2026-103061

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

CVE-2026-103061 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, 19:39 UTC). Affected: Gleam from v0.32.4-elixir before v1.19.2-elixir, Gleam from v0.32.4-erlang before v1.19.2-erlang, Gleam from v0.32.4-node before v1.19.2-node and 8 more (CVE record by EEF). Fixed in v1.19.2-elixir, v1.19.2-erlang, v1.19.2-node, v1.19.2-node-slim and 2 more (CVE record by EEF). Severity: Medium (5.9, CVSS 4.0, from EEF).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19: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, 19:39 UTC
Affected
Gleam from v0.32.4-elixir before v1.19.2-elixir, Gleam from v0.32.4-erlang before v1.19.2-erlang, Gleam from v0.32.4-node before v1.19.2-node and 8 more
CVE record by EEF
Fixed in
v1.19.2-elixir, v1.19.2-erlang, v1.19.2-node, v1.19.2-node-slim and 2 more
CVE record by EEF
Severity
Medium 5.9
CVSS 4.0 from EEF
Exploit odds (EPSS)
0.50% in 30 days
higher than 44% 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-103061?

Path traversal in Gleam via unvalidated package application names

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in gleam-lang gleam allows a malicious package publisher to delete a directory outside the project's build directory when a developer builds a project. A Hex package release's metadata carries an app field with the release's OTP application name. Gleam reads this field from the hex.pm release API when it downloads dependencies and uses it as the package's build directory name without validating it (hex_manifest_package in compiler-cli/src/dependencies.rs, ProjectPaths::build_directory_for_package). When a dependency fails to compile, Gleam deletes that directory with remove_dir_all. hex.pm didn't restrict the field to a directory name before 2026-10-12, so a publisher could set it to a value such as ../../../../target or an absolute path. When a project depends on such a release directly or transitively and the release fails to compile, gleam build, gleam check, gleam run, gleam test or gleam export deletes the directory the name resolves to. For a pure Gleam package no publisher code runs. This issue affects gleam: from 0.32.4 before 1.19.2.

From the CVE record by EEF, last updated November 20, 2026, 06:00 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
GleamGleam gleam-lang/gleamfrom v0.32.4-elixir before v1.19.2-elixir
from v0.32.4-erlang before v1.19.2-erlang
from v0.32.4-node before v1.19.2-node
from v0.32.4-node-slim before v1.19.2-node-slim
from v0.32.4-elixir-slim before v1.19.2-elixir-slim
from v0.32.4-erlang-slim before v1.19.2-erlang-slim
from v0.32.4-erlang-alpine before v1.19.2-erlang-alpine
from v0.32.4-elixir-alpine before v1.19.2-elixir-alpine
from v0.32.4-node-alpine before v1.19.2-node-alpine
from v0.32.4-scratch before v1.19.2-scratch
v1.19.2-elixir, v1.19.2-erlang, v1.19.2-node, v1.19.2-node-slim, v1.19.2-elixir-slim, v1.19.2-erlang-slim, v1.19.2-erlang-alpine, v1.19.2-elixir-alpine, v1.19.2-node-alpine, v1.19.2-scratch
GleamGleam gleamfrom 0.32.4 before 1.19.21.19.2
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-103061?

ScoreVersionVectorSource
Medium 5.9CVSS 4.0CVSS:4.0/AV:N/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-103061 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 16, 2026)
EPSS
0.50% probability of exploitation activity in the next 30 days, percentile 44.2 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

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

Upgrade Gleam to 1.19.2 or later. Gleam then rejects a hex.pm release whose OTP application name, or the application name it gives a dependency, isn't a lowercase letter followed by lowercase letters, digits and _.

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
October 7, 2026
Published
October 12, 2026, 18:23 UTC
CVE record updated
November 20, 2026, 06:00 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, 19:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Gleam?

Every CVE in Gleam

Questions about CVE-2026-103061

Is CVE-2026-103061 exploited in the wild?

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

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

Gleam from v0.32.4-elixir before v1.19.2-elixir, Gleam from v0.32.4-erlang before v1.19.2-erlang, Gleam from v0.32.4-node before v1.19.2-node, Gleam from v0.32.4-node-slim before v1.19.2-node-slim, Gleam from v0.32.4-elixir-slim before v1.19.2-elixir-slim, Gleam from v0.32.4-erlang-slim before v1.19.2-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-103061?

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

How severe is CVE-2026-103061?

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

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

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.