PT-2026-110870

CVE-2026-103061

·

Published

2026-10-12

·

Updated

2026-11-06

Description by

CVSS 4.0
5.9
Medium
MetricsAV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions gleam versions 0.32.4 through 1.19.1
Description A path traversal issue exists where a malicious package publisher can cause the deletion of directories outside the project build directory. This occurs because Gleam reads the app field from the hex.pm release API and uses it as the package build directory name without proper validation. If a dependency fails to compile, Gleam uses the remove dir all function to delete the directory associated with that name. A publisher could set the app field to an absolute path or a relative path containing .. components to target arbitrary directories. This can be triggered by commands such as gleam build, gleam check, gleam run, gleam test, or gleam export when a project depends on a malicious release. The issue is specifically linked to the hex manifest package function in compiler-cli/src/dependencies.rs and the ProjectPaths::build directory for package function.
Recommendations Upgrade gleam to version 1.19.2 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-JHCR-C7QM-8589
OPENSUSE-SU-2026:12454-1
Found an issue in the description? Have something to add? Feel free to write us 👾