{"id":"CVE-2026-19278","state":"PUBLISHED","title":"Stackrox: stackrox: privilege escalation via unanchored regular expressions in auth m2m role mappings","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.","publishedAt":"2026-08-10T12:13:40.169Z","updatedAt":"2026-08-11T06:25:18.312Z","severity":{"score":6.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"redhat"},"assigner":"redhat","products":["Red Hat Red Hat Advanced Cluster Security 4"],"affected":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4","packageName":"advanced-cluster-security/rhacs-main-rhel8","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:advanced_cluster_security:4"]}],"references":["https://access.redhat.com/security/cve/CVE-2026-19278","https://bugzilla.redhat.com/show_bug.cgi?id=2512524"],"weaknesses":["CWE-625"],"ingestedAt":"2026-10-29T20:11:10.572Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/19xxx/CVE-2026-19278.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-19278","state":"PUBLISHED","datePublished":"2026-08-10T12:13:40.169Z","dateUpdated":"2026-08-11T06:25:18.312Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2026-08-07T15:16:51.217Z"},"containers":{"cna":{"title":"Stackrox: stackrox: privilege escalation via unanchored regular expressions in auth m2m role mappings","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4","packageName":"advanced-cluster-security/rhacs-main-rhel8","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:advanced_cluster_security:4"]}],"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","name":"RHBZ#2512524","tags":["issue-tracking","x_refsource_REDHAT"]}],"metrics":[{"other":{"content":{"value":"Moderate","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-625","description":"Permissive Regular Expression","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2026-08-11T06:25:18.312Z"},"datePublic":"2026-08-07T09:41:42.000Z","x_redhatCweChain":"CWE-625: Permissive Regular Expression","workarounds":[{"lang":"en","value":"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."}],"timeline":[{"lang":"en","time":"2026-08-07T09:41:42.000Z","value":"Reported to Red Hat."},{"lang":"en","time":"2026-08-07T09:41:42.000Z","value":"Made public."}],"credits":[{"lang":"en","value":"Red Hat would like to thank Sergey (@r0binak) Kanibor (Luntry) for reporting this issue."}],"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-10T18:09:06.447228Z","id":"CVE-2026-19278","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-10T18:09:21.966Z"}}]}}}