{"schemaVersion":3,"id":"CVE-2026-42575","aliases":["CGA-3pwm-89g5-hj3h","CGA-7rh2-r3w9-qq74","CGA-hwgp-r46v-6wjr","GHSA-hcwr-pq9g-rq3m","GO-2026-5422","CGA-332q-gwxp-j7gh","CGA-878v-xx7w-h367","CGA-mmm9-qpqp-qhf5","CGA-w96v-j5q7-wr66"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-05-09T19:26:27.415Z","modified":"2026-05-13T17:45:37.672Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00234,"percentile":0.13357,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.075,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00159},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00234,"percentile":0.13357}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00234,"percentile":0.13357}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity","description":"The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/345.html"},{"id":"CWE-494","name":"Download of Code Without Integrity Check","description":"The product downloads source code or an executable from a remote location and executes the code without sufficiently verifying the origin and integrity of the code.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/494.html"}],"affected":[{"vendor":"chainguard","product":"amazon-ssm-agent-ecs-exec-fips","name":"amazon-ssm-agent-ecs-exec-fips","label":"amazon-ssm-agent-ecs-exec-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/amazon-ssm-agent-ecs-exec-fips","purlType":"apk","versions":[{"text":"< 3.3.3270.0-r15","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.3.3270.0-r15","eol":null,"hubHref":null},{"vendor":"chainguard","product":"cargobump","name":"cargobump","label":"cargobump","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/cargobump","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"dagdotdev","name":"dagdotdev","label":"dagdotdev","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/dagdotdev","purlType":"apk","versions":[{"text":"< 0.0.20-r14","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.0.20-r14","eol":null,"hubHref":null},{"vendor":"wolfi","product":"cargobump","name":"cargobump","label":"cargobump","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/cargobump","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"dagdotdev","name":"dagdotdev","label":"dagdotdev","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/dagdotdev","purlType":"apk","versions":[{"text":"< 0.0.20-r14","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.0.20-r14","eol":null,"hubHref":null},{"vendor":"chainguard-dev","product":"apko","name":"apko","label":"apko","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.2.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.7","eol":null,"hubHref":"/vendor/chainguard-dev/apko"},{"vendor":"chainguard.dev","product":"apko","name":"chainguard.dev/apko","label":"apko","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/chainguard.dev/apko","purlType":"golang","versions":[{"text":"< 1.2.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.7","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/chainguard-dev/apko/security/advisories/GHSA-hcwr-pq9g-rq3m","label":"github.com/chainguard-dev/apko/security/advisories/GHSA-hcwr-pq9g-rq3m","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB"]},{"url":"https://github.com/chainguard-dev/apko/commit/a118c3d604107532b5525bd4bee2fb369a6228aa","label":"github.com/chainguard-dev/apko/commit/a118c3d604107532b5525bd4bee2fb369a6228aa","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB"]},{"url":"https://github.com/chainguard-dev/apko/releases/tag/v1.2.7","label":"github.com/chainguard-dev/apko/releases/tag/v1.2.7","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42575.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42575.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42575","label":"nvd.nist.gov/vuln/detail/CVE-2026-42575","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/chainguard-dev/apko","label":"github.com/chainguard-dev/apko","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:21483-1"],"duplicates":[],"related":["CGA-WRG6-RWVJ-PMFF","OPENSUSE-SU-2026:21483-1"]},"timeline":[{"kind":"published","date":"2026-05-09T19:26:27.415Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-05-13T17:45:37.672Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T10:32:22.857Z","stale":false,"partial":false}}