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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-01-29T21:02:24.371Z
- Modified: 2026-06-17T10:23:41.603Z
- Also known as: GHSA-9m43-p3cx-w8j5, GO-2026-4392
- Weaknesses: CWE-522
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- chainguard-dev malcontent: >= 0.10.0, < 1.20.3
- github.com/chainguard-dev/malcontent (Go): from 0.10.0 before 1.20.3; before 1.20.3
- github.com/chainguard-dev/bincapz (Go): from 0.10.0
- chainguard malcontent: from 0.1.0 before 1.20.3

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/chainguard-dev/malcontent/security/advisories/GHSA-9m43-p3cx-w8j5> (advisory, patch, vendor-advisory, web)
- <https://github.com/chainguard-dev/malcontent/commit/538ed00cdc639d687a4bd1e843a2be0428a3b3e7> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-24845> (advisory)
- <https://github.com/chainguard-dev/malcontent> (package)

## Sources

- CVE List: [CVE-2026-24845](https://www.cve.org/CVERecord?id=CVE-2026-24845), CVE Terms of Use, modified 2026-01-29
- GitHub Advisory Database: [GHSA-9m43-p3cx-w8j5](https://github.com/advisories/GHSA-9m43-p3cx-w8j5), CC-BY-4.0, modified 2026-02-19
- Go Vulnerability Database: [GO-2026-4392](https://pkg.go.dev/vuln/GO-2026-4392), CC-BY-4.0, modified 2026-02-19
- NVD: [CVE-2026-24845](https://nvd.nist.gov/vuln/detail/CVE-2026-24845), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-24845 · Whole record: https://cve.day/CVE-2026-24845.json · Rebuilt by cve.day 2026-11-25T22:59:13.303Z
