CVE-2026-19278

Stackrox: stackrox: privilege escalation via unanchored regular expressions in auth m2m role mappings

Published Aug 10, 2026 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Workaround

Administrators should review and update their Auth Machine-to-Machine (M2M) role mappings in StackRox/RHACS Central to ensure that `valueExpression` regular expressions are properly anchored (e.g., by adding `^` and `$` delimiters). This ensures exact matching of claim values and prevents unintended role assignments. Reloading the configuration or restarting the Central service may be required for changes to take effect.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Stackrox: stackrox: privilege escalation via unanchored regular expressions in auth m2m role mappings
First Time appeared Redhat
Redhat advanced Cluster Security
Weaknesses CWE-625
CPEs cpe:/a:redhat:advanced_cluster_security:4
Vendors & Products Redhat
Redhat advanced Cluster Security
References
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 11, 2026, 6:25 AM
Reserved
Aug 7, 2026, 3:16 PM
Status
Awaiting Analysis
Published
Aug 10, 2026, 1:17 PM
Modified
Oct 23, 2026, 8:10 PM
Severity
Moderate
Public date
Aug 7, 2026, 9:41 AM