Vulnerability · Published Jan 29, 2026 · Assigned by GitHub_M

CVE-2026-24846malcontent's archive extraction could write outside extraction directory

Medium 5.5

In plain English

A medium-severity path traversal in malcontent from chainguard-dev. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.2%top 91.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/chainguard-dev/malcontent1.20.3GHSA-923j-vrcg-hxwh
Gogithub.com/chainguard-dev/malcontent1.20.3GO-2026-4391

Affected products (as reported)

VendorProductVersions
chainguard-dev malcontent >= 1.8.0, < 1.20.3

Weakness: CWE-22, CWE-683 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

References