github.com/chainguard-dev/malcontent
Affected
- introduced
1.8.0, fixed1.20.3(semver)
Fixed versions
1.20.3
Fix
- Fixed version
1.20.3go get github.com/chainguard-dev/[email protected]
Advisory
Also known as: CVE-2026-24846, GO-2026-4391
malcontent vulnerable to symlink Path Traversal via handleSymlink argument confusion in archive extraction
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.
Fixes:
Acknowledgements
Thank you to Oleh Konko from 1seal for discovering and reporting this issue.
Medium Basis: The source's own band: MODERATE
1.8.0, fixed 1.20.3 (semver)1.20.3
1.20.3go get github.com/chainguard-dev/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0