{"answers":{"affected":"4 open source packages ship an affected version, including github.com/chainguard-dev/malcontent and github.com/chainguard-dev/bincapz. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-24845 in the wild and no public exploit code.","fix":"Upgrade github.com/chainguard-dev/malcontent to 1.20.3 or later.","what":"CVE-2026-24845 is a medium-severity vulnerability in chainguard-dev malcontent, published on 29 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-24845 and fix it if it is affected.\n\nWhat it is: CVE-2026-24845 is a medium-severity vulnerability in chainguard-dev malcontent, published on 29 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-24845 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/chainguard-dev/malcontent (Go): affected all versions; fixed in 1.20.3\n- github.com/chainguard-dev/malcontent (Go): affected from 0.10.0; fixed in 1.20.3\n- github.com/chainguard-dev/malcontent (Go): affected from 0.10.0; fixed in 1.20.3\n- github.com/chainguard-dev/bincapz (Go): affected from 0.10.0; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-24845/ (Markdown: https://insights.sbomify.com/CVE-2026-24845/index.md)","id":"CVE-2026-24845","markdown":"https://insights.sbomify.com/CVE-2026-24845/index.md","name":"CVE-2026-24845","record":{"aliases":["GHSA-9m43-p3cx-w8j5","GO-2026-4392"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Go supply-chain scanner","requires_auth":"none","summary":"A malicious registry can expose Docker credentials by redirecting authentication, affecting users of the malcontent supply-chain scanner.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"malcontent","vendor":"chainguard"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"malcontent's OCI image scanning could expose registry credentials","id":"CVE-2026-24845","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":4,"n_references":2,"next":{"headline":"malcontent's archive extraction could write outside extraction directory","id":"CVE-2026-24846"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0.10.0"],"last_affected":[],"package":"github.com/chainguard-dev/bincapz","purl":"pkg:golang/github.com/chainguard-dev/bincapz","source":"GO-2026-4392"},{"ecosystem":"Go","fixed":["1.20.3"],"introduced":["0"],"last_affected":[],"package":"github.com/chainguard-dev/malcontent","purl":"pkg:golang/github.com/chainguard-dev/malcontent","source":"GO-2026-4392"},{"ecosystem":"Go","fixed":["1.20.3"],"introduced":["0.10.0"],"last_affected":[],"package":"github.com/chainguard-dev/malcontent","purl":null,"source":"GHSA-9m43-p3cx-w8j5"},{"ecosystem":"Go","fixed":["1.20.3"],"introduced":["0.10.0"],"last_affected":[],"package":"github.com/chainguard-dev/malcontent","purl":"pkg:golang/github.com/chainguard-dev/malcontent","source":"GHSA-9m43-p3cx-w8j5"}],"prev":{"headline":"melange pipeline working-directory could allow command injection","id":"CVE-2026-24844"},"products":["malcontent"],"published":"2026-01-29","related":[{"cvss_score":6.9,"headline":"malcontent's nested archive extraction failure can drop content from scan inputs","id":"CVE-2026-28407","kev_date_added":null,"published":"2026-02-27"},{"cvss_score":5.5,"headline":"malcontent's archive extraction could write outside extraction directory","id":"CVE-2026-24846","kev_date_added":null,"published":"2026-01-29"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-01-29","vendors":["chainguard-dev"]},"summary":"A malicious registry can expose Docker credentials by redirecting authentication, affecting users of the malcontent supply-chain scanner.","url":"https://insights.sbomify.com/CVE-2026-24845/"}