CVE-2026-43965Disclosure

LOWCVSS 5.6 · MEDIUM

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Track advisory updates for patch or workaround availability

Recommended action window: Monitor and triage in normal cycle

NVD description

Path traversal vulnerability in Gleam's dependency management allows arbitrary directory deletion via malicious build/packages/packages.toml content. Package keys read from build/packages/packages.toml by LocalPackages::read_from_disc are passed without validation to paths.build_packages_package(), which constructs a filesystem path by joining the project build directory with the attacker-controlled key. The resulting path is then passed to fs::delete_directory (which calls remove_dir_all). No check is performed to ensure the path remains within the intended build/packages/ directory. Both absolute paths and relative traversal sequences (e.g. ../) are accepted as package keys, allowing deletion of arbitrary directories. An attacker who can cause a victim to run gleam deps download on a project containing a malicious build/packages/packages.toml (e.g. by committing the normally-gitignored file to a repository) can cause arbitrary directories on the victim's system to be recursively deleted. This issue affects Gleam from 0.18.0-rc1 until 1.17.0.

0.0/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-22

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

NONE

Momentum

STABLE

Threat summary

  • 2 mentions across 2 observed days
  • Momentum state: stable

What's happening

  • Technical details provided in 1 signal
  • Disclosure: 1 classified signal
  • General: 1 classified signal
  • Peaked 1d ago at 1 mentions (2026-06-02); latest day: 1
  • 2 total mentions across 2 days

Deep dive

Activity timeline2 mentions / 2d
00111Mentions · 2026-06-02: 1Mentions · 2026-06-05: 1Technical Details · 2026-06-02: 106-0206-05
Signal classification2 categories
Disclosure
150.0%
General
150.0%
Referenced assets2 URLs
Classification over time
DateTotalLabels
2026-06-021
Disclosure1
2026-06-051
General1
Full discourse2 posts
  • こまもか🦊@Comamoca_
    General

    Gleam 1.17がリリースされたらしい escriptベースの単一実行可能ファイルを出力できるようになったり、色々機能が追加されてる ビックリしたのは、いつの間にかCVEが発行されるようになってることかな これで脆弱性の管理が出来るようになったから、より実運用へ近づける… https://nvd.nist.gov/vuln/detail/CVE-2026-43965

    Post summary

    The post announces the release of Gleam 1.17 and notes that CVE issuance is now enabled, but provides no technical or exploit details.

    00010417
    2.4K followersView on X
  • Vulmon Vulnerability Feed@VulmonFeeds
    Disclosure

    CVE-2026-43965 Path Traversal in Gleam Dependency Management Allows Arbitrary Directory Deletion https://vulmon.com/vulnerabilitydetails?qid=CVE-2026-43965

    Post summary

    A new path traversal vulnerability (CVE‑2026‑43965) in Gleam’s dependency manager can delete arbitrary directories; the post provides only the vulnerability detail and not PoC, exploit, or patch information.

    0000044
    4.0K followersView on X

Explore more