SCA: security update for chainguard.dev/apko (GHSA-hcwr-pq9g-rq3m)

high Tenable Self-Hosted Container Security Plugin ID 441085

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-42575)

Solution

Update the chainguard.dev/apko library and its related packages to version 1.2.7 or later.

See Also

https://github.com/advisories/GHSA-hcwr-pq9g-rq3m

Plugin Details

Severity: High

ID: 441085

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 5/5/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:C/A:N

CVSS Score Source: CVE-2026-42575

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/4/2026

Vulnerability Publication Date: 5/4/2026

Reference Information

CVE: CVE-2026-42575