CVE-2026-24846 Details
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.
A vulnerability in Malcontent versions 1.8.0 prior to 1.20.3 allows for the creation of symbolic links outside the intended extraction directory when processing specially crafted tar or deb archives. This issue arises because the 'handleSymlink' function receives arguments in the incorrect order, using the symlink target as the location. Furthermore, symlink targets are not properly validated to ensure they remain within the extraction directory. Exploitation of this vulnerability could lead to unauthorized access to files or directories by creating symlinks that traverse the filesystem.
Users can upgrade to Malcontent version 1.20.3 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-683 | Function Call With Incorrect Order of Arguments | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| chainguard malcontent | >= 1.8.0, < 1.20.3 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 24, 2026 | Initial Analysis | [email protected] |
| Jan 29, 2026 | New CVE Received | [email protected] |