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 until 1.15.4.
Who exploits it and how urgent it is
A 0–100 score combining confirmed exploitation, ransomware and APT use, public exploits, EPSS and severity.
How the score was calculated
- EPSS 0.2% (30-day exploitation probability)+2
- Technical severity (high)+6
- CISA SSVC: exploitation "poc"+5
The score orders the patch queue; it does not replace your asset context (internet exposure, criticality, compensating controls).
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the sources call it.
CISA SSVC assessment CISA
Three decision points CISA publishes for the CVEs it assesses (SSVC 2.0.3). A stakeholder decision, not a severity score.
Remediation
Fixes and mitigations documented by the sources — linked to the original advisory.
- Documented patch — github.com (NIST National Vulnerability Database)
- Documented patch — github.com (NIST National Vulnerability Database)
First 24 hours
Ordered from the record’s own fields — exposure first, because you cannot patch what you have not found. A rule-generated starting point.
- Identify exposed assets running the affected vendor/product/version combinations (Gleam Gleam, Lpil Gleam).
- Apply the fixed version or the patch documented under Remediation.
- Exploitation requires user interaction: tighten email/web filtering and warn affected users.
- Search available logs for exploit probes matching the vulnerability class (file handling), errors and authentication anomalies.
Affected scope
Vendor, product and versions as the sources word them.
| Vendor | Product | Versions | Status | Source |
|---|---|---|---|---|
| Gleam | Gleam |
≥ 1.9.0-rc1≥ a4fde22445ab8e5cc79c2ff48971616cb570702c≥ v1.9.0-rc1-elixir and < v1.15.4-elixir≥ v1.9.0-rc1-erlang and < v1.15.4-erlang≥ v1.9.0-rc1-node and < v1.15.4-node≥ v1.9.0-rc1-node-slim and < v1.15.4-node-slim≥ v1.9.0-rc1-elixir-slim and < v1.15.4-elixir-slim≥ v1.9.0-rc1-erlang-slim and < v1.15.4-erlang-slim and 4 more≥ v1.9.0-rc1-erlang-alpine and < v1.15.4-erlang-alpine≥ v1.9.0-rc1-elixir-alpine and < v1.15.4-elixir-alpine≥ v1.9.0-rc1-node-alpine and < v1.15.4-node-alpine≥ v1.9.0-rc1-scratch and < v1.15.4-scratch |
Vulnerable | CVE Program (cve.org) e CISA ADP |
| Lpil | Gleam | ≥ 1.9.0 and < 1.15.4 | Vulnerable | NIST National Vulnerability Database |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Every base score collected
Sources score independently and may disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Scored by |
|---|---|---|---|---|---|
| 8.3 | CVSS 4.0 | High | — | — | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db via NIST National Vulnerability Database |
| 8.3 | CVSS 4.0 | High | — | — | EEF via CVE Program (cve.org) e CISA ADP |
| 8.6 | CVSS 3.1 | High | 1.8 | 6.0 | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c via NIST National Vulnerability Database |
| 7.8 | CVSS 3.1 | High | 1.8 | 5.9 | nvd@nist.gov via NIST National Vulnerability Database |
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (score shown at the top: nvd@nist.gov) Weakness MITRE
Weakness class according to MITRE’s CWE catalog.
EPSS over time FIRST
Oct 13, 2026 → Oct 15, 2026 · 3 reading(s) · max 0.23%
Detection
Read off the CVSS vector and the weakness class. Starting points, not tested rules.
- Local/physical vector: focus on endpoint telemetry (EDR) from affected hosts.
- Monitor file creation in web directories and paths with traversal sequences (../).
Timeline
What happened to this CVE, newest first.
- 2026
- Affected products added · gleam/gleam
- SSVC assessment updated
- Record published
- Fix documented
- CVSS changed · 7.8
- Source status changed · → Modified
- Record created in this database
- CVE published
Source activity
Repeated readings are counted rather than listed.
- 1× Official description updated · Oct 13, 2026 – Oct 13, 2026
References
8 on the record
- github.com/gleam-lang/gleam/security/advisories/GHSA-vq5j-55vx-wq8j
- github.com/gleam-lang/gleam/commit/2dc0467f822c75de94697a912755d172928ee40a
- github.com/gleam-lang/gleam/commit/1aa5d8e594b0aa240bb213fce6ee19c65e6d5bcf
- access.redhat.com/security/cve/CVE-2026-32146
- osv.dev/vulnerability/EEF-CVE-2026-32146
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32146.json
- cna.erlef.org/cves/CVE-2026-32146.html
- bugzilla.redhat.com/show_bug.cgi
Elsewhere on this site
Related CVEs (same products)
- Medium CVE-2026-103061 Path traversal in Gleam via unvalidated package application names 3d
- Medium CVE-2026-43965 Path Traversal in build/packages/packages.toml Allows Arbitrary Directory Deletion Jun 2, 2026
- Medium CVE-2026-42795 Symlink Following in Hex Package Export Allows Embedding Files Outside Project Root Jun 2, 2026
- Medium CVE-2026-32685 Path Traversal in gleam docs build via documentation.pages Allows Arbitrary File Read and Write Jun 2, 2026
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record
Text assembled only from the fields above — no additional claims.
What should defenders know first?
CVE-2026-32146 is "Improper Path Validation in Git Dependency Handling Allows Arbitrary File System Modification", rated High. It affects Gleam (Gleam); versions are in the scope table. It is not in CISA KEV, which does not rule out exploitation. CVSS 7.8 describes technical severity. EPSS 0.23% estimates the probability of exploitation in 30 days; neither replaces your asset context. First verify whether exposed or business-critical assets run the affected versions, apply vendor fixes or mitigations, and preserve logs for review.
Comments
Moderated technical discussion. Read the community guidelines.
No comments yet.
Sign in or create an account to comment and suggest corrections.