kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-32146 Improper Path Validation in Git Dependency Handling Allows Arbitrary File System Modification

설명

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.

영향 받는 제품 제품 1개

  • Gleam

    Gleam

    해결 버전 있음

    영향 받는 버전

    • v1.9.0-rc1-elixir 이상 v1.15.4-elixir 미만
    • v1.9.0-rc1-erlang 이상 v1.15.4-erlang 미만
    • v1.9.0-rc1-node 이상 v1.15.4-node 미만
    • v1.9.0-rc1-node-slim 이상 v1.15.4-node-slim 미만
    • v1.9.0-rc1-elixir-slim 이상 v1.15.4-elixir-slim 미만
    • v1.9.0-rc1-erlang-slim 이상 v1.15.4-erlang-slim 미만
    • v1.9.0-rc1-erlang-alpine 이상 v1.15.4-erlang-alpine 미만
    • v1.9.0-rc1-elixir-alpine 이상 v1.15.4-elixir-alpine 미만
    외 14개 구간 펼치기
    • v1.9.0-rc1-node-alpine 이상 v1.15.4-node-alpine 미만
    • v1.9.0-rc1-scratch 이상 v1.15.4-scratch 미만
    • v1.16.0-rc1-elixir 이상 v1.16.0-rc2-elixir 미만
    • v1.16.0-rc1-erlang 이상 v1.16.0-rc2-erlang 미만
    • v1.16.0-rc1-node 이상 v1.16.0-rc2-node 미만
    • v1.16.0-rc1-node-slim 이상 v1.16.0-rc2-node-slim 미만
    • v1.16.0-rc1-elixir-slim 이상 v1.16.0-rc2-elixir-slim 미만
    • v1.16.0-rc1-erlang-slim 이상 v1.16.0-rc2-erlang-slim 미만
    • v1.16.0-rc1-erlang-alpine 이상 v1.16.0-rc2-erlang-alpine 미만
    • v1.16.0-rc1-elixir-alpine 이상 v1.16.0-rc2-elixir-alpine 미만
    • v1.16.0-rc1-node-alpine 이상 v1.16.0-rc2-node-alpine 미만
    • v1.16.0-rc1-scratch 이상 v1.16.0-rc2-scratch 미만
    • 1.9.0-rc1 이상 1.15.4 미만
    • 1.16.0-rc1 이상 1.16.0-rc2 미만

    해결 버전

    • v1.15.4-elixir 이상
    • v1.15.4-erlang 이상
    • v1.15.4-node 이상
    • v1.15.4-node-slim 이상
    • v1.15.4-elixir-slim 이상
    • v1.15.4-erlang-slim 이상
    • v1.15.4-erlang-alpine 이상
    • v1.15.4-elixir-alpine 이상
    외 14개 구간 펼치기
    • v1.15.4-node-alpine 이상
    • v1.15.4-scratch 이상
    • v1.16.0-rc2-elixir 이상
    • v1.16.0-rc2-erlang 이상
    • v1.16.0-rc2-node 이상
    • v1.16.0-rc2-node-slim 이상
    • v1.16.0-rc2-elixir-slim 이상
    • v1.16.0-rc2-erlang-slim 이상
    • v1.16.0-rc2-erlang-alpine 이상
    • v1.16.0-rc2-elixir-alpine 이상
    • v1.16.0-rc2-node-alpine 이상
    • v1.16.0-rc2-scratch 이상
    • 1.15.4 이상
    • 1.16.0-rc2 이상

참고 자료 7건

‹ 목록

점검 지원 범위 문의

도입 문의