{"id":"CVE-2026-19278","published":"2026-08-10T12:13:40Z","modified":"2026-08-11T06:25:18Z","title":"Stackrox: stackrox: privilege escalation via unanchored regular expressions in auth m2m role mappings","vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00345,"percentile":0.2053,"provenance":"source"},"cwes":[{"id":"CWE-625","name":"Permissive Regular Expression"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-19278","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2512524","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":8.9,"factors":[{"name":"EPSS percentile","points":4.11},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4","versions":["all versions"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-08-10T18:09:06.447228Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-55617","exploited":false,"provenance":"source"}}