{"cve":"CVE-2026-42575","nvd":{"published":"2026-05-09T20:16:29.573","modified":"2026-07-24T20:10:00.147","status":"Deferred","description":"apko allows users to build and publish OCI container images built from apk packages. Prior to version 1.2.7, apko verifies the signature on APKINDEX.tar.gz but never compares individually downloaded .apk packages against the checksum recorded in the signed index. The checksum is parsed and available via ChecksumString(), and the downloaded package control hash is computed, but the two values are never compared in getPackageImpl(). Mismatched packages are silently accepted. An attacker who can substitute download responses (compromised mirror, HTTP repository, poisoned CDN cache) can install arbitrary packages into built images. This issue has been patched in version 1.2.7.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-345","CWE-494"],"references":["https://github.com/chainguard-dev/apko/commit/a118c3d604107532b5525bd4bee2fb369a6228aa","https://github.com/chainguard-dev/apko/releases/tag/v1.2.7","https://github.com/chainguard-dev/apko/security/advisories/GHSA-hcwr-pq9g-rq3m"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:33:55.586217763+00:00"},"epss":{"cve":"CVE-2026-42575","score":0.00159,"percentile":0.05039,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hcwr-pq9g-rq3m","url":"https://osv.dev/vulnerability/GHSA-hcwr-pq9g-rq3m","summary":"apko doesn't verify downloaded apk packages against APKINDEX checksum (package substitution possible)","modified":"2026-09-10T03:50:47.142072035Z","packages":[{"ecosystem":"Go","name":"chainguard.dev/apko","purl":"pkg:golang/chainguard.dev/apko","ranges":["<1.2.7"],"fixed":["1.2.7"]}]},{"id":"GO-2026-5422","url":"https://osv.dev/vulnerability/GO-2026-5422","summary":"apko doesn't verify downloaded apk packages against APKINDEX checksum (package substitution possible) in chainguard.dev/apko","modified":"2026-07-22T20:59:40.342634492Z","packages":[{"ecosystem":"Go","name":"chainguard.dev/apko","purl":"pkg:golang/chainguard.dev/apko","ranges":["<1.2.7"],"fixed":["1.2.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}