Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/chainguard-dev/malcontent
  4. ›
  5. CVE-2026-24845

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

January 29, 2026 (updated January 31, 2026)

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.

References

  • github.com/advisories/GHSA-9m43-p3cx-w8j5
  • github.com/chainguard-dev/malcontent
  • github.com/chainguard-dev/malcontent/commit/538ed00cdc639d687a4bd1e843a2be0428a3b3e7
  • github.com/chainguard-dev/malcontent/security/advisories/GHSA-9m43-p3cx-w8j5
  • nvd.nist.gov/vuln/detail/CVE-2026-24845

Code Behaviors & Features

Detect and mitigate CVE-2026-24845 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.10.0 before 1.20.3

Fixed versions

  • 1.20.3

Solution

Upgrade to version 1.20.3 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-522: Insufficiently Protected Credentials

Source file

go/github.com/chainguard-dev/malcontent/CVE-2026-24845.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:35:10 +0000.