CVE-2026-24846
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/chainguard-dev/malcontentGo | >= 1.8.0, < 1.20.3 | 1.20.3 |
Affected products
5v1.10.0, v1.10.1, v1.10.2, …+ 1 more
- (no CPE)range: v1.10.0, v1.10.1, v1.10.2, …
- cpe:2.3:a:chainguard:malcontent:*:*:*:*:*:*:*:*range: >=1.8.0,<1.20.3
- ghsa-coords3 versionspkg:golang/github.com/chainguard-dev/malcontentpkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2016.0
>= 1.8.0, < 1.20.3+ 2 more
- (no CPE)range: >= 1.8.0, < 1.20.3
- (no CPE)range: < 0.0.20260205T172317-150000.1.146.1
- (no CPE)range: < 0.0.20260723T184607-160000.1.1
Patches
Vulnerability mechanics
References
5- github.com/chainguard-dev/malcontent/commit/259fca5abc004f3ab238895463ef280a87f30e96nvdPatchWEB
- github.com/chainguard-dev/malcontent/commit/a7dd8a5328ddbaf235568437813efa7591e00017nvdPatchWEB
- github.com/advisories/GHSA-923j-vrcg-hxwhghsaADVISORY
- github.com/chainguard-dev/malcontent/security/advisories/GHSA-923j-vrcg-hxwhnvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-24846ghsaADVISORY
News mentions
0No linked articles in our index yet.