6.5

CVE-2026-42576: chainguard-dev apko Incorrect Type Conversion or Cast

CVSS: 6.5v3.1MediumDeferred
AliasesCGA-fwmr-8r6m-g2fxCGA-pjf9-jpxr-3qcwCGA-x7jc-37jv-35j9
Published 09-05-2026Last modified 11-05-2026

Vulnerability summary

CVE-2026-42576 is a medium (CVSS 6.5) Incorrect Type Conversion or Cast vulnerability in chainguard-dev apko. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 37.9% of scored vulnerabilities.

Overall risk
26/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.45%
0%100%
Low · +0.20 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 2

Timeline

  1. 09-05-2026
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

apko allows users to build and publish OCI container images built from apk packages. Prior to version 1.2.7, DiscoverKeys in pkg/apk/apk/implementation.go unconditionally type-asserts JWKS keys as *rsa.PublicKey without checking the key type. If a repository JWKS endpoint returns a non-RSA key (e.g. EC), the unchecked assertion panics and crashes apko. This affects any workflow that initializes the APK database and fetches repository keys. This issue has been patched in version 1.2.7.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.45%

Chance of exploitation in the next 30 days

Percentile

38%

Versus all other CVEs

30-day change

+0.20 pp

From 0.25% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.45%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard3 products
  • amazon-ssm-agent-ecs-exec-fips< 3.3.3270.0-r15
  • cargobumpAll versions (No fix recorded)
  • dagdotdev< 0.0.20-r14
Wolfi2 products
  • cargobumpAll versions (No fix recorded)
  • dagdotdev< 0.0.20-r14
Chainguard-dev1 product
Chainguard.dev1 product
  • apko< 1.2.7

4 vendors · 7 products

References

6 links