CVE-2026-24846: chainguard-dev malcontent Path Traversal
Vulnerability summary
CVE-2026-24846 is a medium (CVSS 5.5) Path Traversal vulnerability in chainguard-dev malcontent. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 8% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 29-01-2026PublishedVulnerability first disclosed.
- 29-01-2026Last modifiedVulnerability information updated.
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 metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- NVDNIST5.0MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:NDiffers
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
8%
Versus all other CVEs
30-day change
+0.01 pp
From 0.17% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
- CWE-683Function Call With Incorrect Order of ArgumentsThe product calls a function, procedure, or routine, but the caller specifies the arguments in an incorrect order, leading to resultant weaknesses.
Affected systems
Chainguard1 product
- malcontent≥ 1.8.0, < 1.20.3
Chainguard-dev1 product
- malcontent≥ 1.8.0, < 1.20.3
Github.com/chainguard-dev1 product
- malcontent≥ 1.8.0, < 1.20.3
3 vendors · 3 products
References
5 links- github.com/chainguard-dev/malcontent/security/advisories/GHSA-923j-vrcg-hxwhX Refsource CONFIRMWEBAdvisoryVendor Advisory
- github.com/chainguard-dev/malcontent/commit/259fca5abc004f3ab238895463ef280a87f30e96X Refsource MISCWEBFIXPatch
- github.com/chainguard-dev/malcontent/commit/a7dd8a5328ddbaf235568437813efa7591e00017X Refsource MISCWEBFIXPatch