جزئیات آسیب‌پذیری

CVE-2026-32146

Gleam Gleam

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

CVSS 4.0
8.3بالا

شرح رسمی (انگلیسی)

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 until 1.15.4.

امتیازهای CVSS

امتیازنسخهمنبعبردار
8.3بالا 4.0 CVEProject cvelistV5 (CNA) (EEF) 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
8.6بالا 3.1 CVEProject cvelistV5 (CNA) (redhat-SADP) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

محصولات آسیب‌پذیر

فروشندهمحصولنسخه‌هامنبع
Gleam Gleam 1.9.0-rc1 ≤ v CVEProject cvelistV5 (CNA)
Gleam Gleam 1.9.0-rc1 ≤ v CVEProject cvelistV5 (CNA)
Gleam Gleam a4fde22445ab8e5cc79c2ff48971616cb570702c ≤ v CVEProject cvelistV5 (CNA)
Gleam Gleam v1.9.0-rc1-elixir ≤ v < v1.15.4-elixir CVEProject cvelistV5 (CNA)
Gleam Gleam v1.9.0-rc1-elixir-alpine ≤ v < v1.15.4-elixir-alpine CVEProject cvelistV5 (CNA)
Gleam Gleam v1.9.0-rc1-elixir-slim ≤ v < v1.15.4-elixir-slim CVEProject cvelistV5 (CNA)
Gleam Gleam v1.9.0-rc1-erlang ≤ v < v1.15.4-erlang CVEProject cvelistV5 (CNA)
Gleam Gleam v1.9.0-rc1-erlang-alpine ≤ v < v1.15.4-erlang-alpine CVEProject cvelistV5 (CNA)
Gleam Gleam v1.9.0-rc1-erlang-slim ≤ v < v1.15.4-erlang-slim CVEProject cvelistV5 (CNA)
Gleam Gleam v1.9.0-rc1-node ≤ v < v1.15.4-node CVEProject cvelistV5 (CNA)
Gleam Gleam v1.9.0-rc1-node-alpine ≤ v < v1.15.4-node-alpine CVEProject cvelistV5 (CNA)
Gleam Gleam v1.9.0-rc1-node-slim ≤ v < v1.15.4-node-slim CVEProject cvelistV5 (CNA)
Gleam Gleam v1.9.0-rc1-scratch ≤ v < v1.15.4-scratch CVEProject cvelistV5 (CNA)

منابع و راهنماها

۸
هشدار CVEهای بعدی این محصولمحصول را دنبال کنید تا آسیب‌پذیری‌های تازه را در تلگرام بگیرید.

اطلاعات

تاریخ انتشار
۱۴۰۵/۰۱/۲۲
آخرین به‌روزرسانی
۱۴۰۵/۰۶/۱۷
وضعیت
منتشرشده
صادرکننده (CNA)
EEF

پیش‌بینی بهره‌برداری (EPSS)

۰٫۲۴٪
احتمال بهره‌برداری در ۳۰ روز
۱۵٫۶٪
صدک (نسبت به همه‌ی CVEها)

ارزیابی SSVC (CISA)

قابل خودکارسازی
خیر
وضعیت بهره‌برداری
اثبات مفهوم
اثر فنی
جزئی

ضعف‌ها (CWE)

  • CWE-22
    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')