cveboard RSS feed

CVE-2026-43965

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2026
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

Path Traversal in build/packages/packages.toml Allows Arbitrary Directory Deletion

Path traversal vulnerability in Gleam's dependency management allows arbitrary directory deletion via malicious build/packages/packages.toml content. Package keys read from build/packages/packages.toml by LocalPackages::read_from_disc are passed without validation to paths.build_packages_package(), which constructs a filesystem path by joining the project build directory with the attacker-controlled key. The resulting path is then passed to fs::delete_directory (which calls remove_dir_all). No check is performed to ensure the path remains within the intended build/packages/ directory. Both absolute paths and relative traversal sequences (e.g. ../) are accepted as package keys, allowing deletion of arbitrary directories. An attacker who can cause a victim to run gleam deps download on a project containing a malicious build/packages/packages.toml (e.g. by committing the normally-gitignored file to a repository) can cause arbitrary directories on the victim's system to be recursively deleted. This issue affects Gleam from 0.18.0-rc1 until 1.17.0.

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
Gleam · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
0.18.0-rc1affectedsemver1.17.0UnavailableNone listed

Gleam

Vendor
Gleam
Product
Gleam
Platforms
Unknown
Default status
unaffected
Package
gleam-lang/gleam
Package collection
https://github.com
Gleam · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
0.18.0-rc1affectedsemver1.17.0UnavailableNone listed
ed7aec0484f10d60978b63788c8a6497590855abaffectedgit690ca069817bee5f77a28fc3e360627c1da19291UnavailableNone listed

Gleam

Vendor
Gleam
Product
Gleam
Platforms
Unknown
Default status
unaffected
Package
gleam-lang/gleam
Package collection
https://ghcr.io
Gleam · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
v0.18.0-rc1-elixiraffectedotherv1.17.0-elixirUnavailableNone listed
v0.18.0-rc1-erlangaffectedotherv1.17.0-erlangUnavailableNone listed
v0.18.0-rc1-nodeaffectedotherv1.17.0-nodeUnavailableNone listed
v0.18.0-rc1-node-slimaffectedotherv1.17.0-node-slimUnavailableNone listed
v0.18.0-rc1-elixir-slimaffectedotherv1.17.0-elixir-slimUnavailableNone listed
v0.18.0-rc1-erlang-slimaffectedotherv1.17.0-erlang-slimUnavailableNone listed
v0.18.0-rc1-erlang-alpineaffectedotherv1.17.0-erlang-alpineUnavailableNone listed
v0.18.0-rc1-elixir-alpineaffectedotherv1.17.0-elixir-alpineUnavailableNone listed
v0.18.0-rc1-node-alpineaffectedotherv1.17.0-node-alpineUnavailableNone listed
v0.18.0-rc1-scratchaffectedotherv1.17.0-scratchUnavailableNone listed