CVE-2026-19278: Permissive Regular Expression in Red Hat Red Hat Advanced Cluster Security 4
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.
AI Analysis
Technical Summary
The vulnerability in StackRox/RHACS Central's Auth M2M token exchange is due to unanchored regular expressions used for matching claim values in role mappings. This permissive matching allows attackers possessing a valid OIDC token with a claim value that is a superstring of a configured pattern to obtain unauthorized roles, resulting in privilege escalation. The issue stems from substring matching rather than exact matching of claim values. The CVSS v3.1 score is 6.8 (medium severity) with network attack vector, high attack complexity, low privileges required, no user interaction, unchanged scope, and high confidentiality and integrity impact. The vendor advisory recommends anchoring regular expressions with delimiters such as ^ and $ to enforce exact matching and prevent exploitation. No official patch or fix has been published yet, and administrators must manually update configurations and reload or restart services.
Potential Impact
An attacker with a valid OIDC token can exploit the unanchored regular expression matching to gain unauthorized roles, leading to privilege escalation within Red Hat Advanced Cluster Security 4. This compromises confidentiality and integrity by allowing access beyond intended permissions. Availability is not impacted. The attack requires the attacker to have low privileges and access to a trusted identity provider to obtain a suitable token. The flaw depends on administrator-configured M2M role mappings using unanchored patterns.
Mitigation Recommendations
No official patch or fix is currently confirmed. Administrators should immediately review and update their Auth M2M role mappings in StackRox/RHACS Central to ensure that all `valueExpression` regular expressions are properly anchored with ^ and $ delimiters to enforce exact matching of claim values. After updating, reload the configuration or restart the Central service for changes to take effect. This configuration change mitigates the vulnerability by preventing substring matching that leads to unauthorized role assignments.
CVE-2026-19278: Permissive Regular Expression in Red Hat Red Hat Advanced Cluster Security 4
Description
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.
CVSS v3.1
Score 6.8medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in StackRox/RHACS Central's Auth M2M token exchange is due to unanchored regular expressions used for matching claim values in role mappings. This permissive matching allows attackers possessing a valid OIDC token with a claim value that is a superstring of a configured pattern to obtain unauthorized roles, resulting in privilege escalation. The issue stems from substring matching rather than exact matching of claim values. The CVSS v3.1 score is 6.8 (medium severity) with network attack vector, high attack complexity, low privileges required, no user interaction, unchanged scope, and high confidentiality and integrity impact. The vendor advisory recommends anchoring regular expressions with delimiters such as ^ and $ to enforce exact matching and prevent exploitation. No official patch or fix has been published yet, and administrators must manually update configurations and reload or restart services.
Potential Impact
An attacker with a valid OIDC token can exploit the unanchored regular expression matching to gain unauthorized roles, leading to privilege escalation within Red Hat Advanced Cluster Security 4. This compromises confidentiality and integrity by allowing access beyond intended permissions. Availability is not impacted. The attack requires the attacker to have low privileges and access to a trusted identity provider to obtain a suitable token. The flaw depends on administrator-configured M2M role mappings using unanchored patterns.
Mitigation Recommendations
No official patch or fix is currently confirmed. Administrators should immediately review and update their Auth M2M role mappings in StackRox/RHACS Central to ensure that all `valueExpression` regular expressions are properly anchored with ^ and $ delimiters to enforce exact matching of claim values. After updating, reload the configuration or restart the Central service for changes to take effect. This configuration change mitigates the vulnerability by preventing substring matching that leads to unauthorized role assignments.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-08-07T15:16:51.217Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-19278","vendor":"Red Hat"}]
Threat ID: 6a79c3abbf8831d539a740ed
Added to database: 08/10/2026, 12:27:23 UTC
Last enriched: 08/10/2026, 12:43:11 UTC
Last updated: 08/10/2026, 23:58:56 UTC
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.