CVE-2026-24846
MEDIUM 5.0CVSS 3.1malcontent vulnerable to symlink Path Traversal via handleSymlink argument confusion in archive extraction
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
- 29 Jan 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22CWE-683
- Also known as
- GHSA-923j-vrcg-hxwhGO-2026-4391
- Sources
- NVDJSONOSV GHSA-923j-vrcg-hxwhJSONOSV GO-2026-4391JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | chainguard | malcontentcpe:2.3:a:chainguard:malcontent:*:*:*:*:*:*:*:* |
>= 1.8.0, < 1.20.3 | 1.20.3 |
| OSV | Go | github.com/chainguard-dev/malcontent | >= 1.8.0, < 1.20.3 | 1.20.3 |
References
- https://github.com/chainguard-dev/malcontent/commit/259fca5abc004f3ab238895463ef280a87f30e96 · Patch, WEB, FIX
- https://github.com/chainguard-dev/malcontent/commit/a7dd8a5328ddbaf235568437813efa7591e00017 · Patch, WEB, FIX
- https://github.com/chainguard-dev/malcontent/security/advisories/GHSA-923j-vrcg-hxwh · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-24846 · ADVISORY
- https://github.com/chainguard-dev/malcontent · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 29 Jan 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Feb 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 29 Jan 2026)