Résumé
Traversée de chemin dans Lpil (CVE-2026-32146). L'exploitation peut entraîner la prise de contrôle totale du système. Exploitable via gleam.toml.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Summary
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.
Workaround
- Avoid using untrusted git dependencies, especially without pinning to a specific commit SHA
- Review dependency trees carefully, including transitive git dependencies
- Run dependency resolution commands in…
Source: NIST National Vulnerability Database NVD GitHub Advisory
Résumé IA
Rédigé par une IA externe ; il peut contenir des erreurs. Vérifiez la description d'origine et les références ci-dessous avant d'agir.
Une vulnérabilité référencée CVE-2026-32146 a été découverte dans lpil.
Des attaquants peuvent cibler un point d'entrée spécifique comme gleam.toml à distance pour détourner le produit.
L'exploitation peut entraîner la prise de contrôle totale du système. Score CVSS : 7.8/10.
Action : appliquez le correctif officiel de l'éditeur.
En cas de doute, contactez votre service informatique ou cherchez « lpil CVE-2026-32146 » sur le site de l'éditeur.
CVE-2026-32146 (lpil) — CWE-22 / CVSS v3 7.8
Vecteur d'attaque : local / non authentifié
Surface d'attaque : gleam.toml / manifest.toml
Versions affectées : >= 1.9.0-rc1 and < 1.15.4
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Gleamコンパイラのgit依存関係における不適切なパス検証による任意ファイルシステム改ざんの脆弱性。
Gleam 1.9.0-rc1から1.15.4のバージョン。
不正なファイルシステム操作が可能で、最悪の場合コード実行につながる可能性がある。
Gleamのバージョンを1.15.5以降にアップグレードしてください。
情報なし
Gleamコンパイラの使用バージョンを確認し、影響を受けるバージョンであるかどうかを監査する。
Références
- advisory cna.erlef.org
- advisory osv.dev
- exploit github.com
- patch github.com
- patch github.com
- web access.redhat.com
- web bugzilla.redhat.com
- web security.access.redhat.com