{"cve":"CVE-2026-24846","nvd":{"published":"2026-01-29T22:15:54.740","modified":"2026-06-17T10:23:41.710","status":"Analyzed","description":"malcontent discovers supply-chain compromises through. context, differential analysis, and YARA. Starting in version 1.8.0 and prior to version 1.20.3, malcontent could be made to create symlinks outside the intended extraction directory when scanning a specially crafted tar or deb archive. The `handleSymlink` function received arguments in the wrong order, causing the symlink target to be used as the symlink location. Additionally, symlink targets were not validated to ensure they resolved within the extraction directory. Version 1.20.3 introduces fixes that swap handleSymlink arguments, validate symlink location, and validate symlink targets that resolve within an extraction directory.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","score":5.0},"cwes":["CWE-22","CWE-683"],"references":["https://github.com/chainguard-dev/malcontent/commit/259fca5abc004f3ab238895463ef280a87f30e96","https://github.com/chainguard-dev/malcontent/commit/a7dd8a5328ddbaf235568437813efa7591e00017","https://github.com/chainguard-dev/malcontent/security/advisories/GHSA-923j-vrcg-hxwh"],"products":["chainguard:malcontent"],"source":"nvd","synced_at":"2026-10-19T22:22:27.261130201+00:00"},"epss":{"cve":"CVE-2026-24846","score":0.00187,"percentile":0.08299,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-923j-vrcg-hxwh","url":"https://osv.dev/vulnerability/GHSA-923j-vrcg-hxwh","summary":"malcontent vulnerable to symlink Path Traversal via handleSymlink argument confusion in archive extraction","modified":"2026-02-03T03:03:33.566595Z","packages":[{"ecosystem":"Go","name":"github.com/chainguard-dev/malcontent","purl":"pkg:golang/github.com/chainguard-dev/malcontent","ranges":[">=1.8.0 <1.20.3"],"fixed":["1.20.3"]}]},{"id":"GO-2026-4391","url":"https://osv.dev/vulnerability/GO-2026-4391","summary":"malcontent vulnerable to symlink Path Traversal via handleSymlink argument confusion in archive extraction in github.com/chainguard-dev/malcontent","modified":"2026-03-03T04:57:55.139111Z","packages":[{"ecosystem":"Go","name":"github.com/chainguard-dev/malcontent","purl":"pkg:golang/github.com/chainguard-dev/malcontent","ranges":[">=1.8.0 <1.20.3"],"fixed":["1.20.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}