Improper path validation vulnerability in the Gleam compiler's handling of git dependencies allows arbitrary file system modification during dependency download.
Overview
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.
- Published
- 4/11/2026
- Last modified
- 11/20/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
gleam lpil | ≥ 1.9.0, < 1.15.4 | Verify advisory | Source |
Gleam Gleam | ≥ v1.9.0-rc1-elixir, < v1.15.4-elixir | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Gleam Gleam | ≥ v1.9.0-rc1-erlang, < v1.15.4-erlang | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Gleam Gleam | ≥ v1.9.0-rc1-node, < v1.15.4-node | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Gleam Gleam | ≥ v1.9.0-rc1-node-slim, < v1.15.4-node-slim | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Gleam Gleam | ≥ v1.9.0-rc1-elixir-slim, < v1.15.4-elixir-slim | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Gleam Gleam | ≥ v1.9.0-rc1-erlang-slim, < v1.15.4-erlang-slim | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Gleam Gleam | ≥ v1.9.0-rc1-erlang-alpine, < v1.15.4-erlang-alpine | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Gleam Gleam | ≥ v1.9.0-rc1-elixir-alpine, < v1.15.4-elixir-alpine | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Gleam Gleam | ≥ v1.9.0-rc1-node-alpine, < v1.15.4-node-alpine | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Gleam Gleam | ≥ v1.9.0-rc1-scratch, < v1.15.4-scratch | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Gleam Gleam | ≥ v1.16.0-rc1-elixir, < v1.16.0-rc2-elixir | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Gleam Gleam | ≥ v1.16.0-rc1-erlang, < v1.16.0-rc2-erlang | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Gleam Gleam | ≥ v1.16.0-rc1-node, < v1.16.0-rc2-node | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Gleam Gleam | ≥ v1.16.0-rc1-node-slim, < v1.16.0-rc2-node-slim | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Gleam Gleam | ≥ v1.16.0-rc1-elixir-slim, < v1.16.0-rc2-elixir-slim | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Gleam Gleam | ≥ v1.16.0-rc1-erlang-slim, < v1.16.0-rc2-erlang-slim | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Gleam Gleam | ≥ v1.16.0-rc1-erlang-alpine, < v1.16.0-rc2-erlang-alpine | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Gleam Gleam | ≥ v1.16.0-rc1-elixir-alpine, < v1.16.0-rc2-elixir-alpine | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Gleam Gleam | ≥ v1.16.0-rc1-node-alpine, < v1.16.0-rc2-node-alpine | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Gleam Gleam | ≥ v1.16.0-rc1-scratch, < v1.16.0-rc2-scratch | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Gleam Gleam | ≥ 1.9.0-rc1, < 1.15.4 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Gleam Gleam | ≥ 1.16.0-rc1, < 1.16.0-rc2 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Gleam Gleam | ≥ a4fde22445ab8e5cc79c2ff48971616cb570702c, < * | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 8.3. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.