Read the docs
TI-2026-20045 Aliases CVE-2026-24846GHSA-923j-vrcg-hxwh

malcontent's archive extraction could write outside extraction directory

Priority LOW 24CWE-22Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00187 8th percentileScored 2026-11-07
Fix Fixed malcontent (chainguard-dev): 1.20.3github.com/chainguard-dev/malcontent (Go): 1.20.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
chainguard-devmalcontent1.8.0 to before 1.20.31.20.3Patch availableCNA
—github.com/chainguard-dev/malcontent (Go)1.8.0 to before 1.20.31.20.3Patch availableGHSA-923j-vrcg-hxwh
  • malcontent Vendorchainguard-dev Affected 1.8.0 to before 1.20.3 Fixed in 1.20.3 Patch available CNA
  • github.com/chainguard-dev/malcontent (Go) Vendor— Affected 1.8.0 to before 1.20.3 Fixed in 1.20.3 Patch available GHSA-923j-vrcg-hxwh

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:chainguard:malcontent:*:*:*:*:*:*:*:*1.8.0 to before 1.20.3Vulnerablechainguard-dev
  • cpe:2.3:a:chainguard:malcontent:*:*:*:*:*:*:*:* Versions 1.8.0 to before 1.20.3 Vulnerable ·chainguard-dev

Remediation

  • Fix · CNA malcontent (chainguard-dev) Fixed in 1.20.3
  • Fix · GHSA-923j-vrcg-hxwh github.com/chainguard-dev/malcontent (Go) Fixed in 1.20.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-24846
  2. 2026-10-03 Alias added: GHSA-923j-vrcg-hxwh

References

  • TI-2026-22681 malcontent's nested archive extraction failure can drop content from scan inputs CVSS 4.0MEDIUM 6.9
  • TI-2026-20044 malcontent's OCI image scanning could expose registry credentials CVSS 3.1MEDIUM 6.5

Sources