Skip to main content

Gleam

3 CVEs product

Monthly

CVE-2026-59247 Jul 29, 14:24 HIGH PATCH This Week

Package integrity bypass in the Gleam build tool (compiler-cli) versions 0.18.0 up to 1.18.0 lets an adversary-in-the-middle substitute forged Hex dependency contents during resolution. Although Gleam fetches signature-verified registry metadata, gleam_cli::dependencies::lookup_package instead recorded the SHA-256 outer_checksum and dependency names from a second, unsigned Hex API call into manifest.toml, so the forged tarball validates against its own forged checksum. Exploitation requires an attacker who can both perform TLS interception with a CA trusted by the Gleam process and modify the tarball; there is no public exploit identified at time of analysis and it is not in CISA KEV.

Information Disclosure Gleam
NVD GitHub VulDB
CVSS 4.0
7.6
EPSS
0.1%
CVE-2026-32146 Apr 11, 12:59 HIGH PATCH This Week

Path traversal in Gleam compiler versions 1.9.0-rc1 through 1.15.3 and 1.16.0-rc1 allows arbitrary file system modification when resolving git dependencies, enabling attackers to delete and overwrite directories outside the intended dependency folder via malicious dependency names containing relative or absolute paths. A user must invoke dependency download (e.g., gleam deps download) for exploitation; attackers can leverage this to cause data loss or achieve code execution by overwriting git hooks or shell configuration files. Vendor-released patches are available.

RCE Path Traversal Gleam
NVD GitHub VulDB
CVSS 4.0
8.3
EPSS
0.0%
CVE-2026-103061 Oct 12, 18:23 MEDIUM PATCH This Month

The Gleam build tool (versions 0.32.4 up to but not including 1.19.2) derives the on-disk build directory for each dependency from the Hex release metadata 'app' (OTP application name) field without validating it, so a malicious package publisher could set that field to a traversal or absolute path such as ../../../../target and cause Gleam to delete an arbitrary directory outside the project build tree. The deletion happens only in the dependency-failure cleanup path: when a dependency fails to compile, Gleam calls remove_dir_all on the resolved build directory, meaning the attacker-controlled package must fail to build and the developer must actively run gleam build, check, run, test, or export (CVSS 4.0 5.9; assessed CVSS 3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H). Impact is limited to availability (data/directory loss) - no attacker code runs, even for what appears to be a pure Gleam package - and there is no public exploit identified at time of analysis; the vendor has released fixes.

Path Traversal Gleam
NVD GitHub
CVSS 4.0
5.9
EPSS
0.4%
EPSS 0% CVSS 7.6
HIGH PATCH This Week

Package integrity bypass in the Gleam build tool (compiler-cli) versions 0.18.0 up to 1.18.0 lets an adversary-in-the-middle substitute forged Hex dependency contents during resolution. Although Gleam fetches signature-verified registry metadata, gleam_cli::dependencies::lookup_package instead recorded the SHA-256 outer_checksum and dependency names from a second, unsigned Hex API call into manifest.toml, so the forged tarball validates against its own forged checksum. Exploitation requires an attacker who can both perform TLS interception with a CA trusted by the Gleam process and modify the tarball; there is no public exploit identified at time of analysis and it is not in CISA KEV.

Information Disclosure Gleam
NVD GitHub VulDB
EPSS 0% CVSS 8.3
HIGH PATCH This Week

Path traversal in Gleam compiler versions 1.9.0-rc1 through 1.15.3 and 1.16.0-rc1 allows arbitrary file system modification when resolving git dependencies, enabling attackers to delete and overwrite directories outside the intended dependency folder via malicious dependency names containing relative or absolute paths. A user must invoke dependency download (e.g., gleam deps download) for exploitation; attackers can leverage this to cause data loss or achieve code execution by overwriting git hooks or shell configuration files. Vendor-released patches are available.

RCE Path Traversal Gleam
NVD GitHub VulDB
EPSS 0% CVSS 5.9
MEDIUM PATCH This Month

The Gleam build tool (versions 0.32.4 up to but not including 1.19.2) derives the on-disk build directory for each dependency from the Hex release metadata 'app' (OTP application name) field without validating it, so a malicious package publisher could set that field to a traversal or absolute path such as ../../../../target and cause Gleam to delete an arbitrary directory outside the project build tree. The deletion happens only in the dependency-failure cleanup path: when a dependency fails to compile, Gleam calls remove_dir_all on the resolved build directory, meaning the attacker-controlled package must fail to build and the developer must actively run gleam build, check, run, test, or export (CVSS 4.0 5.9; assessed CVSS 3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H). Impact is limited to availability (data/directory loss) - no attacker code runs, even for what appears to be a pure Gleam package - and there is no public exploit identified at time of analysis; the vendor has released fixes.

Path Traversal Gleam
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy