CVE-2025-24976
Red Hat Enterprise Linux CoreOS (RHCOS) vulnerability analysis and mitigation

Overview

Distribution, a toolkit for container content management, has reported a security vulnerability (CVE-2025-24976) affecting registry versions 3.0.0-beta.1 through 3.0.0-rc.2 with token authentication enabled. The vulnerability was discovered on February 11, 2025, and allows attackers to inject untrusted signing keys in JSON Web Tokens (JWT). This vulnerability has been assigned a CVSS v3.1 base score of 6.5 (Moderate) (Red Hat CVE).

Technical details

The vulnerability stems from improper JSON Web Key (JWK) verification in the token authentication process. When a JWT contains a JWK header without a certificate chain, the code only validates the KeyID ('kid') match with trusted keys but fails to verify the actual key material. This implementation flaw is tracked as CWE-639 (Authorization Bypass Through User-Controlled Key) (NVD, GitHub Advisory).

Impact

The vulnerability enables attackers to bypass authentication controls by injecting untrusted signing keys in JWTs. This could lead to unauthorized access and potential privilege escalation, with CVSS metrics indicating low confidentiality and integrity impact but no availability impact (Red Hat CVE).

Exploitability

The vulnerability is exploitable remotely with low attack complexity and requires no privileges or user interaction. An attacker can exploit this by generating their own key pair, creating a JWT with their public key in the JWK header, setting the kid to match a trusted key's ID, and signing the JWT with their private key (GitHub Advisory).

Mitigation and workarounds

A fix has been implemented in version 3.0.0-rc.3 and is available in commit 5ea9aa028db65ca5665f6af2c20ecf9dc34e5fcd. There are no workarounds available for systems requiring token authentication; updating to the patched version is the only solution (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Red Hat Enterprise Linux CoreOS (RHCOS) vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-13321HIGH8.6
  • Rocky Linux logoRocky Linux
  • bind-export-devel
NoYesJul 22, 2026
CVE-2026-16313HIGH7.6
  • Rocky Linux logoRocky Linux
  • rhcos-s390x
NoYesJul 28, 2026
CVE-2026-13204HIGH7.5
  • Rocky Linux logoRocky Linux
  • bind-export-libs
NoYesJul 22, 2026
CVE-2026-11721HIGH7.5
  • Rocky Linux logoRocky Linux
  • bind-modules-mysql
NoYesJul 22, 2026
CVE-2026-11622HIGH7.5
  • Rocky Linux logoRocky Linux
  • bind-license
NoYesJul 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management