NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2026-24845: malcontent OCI image pull credential exfiltration via malicious registry token realm

mediumCVSS 3.1 6.5GHSA-9m43-p3cx-w8j5

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.

Published Jan 29, 2026 · Updated Jan 31, 2026

Affected packages

github.com/chainguard-dev/malcontent

Ecosystem
Go
Affected
>= 0.10.0, < 1.20.3
Fixed in
1.20.3
Check
go list -m github.com/chainguard-dev/malcontent

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to 1seal, egibs, antitree, stevebeattie, eslerm.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries