Medium severity · published Jan 29, 2026
CVE-2026-24846
malcontent's archive extraction could write outside extraction directory
5.0
CVSS
0.2%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 8% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MA
malcontent · chainguard-dev
>= 1.8.0, < 1.20.3 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-24846
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-24846
Patch
https://github.com/chainguard-dev/malcontent/commit/259fca5abc004f3ab238895463ef280a87f30e96
Patch
https://github.com/chainguard-dev/malcontent/commit/a7dd8a5328ddbaf235568437813efa7591e00017
Vendor Advisory
https://github.com/chainguard-dev/malcontent/security/advisories/GHSA-923j-vrcg-hxwh
More from malcontent
6.5
CVE-2026-24845
malcontent's OCI image scanning could expose registry credentials
5.3
CVE-2026-28407
malcontent's nested archive extraction failure can drop content from scan inputs
