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-103061

published medium CVSS 4.0 · 5.9

Path traversal in Gleam via unvalidated package application names

Published
12 Oct 2026, 18:23:41 UTC
Updated
20 Nov 2026, 06:00:54 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Gleam — gleam-lang/gleamGleam · v0.32.4-elixir to < v1.19.2-elixir · v0.32.4-erlang to < v1.19.2-erlang · v0.32.4-node to < v1.19.2-node · v0.32.4-node-slim to < v1.19.2-node-slim · v0.32.4-elixir-slim to < v1.19.2-elixir-slim · v0.32.4-erlang-slim to < v1.19.2-erlang-slim · v0.32.4-erlang-alpine to < v1.19.2-erlang-alpine · v0.32.4-elixir-alpine to < v1.19.2-elixir-alpine · v0.32.4-node-alpine to < v1.19.2-node-alpine · v0.32.4-scratch to < v1.19.2-scratch · Other versions: unaffected Affected Not stated EEF
Gleam — gleamGleam · 0.32.4 to < 1.19.2 · Other versions: unaffected Affected Not stated EEF
Gleam — gleam-lang/gleamGleam · d13f27ee80aae7a521d2e9433c4deaf53f892574 and later (affected · git); changes: unaffected at 54bbb2b98af1505b6eed93c45b1936fc76412e5c, unaffected at d15c981fac6e533d70ac8ee89a6ef4dbf139adc3 · Other versions: unaffected Version-specific Not stated EEF
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
SUSE / openSUSE openSUSE-Leap-16.1 gleamaarch64 Advisory build 1.19.2-bp161.1.1 OPENSUSE-SU-2026:22361-1
SUSE / openSUSE openSUSE-Leap-16.1 gleamx86_64 Advisory build 1.19.2-bp161.1.1 OPENSUSE-SU-2026:22361-1
SUSE / openSUSE openSUSE-Tumbleweed gleamaarch64 Advisory build 1.19.2-1.1 OPENSUSE-SU-2026:12454-1
Show 3 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed gleamppc64le Advisory build 1.19.2-1.1 OPENSUSE-SU-2026:12454-1
SUSE / openSUSE openSUSE-Tumbleweed gleams390x Advisory build 1.19.2-1.1 OPENSUSE-SU-2026:12454-1
SUSE / openSUSE openSUSE-Tumbleweed gleamx86_64 Advisory build 1.19.2-1.1 OPENSUSE-SU-2026:12454-1

Description

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in gleam-lang gleam allows a malicious package publisher to delete a directory outside the project's build directory when a developer builds a project. A Hex package release's metadata carries an app field with the release's OTP application name. Gleam reads this field from the hex.pm release API when it downloads dependencies and uses it as the package's build directory name without validating it (hex_manifest_package in compiler-cli/src/dependencies.rs, ProjectPaths::build_directory_for_package). When a dependency fails to compile, Gleam deletes that directory with remove_dir_all. hex.pm didn't restrict the field to a directory name before 2026-10-12, so a publisher could set it to a value such as ../../../../target or an absolute path. When a project depends on such a release directly or transitively and the release fails to compile, gleam build, gleam check, gleam run, gleam test or gleam export deletes the directory the name resolves to. For a pure Gleam package no publisher code runs. This issue affects gleam: from 0.32.4 before 1.19.2.

en · EEF · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
5.9 / 10
Severity
medium
Provider
EEF · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Gleam Gleam v0.32.4-elixir to < v1.19.2-elixir (affected · other)v0.32.4-erlang to < v1.19.2-erlang (affected · other)v0.32.4-node to < v1.19.2-node (affected · other)v0.32.4-node-slim to < v1.19.2-node-slim (affected · other)v0.32.4-elixir-slim to < v1.19.2-elixir-slim (affected · other)v0.32.4-erlang-slim to < v1.19.2-erlang-slim (affected · other)v0.32.4-erlang-alpine to < v1.19.2-erlang-alpine (affected · other)v0.32.4-elixir-alpine to < v1.19.2-elixir-alpine (affected · other)v0.32.4-node-alpine to < v1.19.2-node-alpine (affected · other)v0.32.4-scratch to < v1.19.2-scratch (affected · other)Default: unaffected EEF · cna
Gleam Gleam 0.32.4 to < 1.19.2 (affected · semver)Default: unaffected EEF · cna
Gleam Gleam d13f27ee80aae7a521d2e9433c4deaf53f892574 and later (affected · git); changes: unaffected at 54bbb2b98af1505b6eed93c45b1936fc76412e5c, unaffected at d15c981fac6e533d70ac8ee89a6ef4dbf139adc3Default: unaffected EEF · cna

Weaknesses

1
  • CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory (EEF · cna)

References

6

Provider assertions

2

EEF · cna

Path traversal in Gleam via unvalidated package application names

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
8ba9da4466e61da3e3e75e6b0c75405fd1f0e188d41853cd683ea45a9b33d90e
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