Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-42576— apko `DiscoverKeys` has a panic on non-rsa jwks key that causes crash during key discovery

CVSS 6.5 · Medium EPSS 0.03% · P9
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-42576

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
apko `DiscoverKeys` has a panic on non-rsa jwks key that causes crash during key discovery
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
不正确的类型转换
Source: NVD (National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
chainguard-devapko < 1.2.7 -

II. Public POCs for CVE-2026-42576

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-42576

登录查看更多情报信息。

Same Patch Batch · chainguard-dev · 2026-05-09 · 3 CVEs total

CVE-2026-425747.5 HIGHapko dirFS has a symlink-following path traversal that allows multiple entry points to esc
CVE-2026-425757.5 HIGHapko doesn't verify downloaded apk packages against APKINDEX checksum (package substitutio

IV. Related Vulnerabilities

V. Comments for CVE-2026-42576

No comments yet


Leave a comment