Technical impact
The CVE description identifies an improper path validation flaw in the Gleam compiler’s handling of git dependencies. The vulnerability allows an attacker to craft a dependency name that is incorporated directly into a file system path during dependency download. Without sufficient validation, this path can contain traversal sequences such as '../' or absolute paths that target locations outside the intended dependency directory. As a result, the compiler can delete or overwrite arbitrary files during the resolution phase, and in some contexts could gain code execution by overwriting executable or configuration files.
Affected Systems
The vulnerability impacts Gleam versions from 1.9.0‑rc1 through the release just before 1.15.4, and from 1.16.0‑rc1 through the release just before 1.16.0‑rc2. Users of these compiler releases who resolve git dependencies—whether directly or via transitive dependencies—are at risk. No specific operating system or environment is singled out; the flaw is confined to the Gleam build tool.
Risk and Exploitability
The CVSS score of 8.3 indicates high severity, and the very low EPSS score (<1%) suggests modest current exploitation rates. The flaw is not listed in the CISA KEV catalog, reflecting limited public exploitation data. Attackers would likely need to place malicious git dependencies in a Gleam project’s configuration or supply a subjectively controlled repository, implying that privileged build environments or scripts that automatically resolve dependencies present the primary attack surface.