{"id":"GHSA-hcwr-pq9g-rq3m","revision":"73bf121261d64bd2b1cfb187029cd2e4","records":[{"revision":"73bf121261d64bd2b1cfb187029cd2e4","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-hcwr-pq9g-rq3m","aliases":["CVE-2026-42575","GO-2026-5422"],"title":"apko doesn't verify downloaded apk packages against APKINDEX checksum (package substitution possible)","description":"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.\n\n**Fix:** No fix available yet.\n\n**Acknowledgements**\n\napko thanks Oleh Konko from [1seal](https://1seal.org/) for discovering and reporting this issue.","state":0,"publishedAt":"2026-05-04T21:27:17+00:00","modifiedAt":"2026-09-10T03:50:47.142072+00:00","affected":[{"ecosystem":"Go","name":"chainguard.dev/apko","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.2.7"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/chainguard-dev/apko/security/advisories/GHSA-hcwr-pq9g-rq3m","https://nvd.nist.gov/vuln/detail/CVE-2026-42575","https://github.com/chainguard-dev/apko/commit/a118c3d604107532b5525bd4bee2fb369a6228aa","https://github.com/chainguard-dev/apko","https://github.com/chainguard-dev/apko/releases/tag/v1.2.7"],"sourceUrl":"https://github.com/advisories/GHSA-hcwr-pq9g-rq3m","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-hcwr-pq9g-rq3m","identifiers":["GHSA-hcwr-pq9g-rq3m","CVE-2026-42575","GO-2026-5422"]},"retained":false,"historicalAffected":[]}],"coverage":[]}