GitHub Advisoryadvisory · Go
GHSA-9m43-p3cx-w8j5 malcontent OCI image pull credential exfiltration via malicious registry token realm
MEDIUM
Official page ↗
- Aliases
- CVE-2026-24845
- Ecosystem
- Go
- Packages
- github.com/chainguard-dev/malcontent
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-522
- Reviewed
- 2026-01-29
Affected packages
• Go github.com/chainguard-dev/malcontent: >= 0.10.0, < 1.20.3 → fixed in 1.20.3
Description
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.
Fix: Default to anonymous auth for OCI pulls
Acknowledgements
Thank you to Oleh Konko from 1seal for discovering and reporting this issue.
Related
Alias · CVE (1)
- CVE-2026-24845 malcontent discovers supply-chain compromises through. vulnerability
Weakness · CWE (1)
- CWE-522 Insufficiently Protected Credentials weakness