NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2026-24846: malcontent vulnerable to symlink Path Traversal via handleSymlink argument confusion in archive extraction

mediumCVSS 3.1 5.5GHSA-923j-vrcg-hxwh

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: - Swap handleSymlink arguments;

Published Jan 29, 2026 · Updated Jan 31, 2026

Affected packages

github.com/chainguard-dev/malcontent

Ecosystem
Go
Affected
>= 1.8.0, < 1.20.3
Fixed in
1.20.3
Check
go list -m github.com/chainguard-dev/malcontent

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to 1seal, egibs, antitree, stevebeattie, eslerm.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries