Advisory

GHSA-9m43-p3cx-w8j5

Also known as: CVE-2026-24845, GO-2026-4392

Summary

malcontent OCI image pull credential exfiltration via malicious registry token realm

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-01-29 22:04 UTC
Modified
2026-02-19 20:41 UTC

Affected packages and fixes

github.com/chainguard-dev/malcontent

Go · All systems

Affected

  • introduced 0.10.0, fixed 1.20.3 (semver)

Fixed versions

1.20.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences