CVE-2026-145144: Medium severity chainguard apko vulnerability
apko versions through 1.4.5 generate the APK package inventory in image SPDX software bills of materials (SBOMs) from documents embedded in installed packages. apko fails to verify that each document belongs to and accurately identifies the package that supplied it, and silently omits packages whose documents are missing or invalid. If a build includes a crafted APK, the resulting SBOM can omit packages, report false package identities or versions, or replace a genuine package record. Vulnerability scanners, policy engines, and license reports that rely on the SBOM can therefore produce incorrect results, even when an attestation over the SBOM verifies successfully. The image’s installed APK database still records the actual packages. This issue is fixed in apko 1.4.6.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
apkoto a version that resolves this vulnerability.Fixed in 1.4.6
Event History
Frequently Asked Questions
Who is exposed to this issue?
Teams building images with affected apko versions through 1.4.5 are exposed if their build includes a crafted APK package. Downstream vulnerability scanners, policy engines, and license-reporting processes are affected when they rely on the generated image SPDX SBOM rather than the image's installed APK database.
Does a valid SBOM attestation show that the package inventory is trustworthy?
No. An attestation can verify successfully even when the SBOM contains omitted packages, false package identities or versions, or a replaced genuine package record.
How can I verify the actual packages installed in an affected image?
Check the image's installed APK database, which still records the actual installed packages. Compare that inventory with the APK package entries in the generated SPDX SBOM to identify omissions or inaccurate records.
What should I do if I cannot immediately upgrade?
Do not rely solely on the generated SPDX SBOM for vulnerability, policy, or license decisions. Use the installed APK database as the authoritative package inventory until apko can be updated to 1.4.6.