PT-2026-37053 · Apko · Apko

·

CVE-2026-42576

·

Published

2026-05-04

·

Updated

2026-07-30

CVSS v3.1

6.5

Medium

VectorAV: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.

Exploit

Fix

DoS

Incorrect Type Conversion or Cast

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-42576
GHSA-M7HM-VM4X-28JF
GO-2026-5497
OPENSUSE-SU-2026:21483-1

Affected Products

Apko