{"affected":[{"defaultStatus":"unaffected","ecosystem":"software-id","packageName":"gleam","product":"Gleam","source":"CNA: EEF","vendor":"Gleam","versions":[{"lessThan":"1.15.4","status":"affected","version":"1.9.0-rc1","versionType":"semver"},{"lessThan":"1.16.0-rc2","status":"affected","version":"1.16.0-rc1","versionType":"semver"}]},{"defaultStatus":"unaffected","ecosystem":"oci","packageName":"gleam-lang/gleam","product":"Gleam","source":"CNA: EEF","vendor":"Gleam","versions":[{"lessThan":"v1.15.4-elixir","status":"affected","version":"v1.9.0-rc1-elixir","versionType":"other"},{"lessThan":"v1.15.4-erlang","status":"affected","version":"v1.9.0-rc1-erlang","versionType":"other"},{"lessThan":"v1.15.4-node","status":"affected","version":"v1.9.0-rc1-node","versionType":"other"},{"lessThan":"v1.15.4-node-slim","status":"affected","version":"v1.9.0-rc1-node-slim","versionType":"other"},{"lessThan":"v1.15.4-elixir-slim","status":"affected","version":"v1.9.0-rc1-elixir-slim","versionType":"other"},{"lessThan":"v1.15.4-erlang-slim","status":"affected","version":"v1.9.0-rc1-erlang-slim","versionType":"other"},{"lessThan":"v1.15.4-erlang-alpine","status":"affected","version":"v1.9.0-rc1-erlang-alpine","versionType":"other"},{"lessThan":"v1.15.4-elixir-alpine","status":"affected","version":"v1.9.0-rc1-elixir-alpine","versionType":"other"},{"lessThan":"v1.15.4-node-alpine","status":"affected","version":"v1.9.0-rc1-node-alpine","versionType":"other"},{"lessThan":"v1.15.4-scratch","status":"affected","version":"v1.9.0-rc1-scratch","versionType":"other"},{"lessThan":"v1.16.0-rc2-elixir","status":"affected","version":"v1.16.0-rc1-elixir","versionType":"other"},{"lessThan":"v1.16.0-rc2-erlang","status":"affected","version":"v1.16.0-rc1-erlang","versionType":"other"},{"lessThan":"v1.16.0-rc2-node","status":"affected","version":"v1.16.0-rc1-node","versionType":"other"},{"lessThan":"v1.16.0-rc2-node-slim","status":"affected","version":"v1.16.0-rc1-node-slim","versionType":"other"},{"lessThan":"v1.16.0-rc2-elixir-slim","status":"affected","version":"v1.16.0-rc1-elixir-slim","versionType":"other"},{"lessThan":"v1.16.0-rc2-erlang-slim","status":"affected","version":"v1.16.0-rc1-erlang-slim","versionType":"other"},{"lessThan":"v1.16.0-rc2-erlang-alpine","status":"affected","version":"v1.16.0-rc1-erlang-alpine","versionType":"other"},{"lessThan":"v1.16.0-rc2-elixir-alpine","status":"affected","version":"v1.16.0-rc1-elixir-alpine","versionType":"other"},{"lessThan":"v1.16.0-rc2-node-alpine","status":"affected","version":"v1.16.0-rc1-node-alpine","versionType":"other"},{"lessThan":"v1.16.0-rc2-scratch","status":"affected","version":"v1.16.0-rc1-scratch","versionType":"other"}]},{"defaultStatus":"unaffected","ecosystem":"github","packageName":"gleam-lang/gleam","product":"Gleam","source":"CNA: EEF","vendor":"Gleam","versions":[{"changes":[{"at":"2dc0467f822c75de94697a912755d172928ee40a","status":"unaffected"},{"at":"92aae3913570e8d8962f6399404777d313045bfa","status":"unaffected"}],"lessThan":"*","status":"affected","version":"a4fde22445ab8e5cc79c2ff48971616cb570702c","versionType":"git"}]},{"defaultStatus":"unaffected","ecosystem":"https://access.redhat.com/downloads/content/package-browser/","packageName":"firefox","product":"Red Hat Enterprise Linux 10","source":"ADP: redhat-SADP","vendor":"Red Hat","versions":[]},{"defaultStatus":"unaffected","ecosystem":"https://access.redhat.com/downloads/content/package-browser/","packageName":"gjs","product":"Red Hat Enterprise Linux 10","source":"ADP: redhat-SADP","vendor":"Red Hat","versions":[]},{"defaultStatus":"unaffected","ecosystem":"https://access.redhat.com/downloads/content/package-browser/","packageName":"thunderbird","product":"Red Hat Enterprise Linux 10","source":"ADP: redhat-SADP","vendor":"Red Hat","versions":[]},{"defaultStatus":"unaffected","ecosystem":"https://access.redhat.com/downloads/content/package-browser/","packageName":"firefox","product":"Red Hat Enterprise Linux 7","source":"ADP: redhat-SADP","vendor":"Red Hat","versions":[]},{"defaultStatus":"unaffected","ecosystem":"https://access.redhat.com/downloads/content/package-browser/","packageName":"firefox","product":"Red Hat Enterprise Linux 8","source":"ADP: redhat-SADP","vendor":"Red Hat","versions":[]},{"defaultStatus":"unaffected","ecosystem":"https://access.redhat.com/downloads/content/package-browser/","packageName":"mozjs60","product":"Red Hat Enterprise Linux 8","source":"ADP: redhat-SADP","vendor":"Red Hat","versions":[]},{"defaultStatus":"unaffected","ecosystem":"https://access.redhat.com/downloads/content/package-browser/","packageName":"thunderbird","product":"Red Hat Enterprise Linux 8","source":"ADP: redhat-SADP","vendor":"Red Hat","versions":[]},{"defaultStatus":"unaffected","ecosystem":"https://access.redhat.com/downloads/content/package-browser/","packageName":"firefox","product":"Red Hat Enterprise Linux 9","source":"ADP: redhat-SADP","vendor":"Red Hat","versions":[]},{"defaultStatus":"unaffected","ecosystem":"https://access.redhat.com/downloads/content/package-browser/","packageName":"gjs","product":"Red Hat Enterprise Linux 9","source":"ADP: redhat-SADP","vendor":"Red Hat","versions":[]},{"defaultStatus":"unaffected","ecosystem":"https://access.redhat.com/downloads/content/package-browser/","packageName":"thunderbird","product":"Red Hat Enterprise Linux 9","source":"ADP: redhat-SADP","vendor":"Red Hat","versions":[]}],"cpeConfigurations":[{"negate":false,"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:lpil:gleam:*:*:*:*:*:*:*:*","versionEndExcluding":"1.15.4","versionStartIncluding":"1.9.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"OR"}],"cveId":"CVE-2026-32146","cwes":["CWE-22"],"description":"Improper path validation vulnerability in the Gleam compiler's handling of git dependencies allows arbitrary file system modification during dependency download.\n\nDependency 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.\n\nThis 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.\n\nThis issue affects gleam: from 1.9.0-rc1 before 1.15.4 and from 1.16.0-rc1 before 1.16.0-rc2.","epss":{"date":"2026-11-10","percentile":0.15672,"score":0.00244},"exploits":[{"kind":"exploit","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","url":"https://github.com/gleam-lang/gleam/security/advisories/GHSA-vq5j-55vx-wq8j"}],"kev":null,"metrics":[{"score":8.3,"severity":"high","source":"CNA: EEF","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H","version":"4.0"},{"score":8.6,"severity":"high","source":"ADP: redhat-SADP","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},{"score":8.3,"severity":"high","source":"NVD: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"score":7.8,"severity":"high","source":"NVD: nvd@nist.gov","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"score":8.6,"severity":"high","source":"NVD: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1794406424294,"publishedAt":1775912362911,"references":[{"source":"CNA: EEF","tags":["vendor-advisory","related"],"url":"https://github.com/gleam-lang/gleam/security/advisories/GHSA-vq5j-55vx-wq8j"},{"source":"CNA: EEF","tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-32146.html"},{"source":"CNA: EEF","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-32146"},{"source":"CNA: EEF","tags":["patch"],"url":"https://github.com/gleam-lang/gleam/commit/1aa5d8e594b0aa240bb213fce6ee19c65e6d5bcf"},{"source":"CNA: EEF","tags":["related"],"url":"https://github.com/gleam-lang/gleam/commit/a4fde22445ab8e5cc79c2ff48971616cb570702c"},{"source":"CNA: EEF","tags":["patch"],"url":"https://github.com/gleam-lang/gleam/commit/2dc0467f822c75de94697a912755d172928ee40a"},{"source":"CNA: EEF","tags":["patch"],"url":"https://github.com/gleam-lang/gleam/commit/92aae3913570e8d8962f6399404777d313045bfa"},{"source":"ADP: redhat-SADP","tags":["vdb-entry","x_refsource_REDHAT"],"url":"https://access.redhat.com/security/cve/CVE-2026-32146"},{"source":"ADP: redhat-SADP","tags":["issue-tracking","x_refsource_REDHAT"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2457578"},{"source":"ADP: redhat-SADP","tags":["x_sadp-csaf-vex"],"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32146.json"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":["Third Party Advisory"],"url":"https://cna.erlef.org/cves/CVE-2026-32146.html"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":["Patch"],"url":"https://github.com/gleam-lang/gleam/commit/1aa5d8e594b0aa240bb213fce6ee19c65e6d5bcf"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":["Patch"],"url":"https://github.com/gleam-lang/gleam/commit/2dc0467f822c75de94697a912755d172928ee40a"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"url":"https://github.com/gleam-lang/gleam/commit/92aae3913570e8d8962f6399404777d313045bfa"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"url":"https://github.com/gleam-lang/gleam/commit/a4fde22445ab8e5cc79c2ff48971616cb570702c"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":["Exploit","Vendor Advisory"],"url":"https://github.com/gleam-lang/gleam/security/advisories/GHSA-vq5j-55vx-wq8j"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":["Third Party Advisory"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-32146"},{"source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","tags":[],"url":"https://access.redhat.com/security/cve/CVE-2026-32146"},{"source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","tags":[],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2457578"},{"source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","tags":[],"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32146.json"}],"remediation":[{"kind":"fix","source":"CNA: EEF","text":"Upgrade to Gleam 1.15.4 or later.\n\nBoth patches must be applied: the original incomplete fix (1aa5d8e594b0aa240bb213fce6ee19c65e6d5bcf, backported as 55bb36e6d7febfbbc48c4d001e0ae13eb0312d78 to 1.15) and the follow-up fix (2dc0467f822c75de94697a912755d172928ee40a, backported as 92aae3913570e8d8962f6399404777d313045bfa to 1.15). Gleam 1.15.4 includes both."},{"kind":"workaround","source":"CNA: EEF","text":"* Avoid using untrusted git dependencies, especially without pinning to a specific commit SHA\n* Review dependency trees carefully, including transitive git dependencies\n* Run dependency resolution commands in a restricted or isolated environment (e.g. containers)"},{"kind":"fix","source":"CNA: EEF","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/gleam-lang/gleam/commit/1aa5d8e594b0aa240bb213fce6ee19c65e6d5bcf"},{"kind":"fix","source":"CNA: EEF","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/gleam-lang/gleam/commit/2dc0467f822c75de94697a912755d172928ee40a"},{"kind":"fix","source":"CNA: EEF","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/gleam-lang/gleam/commit/92aae3913570e8d8962f6399404777d313045bfa"},{"kind":"fix","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/gleam-lang/gleam/commit/1aa5d8e594b0aa240bb213fce6ee19c65e6d5bcf"},{"kind":"fix","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/gleam-lang/gleam/commit/2dc0467f822c75de94697a912755d172928ee40a"}],"revision":"ebaeec239a3887ff593c82c84650c45f283d27df700d9aecd2e4fcad342c0e35","sources":[{"modifiedAt":1794406424294,"name":"CNA: EEF","retrievedAt":1794409732333,"url":"https://www.cve.org/CVERecord?id=CVE-2026-32146"},{"modifiedAt":1794334656507,"name":"NVD","retrievedAt":1794356145770,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32146"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1794334380100,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-32146"}],"ssvc":{"assessedAt":1776102279043,"automatable":"no","exploitation":"poc","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"Improper Path Validation in Git Dependency Handling Allows Arbitrary File System Modification","updatedAt":1794409732333}