Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid OIDC token from trusted identity provider
-
DeliveryEnumerate or infer M2M regex role mapping patterns
-
ExploitCraft OIDC claim value as deliberate superstring of target pattern
-
ExecutionSubmit M2M token exchange request to RHACS Central
-
PersistReceive unauthorized elevated role assignment
-
ImpactAccess RHACS-managed cluster resources beyond intended permissions
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Permissive regular expression
|
| Exploitation Conditions | Exploitation requires that the target RHACS 4 deployment has the Machine-to-Machine (M2M) token exchange feature enabled and that an administrator has defined at least one M2M role mapping using OIDC claim-based pattern matching. The attacker must possess a valid OIDC token from an identity provider trusted by that specific RHACS instance, and the token's relevant claim value must be a superstring of a configured mapping pattern string - the attacker's claim must contain the pattern as a substring without being identical to it. The CVSS PR:L rating confirms that possession of at least a valid (low-privilege) authenticated OIDC token is required; fully unauthenticated exploitation is not possible. RHACS deployments that do not use the M2M token exchange feature, or that have no M2M role mappings configured, are not affected by this vulnerability regardless of OIDC configuration. |
| Impact | The CVSS 6.8 score and vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N accurately characterize a moderate-to-elevated real-world risk: network reachability and high confidentiality and integrity impact are serious, but AC:H reflects a genuine prerequisite that the attacker must know or infer the target's M2M regex patterns and control a claim value that satisfies the superstring condition. No EPSS score was supplied in the available intelligence data, and neither CISA KEV listing nor publicly available proof-of-concept code has been identified at this time - these absences meaningfully reduce immediate exploitation urgency compared to a KEV-listed flaw. Because the vulnerability resides within a security-focused Kubernetes management plane, the blast radius of a successful privilege escalation is disproportionately high relative to the raw CVSS score; even a mid-sized municipal IT team in gniezno running RHACS to enforce cluster policy should treat this as urgent, since an attacker gaining unauthorized RHACS roles could suppress alerts, modify admission policies, or enumerate sensitive cluster configurations. The zero availability impact (A:N) is consistent with the nature of unauthorized role assignment rather than service disruption. |
| Exploit ScenarioDerived | An attacker who holds a valid OIDC token issued by a trusted identity provider accepted by the target RHACS instance - for example, a legitimate low-privilege service account with a claim value of 'dev-admin-svc' - discovers through configuration disclosure or trial-and-error that the M2M role mapping includes an unanchored pattern for 'admin'. Because the regex matches substrings, the token exchange succeeds and the attacker receives the 'admin' role's privileges. No public proof-of-concept code has been identified, but the exploitation logic is straightforward for any attacker familiar with OIDC token structure and RHACS role mapping semantics. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 10, 2026
Privilege escalation in Red Hat Advanced Cluster Security 4 (StackRox Central) allows authenticated OIDC token holders to gain unauthorized role assignments through unanchored regular expression matching in the Machine-to-Machine token exchange subsystem. When administrators configure M2M role mappings, RHACS matches incoming OIDC claim values against configured patterns without regex anchors, meaning an attacker whose claim value is a superstring of a mapped pattern - for example, 'superadmin' matching a pattern intended only for 'admin' - receives elevated roles unintentionally. No public exploit code or active exploitation has been identified at this time; the CVSS AC:H rating reflects a genuine complexity barrier requiring attacker knowledge of the target's role mapping configuration.
RemediationAI
Consult the Red Hat Security Advisory at https://access.redhat.com/security/cve/CVE-2026-19278 and Bugzilla entry 2512524 at https://bugzilla.redhat.com/show_bug.cgi?id=2512524 for the official patched release version once published - no exact fix version was confirmed in the available input data, so the patch version must be independently verified before deployment. As an immediate compensating control, administrators should audit all existing M2M role mapping configurations and manually anchor each regex pattern using ^ and $ delimiters (e.g., change the pattern 'admin' to '^admin$'), which prevents substring-based bypass with no negative impact on correctly specified mappings. Additionally, restrict the set of permitted OIDC claim types and identity providers in M2M configurations to the minimum necessary, and limit issuance of OIDC tokens accepted by the M2M endpoint to tightly controlled, monitored service accounts - this reduces the population of potential attackers even before a patch is applied.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-625 (Permissive Regular Expression), arising from the use of unanchored regular expressions in RHACS's Auth M2M token exchange subsystem. RHACS, derived from the StackRox platform, supports OIDC-based service account federation for cluster automation workflows. Administrators configure M2M role mappings that bind OIDC JWT claim values to internal RHACS roles; the system applies these patterns against incoming token claims at exchange time. Without start (^) and end ($) anchors, a pattern string such as 'reader' will match any claim containing 'reader' as a substring - including 'privileged-reader' or 'cluster-reader-admin'. The affected product is fully identified by CPE cpe:2.3:a:red_hat:red_hat_advanced_cluster_security_4:*:*:*:*:*:*:*:*, with the wildcard version component indicating all RHACS 4.x sub-releases are in scope until a confirmed patch is applied.
Know when Red Hat Advanced Cluster Security 4 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Network-exposed M2M endpoint requires a valid low-privilege OIDC token (PR:L) and attacker knowledge of mapping patterns (AC:H); successful exploitation grants unauthorized elevated roles with full C:H and I:H but no availability impact.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in StackRox/RHACS Central's Auth Machine-to-Machine (M2M) token exchange. When an administrator configures M2M role mappings, the system uses unanchored regular expressions for matching claim values. This allows an attacker with a valid OpenID Connect (OIDC) token, whose claim value is a superstring of a configured pattern, to gain unauthorized access to roles they were not intended to receive. This can lead to privilege escalation within the system.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Affected Products (CPE)CVE.org
The system CA trust store shipped in Red Hat's ca-certificates RPM packages includes eMudhra root authorities that signe
Deploy-time policy bypass in Red Hat Advanced Cluster Security for Kubernetes 4 lets a user with Kubernetes Deployment-c
Authenticated denial of service in Red Hat Advanced Cluster Security for Kubernetes (RHACS) 4 allows any user holding a
Red Hat Advanced Cluster Security for Kubernetes (RHACS) Central's SAML assertion consumer service (ACS) endpoint does n
Denial of service in claircore's Alpine APK package scanner affects Red Hat Advanced Cluster Security 4 and Red Hat Quay
A file descriptor leak in the containers/storage Go library's archive.ApplyLayer and ApplyUncompressedLayer functions ca
EUVD-2026-55617
GHSA-7c5g-xvpm-qr5v
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB