Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-32146

published high CVSS 4.0 · 8.3

Improper Path Validation in Git Dependency Handling Allows Arbitrary File System Modification

Published
11 Apr 2026, 12:59:22 UTC
Updated
20 Nov 2026, 05:59:35 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Gleam — gleam-lang/gleamGleam · v1.9.0-rc1-elixir to < v1.15.4-elixir · v1.9.0-rc1-erlang to < v1.15.4-erlang · v1.9.0-rc1-node to < v1.15.4-node · v1.9.0-rc1-node-slim to < v1.15.4-node-slim · v1.9.0-rc1-elixir-slim to < v1.15.4-elixir-slim · v1.9.0-rc1-erlang-slim to < v1.15.4-erlang-slim · v1.9.0-rc1-erlang-alpine to < v1.15.4-erlang-alpine · v1.9.0-rc1-elixir-alpine to < v1.15.4-elixir-alpine · v1.9.0-rc1-node-alpine to < v1.15.4-node-alpine · v1.9.0-rc1-scratch to < v1.15.4-scratch · v1.16.0-rc1-elixir to < v1.16.0-rc2-elixir · v1.16.0-rc1-erlang to < v1.16.0-rc2-erlang · v1.16.0-rc1-node to < v1.16.0-rc2-node · v1.16.0-rc1-node-slim to < v1.16.0-rc2-node-slim · v1.16.0-rc1-elixir-slim to < v1.16.0-rc2-elixir-slim · v1.16.0-rc1-erlang-slim to < v1.16.0-rc2-erlang-slim · v1.16.0-rc1-erlang-alpine to < v1.16.0-rc2-erlang-alpine · v1.16.0-rc1-elixir-alpine to < v1.16.0-rc2-elixir-alpine · v1.16.0-rc1-node-alpine to < v1.16.0-rc2-node-alpine · v1.16.0-rc1-scratch to < v1.16.0-rc2-scratch · Other versions: unaffected Affected Not stated EEF
Gleam — gleamGleam · 1.9.0-rc1 to < 1.15.4 · 1.16.0-rc1 to < 1.16.0-rc2 · Other versions: unaffected Affected Not stated EEF
Gleam — gleam-lang/gleamGleam · a4fde22445ab8e5cc79c2ff48971616cb570702c and later (affected · git); changes: unaffected at 2dc0467f822c75de94697a912755d172928ee40a, unaffected at 92aae3913570e8d8962f6399404777d313045bfa · Other versions: unaffected Version-specific Not stated EEF
Red Hat Enterprise Linux 7, 8, 9, 10 firefox Unaffected Not required redhat-SADP
Red Hat Enterprise Linux 9, 10 gjs Unaffected Not required redhat-SADP
Red Hat Enterprise Linux 8, 9, 10 thunderbird Unaffected Not required redhat-SADP
Red Hat Enterprise Linux 8 mozjs60 Unaffected Not required redhat-SADP

Description

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 before 1.15.4 and from 1.16.0-rc1 before 1.16.0-rc2.

en · EEF · cna

en · redhat-SADP · adp

A flaw was found in the Gleam compiler. A malicious direct or transitive git dependency can exploit an improper path validation vulnerability in the Gleam compiler's handling of git dependencies during dependency download. This allows for arbitrary file system modification, including the deletion and creation of directories outside the intended dependency directory, potentially leading to data loss. In certain environments, this could be further leveraged to achieve arbitrary code execution.

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
8.3 / 10
Severity
high
Provider
EEF · cna
Vector string
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
Scenarios
en: GENERAL

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 8.6 high redhat-SADP · adp CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Gleam Gleam v1.9.0-rc1-elixir to < v1.15.4-elixir (affected · other)v1.9.0-rc1-erlang to < v1.15.4-erlang (affected · other)v1.9.0-rc1-node to < v1.15.4-node (affected · other)v1.9.0-rc1-node-slim to < v1.15.4-node-slim (affected · other)v1.9.0-rc1-elixir-slim to < v1.15.4-elixir-slim (affected · other)v1.9.0-rc1-erlang-slim to < v1.15.4-erlang-slim (affected · other)v1.9.0-rc1-erlang-alpine to < v1.15.4-erlang-alpine (affected · other)v1.9.0-rc1-elixir-alpine to < v1.15.4-elixir-alpine (affected · other)v1.9.0-rc1-node-alpine to < v1.15.4-node-alpine (affected · other)v1.9.0-rc1-scratch to < v1.15.4-scratch (affected · other)v1.16.0-rc1-elixir to < v1.16.0-rc2-elixir (affected · other)v1.16.0-rc1-erlang to < v1.16.0-rc2-erlang (affected · other)v1.16.0-rc1-node to < v1.16.0-rc2-node (affected · other)v1.16.0-rc1-node-slim to < v1.16.0-rc2-node-slim (affected · other)v1.16.0-rc1-elixir-slim to < v1.16.0-rc2-elixir-slim (affected · other)v1.16.0-rc1-erlang-slim to < v1.16.0-rc2-erlang-slim (affected · other)v1.16.0-rc1-erlang-alpine to < v1.16.0-rc2-erlang-alpine (affected · other)v1.16.0-rc1-elixir-alpine to < v1.16.0-rc2-elixir-alpine (affected · other)v1.16.0-rc1-node-alpine to < v1.16.0-rc2-node-alpine (affected · other)v1.16.0-rc1-scratch to < v1.16.0-rc2-scratch (affected · other)Default: unaffected EEF · cna
Gleam Gleam 1.9.0-rc1 to < 1.15.4 (affected · semver)1.16.0-rc1 to < 1.16.0-rc2 (affected · semver)Default: unaffected EEF · cna
Gleam Gleam a4fde22445ab8e5cc79c2ff48971616cb570702c and later (affected · git); changes: unaffected at 2dc0467f822c75de94697a912755d172928ee40a, unaffected at 92aae3913570e8d8962f6399404777d313045bfaDefault: unaffected EEF · cna
Red Hat Red Hat Enterprise Linux 10 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 10 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 10 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 7 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 8 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 8 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 8 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 9 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 9 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 9 Default: unaffected redhat-SADP · adp

Weaknesses

2
  • CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory (EEF · cna)
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (redhat-SADP · adp)

References

10

Provider assertions

3

EEF · cna

Improper Path Validation in Git Dependency Handling Allows Arbitrary File System Modification

redhat-SADP · adp

gleam: Gleam compiler: Arbitrary file system modification and potential code execution via improper path validation in git dependency handling.

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
44246cf43bbfeed3ee502fc3fd4e0784cc7df80a4d65b78d2bc1478423132820
Ingested
20 Nov 2026, 06:18:48 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected