PT-2026-110870 · Gleam · Gleam

·

CVE-2026-103061

·

تاريخ النشر

2026-10-12

·

تاريخ التحديث

2026-10-12

CVSS v4.0

5.9

متوسطة

المتجهAV: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.

استغلال

إصلاح

Path traversal

وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾

تصنيف نقاط الضعف

المعرّفات ذات الصلة

CVE-2026-103061
GHSA-JHCR-C7QM-8589

المنتجات المتأثرة

Gleam