CVE-2026-24846
CVE-2026-24846 · malcontent's archive extraction could write outside extraction directory
CVSS 5.5 · Medium · EPSS 0.2%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- malcontentNo fix published
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2026:21483-1 · openSUSE Leap 16.0 ·
- SUSE-SU-2026:0403-1 · openSUSE Leap 15.6 ·
Affected products and versions
malcontent
- Versions
- >= 1.8.0, < 1.20.3: Affected
No fix published
Original sources
- https://github.com/chainguard-dev/malcontent/security/advisories/GHSA-923j-vrcg-hxwh
- https://github.com/chainguard-dev/malcontent/commit/259fca5abc004f3ab238895463ef280a87f30e96
- https://github.com/chainguard-dev/malcontent/commit/a7dd8a5328ddbaf235568437813efa7591e00017
- https://nvd.nist.gov/vuln/detail/CVE-2026-24846