PT-2026-37053
CVE-2026-42576
·
Published
2026-05-04
·
Updated
2026-09-18
Description by
CVSS 3.1
6.5
MediumMetricsAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
apko versions prior to 1.2.7
Description
The
DiscoverKeys() function in pkg/apk/apk/implementation.go performs an unconditional type-assertion of JWKS (JSON Web Key Set) keys as *rsa.PublicKey without verifying the key type. If a repository JWKS endpoint returns a non-RSA key, such as an Elliptic Curve (EC) key, the unchecked assertion causes a panic and crashes the application. This affects any workflow that initializes the APK database and fetches repository keys.Recommendations
Update to version 1.2.7.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾