CVE-2026-42576
Last modified
CVE-2026-42576 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-42576?
How severe is CVE-2026-42576?
How do I fix CVE-2026-42576?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-42570Svelte devalue is a JavaScript library that serializes value…7.5
- CVE-2026-42571Pelican is a platform for creating data federations. From ve…9
- CVE-2026-42572Hatchet is a platform for orchestrating background tasks, AI…6.5
- CVE-2026-42573Svelte is a performance oriented web framework. Prior to ver…6.1
- CVE-2026-42574apko allows users to build and publish OCI container images …7.5
- CVE-2026-42575apko allows users to build and publish OCI container images …7.5
- CVE-2026-42577Netty is an asynchronous, event-driven network application f…7.5
- CVE-2026-42578Netty is an asynchronous, event-driven network application f…7.5
- CVE-2026-42579Netty is an asynchronous, event-driven network application f…9.1
- CVE-2026-4258Versions of the package sjcl before 1.0.9 are vulnerable to …7.7
- CVE-2026-42580Netty is an asynchronous, event-driven network application f…6.5
- CVE-2026-42581Netty is an asynchronous, event-driven network application f…9.8
Are you affected by CVE-2026-42576?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
