6.8medium
Stackrox: stackrox: privilege escalation via unanchored regular expressions in auth m2m role mappings
- Severity
- 6.8medium CVSS:3.1 by redhat
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| advanced-cluster-security/rhacs-main-rhel8 | Not specified | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Se encontró un fallo en el intercambio de tokens Auth Máquina a Máquina (M2M) de StackRox/RHACS Central. Cuando un administrador configura mapeos de roles M2M, el sistema utiliza expresiones regulares no ancladas para hacer coincidir los valores de las reclamaciones. Esto permite a un atacante con un token OpenID Connect (OIDC) válido, cuyo valor de reclamación es una supercadena de un patrón configurado, obtener acceso no autorizado a roles que no estaban destinados a recibir. Esto puede conducir a una escalada de privilegios dentro del sistema.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-19278 changed 2026-08-11 | CVE Terms of Use |
| NVD | CVE-2026-19278 changed 2026-10-23 | Public domain |