CVE-2026-32146
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2026
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Gleam
- Vendor
- Gleam
- Product
- Gleam
- Platforms
- Unknown
- Default status
unaffected- Package
- gleam
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 1.9.0-rc1 | affected | semver | * | Unavailable |
|
Gleam
- Vendor
- Gleam
- Product
- Gleam
- Platforms
- Unknown
- Default status
unaffected- Package
- gleam-lang/gleam
- Package collection
- https://github.com
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 1.9.0-rc1 | affected | semver | * | Unavailable |
|
| a4fde22445ab8e5cc79c2ff48971616cb570702c | affected | git | * | Unavailable |
|
Gleam
- Vendor
- Gleam
- Product
- Gleam
- Platforms
- Unknown
- Default status
unaffected- Package
- gleam-lang/gleam
- Package collection
- https://ghcr.io
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| v1.9.0-rc1-elixir | affected | other | v1.15.4-elixir | Unavailable | None listed |
| v1.9.0-rc1-erlang | affected | other | v1.15.4-erlang | Unavailable | None listed |
| v1.9.0-rc1-node | affected | other | v1.15.4-node | Unavailable | None listed |
| v1.9.0-rc1-node-slim | affected | other | v1.15.4-node-slim | Unavailable | None listed |
| v1.9.0-rc1-elixir-slim | affected | other | v1.15.4-elixir-slim | Unavailable | None listed |
| v1.9.0-rc1-erlang-slim | affected | other | v1.15.4-erlang-slim | Unavailable | None listed |
| v1.9.0-rc1-erlang-alpine | affected | other | v1.15.4-erlang-alpine | Unavailable | None listed |
| v1.9.0-rc1-elixir-alpine | affected | other | v1.15.4-elixir-alpine | Unavailable | None listed |
| v1.9.0-rc1-node-alpine | affected | other | v1.15.4-node-alpine | Unavailable | None listed |
| v1.9.0-rc1-scratch | affected | other | v1.15.4-scratch | Unavailable | None listed |