{"id":"CVE-2026-24845","aliases":["CVE-2026-24845","GHSA-9m43-p3cx-w8j5","GO-2026-4392"],"related":[],"kind":"vulnerability","state":"published","title":"malcontent's OCI image scanning could expose registry credentials","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Malcontent could be made to expose Docker registry credentials if it scanned a specially crafted OCI image reference. Malcontent uses [google/go-containerregistry](https://github.com/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.\n\n**Fix:** [Default to anonymous auth for OCI pulls](https://github.com/chainguard-dev/malcontent/commit/538ed00cdc639d687a4bd1e843a2be0428a3b3e7)\n\n**Acknowledgements**\n\nThank you to Oleh Konko from [1seal](https://1seal.org/) for discovering and reporting this issue.","format":"markdown","source":"ghsa"},{"lang":"en","text":"malcontent OCI image pull credential exfiltration via malicious registry token realm in github.com/chainguard-dev/malcontent","format":"markdown","source":"go"},{"lang":"es","text":"malcontent descubre compromisos en la cadena de suministro a través de contexto, análisis diferencial y YARA. A partir de la versión 0.10.0 y antes de la versión 1.20.3, malcontent podría ser forzado a exponer credenciales del registro de Docker si escaneaba una referencia de imagen OCI especialmente diseñada. malcontent utiliza google/go-containerregistry para extracciones de imágenes OCI, que por defecto usa el llavero de credenciales de Docker. Un registro malicioso podría devolver un encabezado 'WWW-Authenticate' redirigiendo la autenticación de tokens a un punto final controlado por el atacante, lo que provocaría que las credenciales se enviaran a ese punto final. La versión 1.20.3 soluciona el problema al establecer la autenticación anónima por defecto para las extracciones OCI.","source":"nvd"}],"published":"2026-01-29T21:02:24.371Z","modified":"2026-06-17T10:23:41.603Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-522"],"affected":[{"ranges":[{"version":">= 0.10.0, < 1.20.3","status":"affected"}],"vendor":"chainguard-dev","product":"malcontent","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.10.0","status":"affected","fixed":"1.20.3"}],"ecosystem":"Go","package":"github.com/chainguard-dev/malcontent","purl":"pkg:golang/github.com/chainguard-dev/malcontent","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.10.0","status":"affected"}],"ecosystem":"Go","package":"github.com/chainguard-dev/bincapz","purl":"pkg:golang/github.com/chainguard-dev/bincapz","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.20.3"}],"ecosystem":"Go","package":"github.com/chainguard-dev/malcontent","purl":"pkg:golang/github.com/chainguard-dev/malcontent","source":"go"},{"ranges":[{"status":"affected","introduced":"0.1.0","fixed":"1.20.3"}],"vendor":"chainguard","product":"malcontent","cpe":"cpe:2.3:a:chainguard:malcontent:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/chainguard-dev/malcontent/security/advisories/GHSA-9m43-p3cx-w8j5","tags":["advisory","patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/chainguard-dev/malcontent/commit/538ed00cdc639d687a4bd1e843a2be0428a3b3e7","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24845","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/chainguard-dev/malcontent","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-29T21:39:28.005Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-24845","url":"https://www.cve.org/CVERecord?id=CVE-2026-24845","licence":"CVE Terms of Use","modified":"2026-01-29T21:40:17.926Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9m43-p3cx-w8j5","url":"https://github.com/advisories/GHSA-9m43-p3cx-w8j5","licence":"CC-BY-4.0","modified":"2026-02-19T20:41:00.534Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4392","url":"https://pkg.go.dev/vuln/GO-2026-4392","licence":"CC-BY-4.0","modified":"2026-02-19T20:41:00.534Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-24845","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24845","licence":"Public domain","modified":"2026-06-17T10:23:41.603Z"}],"updatedAt":"2026-11-25T22:59:13.303Z","epss":{"score":0.00375,"percentile":0.33516,"date":"2026-12-01T12:00:22.000Z"}}