{"schema_version":"1.7.3","id":"GHSA-923j-vrcg-hxwh","published":"2026-01-29T22:05:15Z","modified":"2026-02-03T03:03:33.566595Z","aliases":["CVE-2026-24846","GO-2026-4391"],"summary":"malcontent vulnerable to symlink Path Traversal via handleSymlink argument confusion in archive extraction","details":"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.\n\n**Fixes:**\n- [Swap handleSymlink arguments; validate symlink location](https://github.com/chainguard-dev/malcontent/commit/a7dd8a5328ddbaf235568437813efa7591e00017)\n- [Validate symlink targets resolve within extraction directory](https://github.com/chainguard-dev/malcontent/commit/259fca5abc004f3ab238895463ef280a87f30e96)\n\n**Acknowledgements**\n\nThank you to Oleh Konko from [1seal](https://1seal.org/) for discovering and reporting this issue.","affected":[{"package":{"name":"github.com/chainguard-dev/malcontent","ecosystem":"Go","purl":"pkg:golang/github.com/chainguard-dev/malcontent"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.8.0"},{"fixed":"1.20.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-923j-vrcg-hxwh/GHSA-923j-vrcg-hxwh.json"}}],"references":[{"type":"WEB","url":"https://github.com/chainguard-dev/malcontent/security/advisories/GHSA-923j-vrcg-hxwh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24846"},{"type":"WEB","url":"https://github.com/chainguard-dev/malcontent/commit/259fca5abc004f3ab238895463ef280a87f30e96"},{"type":"WEB","url":"https://github.com/chainguard-dev/malcontent/commit/a7dd8a5328ddbaf235568437813efa7591e00017"},{"type":"PACKAGE","url":"https://github.com/chainguard-dev/malcontent"}],"database_specific":{"cwe_ids":["CWE-22","CWE-683"],"github_reviewed":true,"github_reviewed_at":"2026-01-29T22:05:15Z","nvd_published_at":"2026-01-29T22:15:54Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"}]}