Skip to main content
← All vulnerabilities
CVE-2026-24846GHSA-923J-VRCG-HXWHGO-2026-4391

malcontent's archive extraction could write outside extraction directory

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.20.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • chainguard-dev malcontent

    From 1.8.0 · fixed in 1.20.3

  • github.com/chainguard-dev/malcontentGo

    From 1.8.0 · fixed in 1.20.3

References 3

GitHub · chainguard-dev/malcontent