{"vuln_id":"GHSA-jqvf-f6p2-wrv3","aliases":[],"description":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-11-21T19:15:46.263271Z","severity":"unknown","severity_source":null,"cvss_score":null,"cvss_vector":null,"cwe":[],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-jqvf-f6p2-wrv3"},"matched_alias":null,"items":[{"id":3178,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-43965: Path traversal vulnerability in Gleam's dependency management allows arbitrary directory deletion via malicious build/packages/packages.toml content. Package k…","summary":"Path traversal vulnerability in Gleam's dependency management allows arbitrary directory deletion via malicious build/packages/packages.toml content.\n\nPackage 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.\n\nAn 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.\n\nThis issue affects gleam: from 0.18.0-rc1 before 1.17.0.\n\nReferences:\nhttps://cna.erlef.org/cves/CVE-2026-43965.html\nhttps://github.com/gleam-lang/gleam/commit/690ca069817bee5f77a28fc3e360627c1da19291\nhttps://github.com/gleam-lang/gleam/commit/ed7aec0484f10d60978b63788c8a6497590855ab\nhttps://github.com/gleam-lang/gleam/security/advisories/GHSA-jqvf-f6p2-wrv3\nhttps://osv.dev/vulnerability/EEF-CVE-2026-43965\nhttps://github.com/gleam-lang/gleam/security/advisories/GHSA-jqvf-f6p2-wrv3","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43965","published_at":"2026-06-02T14:16:54.053000Z","updated_at":"2026-11-20T06:17:27.730000Z","fetched_at":"2026-11-21T19:15:31.478779Z","severity":"medium","cvss_score":5.6,"epss":0.00229,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-43965","vuln_ids":["CVE-2026-43965","GHSA-JQVF-F6P2-WRV3"],"tags":["CWE-22"],"cluster_id":3229,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3178","html":"https://vulnwatch.ve1ve2.com/item/3178"}}]}