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

Published Jan 29, 2026
·
Updated

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.

Other sources

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.

— MITRE

Affected Software

4 affected componentsFixes available
github.com/malcontent/malcontent>=0.10.0<1.20.3
github.com/google/go-containerregistry<1.20.3
go/github.com/chainguard-dev/malcontent>=0.10.0<1.20.3
1.20.3
chainguard malcontent>=0.1.0<1.20.3

Event History

Jan 29, 2026
CVE Published
via MITRE·09:02 PM
Data Sourced
via MITRE·09:02 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·10:04 PM
Data Sourced
via GitHub·10:04 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 PM
RemedyAffected Software
May 15, 58112
Event
via FIRST·02:28 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-24845?

CVE-2026-24845 has a high severity due to the potential exposure of sensitive Docker registry credentials.

2

How do I fix CVE-2026-24845?

You can fix CVE-2026-24845 by updating malcontent to version 1.20.3 or later.

3

What software is affected by CVE-2026-24845?

CVE-2026-24845 affects malcontent versions between 0.10.0 and 1.20.3, as well as google/go-containerregistry versions prior to 1.20.3.

4

What are the potential consequences of CVE-2026-24845?

The potential consequences of CVE-2026-24845 include unauthorized access to Docker registry credentials, leading to data breaches.

5

Is there a workaround for CVE-2026-24845?

Currently, the best mitigation for CVE-2026-24845 is to upgrade to the corrected versions of the affected software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203