REDHAT-BUG-2512524: Medium severity StackRox/RHACS Central Auth Machine-to-Machine (M2M) Token Exchange vulnerability

Published Aug 7, 2026
·
Updated

A flaw was found in StackRox/RHACS Central's Auth Machine-to-Machine (M2M) token exchange. When an administrator configures M2M role mappings, the valueExpression is compiled into a regular expression without anchoring (no ^ or $ delimiters). Because Go's regexp.MatchString performs substring matching, a mapping intended to match an exact claim value instead matches any token claim that contains that value as a substring. An identity whose claim value is a superstring of the configured pattern (e.g. a branch named "main-poc" matching a mapping for "main") can exchange its third-party OIDC token for a Central access token carrying a role it was never intended to receive. The token exchange endpoint (ExchangeAuthMachineToMachineToken) is unauthenticated.

Affected Software

1 affected component
StackRox/RHACS Central Auth Machine-to-Machine (M2M) Token Exchange

Event History

Aug 7, 2026
Data Sourced
via Red Hat·03:17 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2512524?

The severity of REDHAT-BUG-2512524 is classified as medium with a risk score of 4.

2

What is the main issue described in REDHAT-BUG-2512524?

The issue involves a flaw in StackRox/RHACS Central's Auth Machine-to-Machine token exchange where the valueExpression is compiled into a regex without proper anchoring.

3

How can I mitigate the risk of REDHAT-BUG-2512524?

To mitigate the risk of REDHAT-BUG-2512524, ensure that M2M role mappings are configured to use anchored regex patterns.

4

What software is affected by REDHAT-BUG-2512524?

The affected software for REDHAT-BUG-2512524 is StackRox/RHACS Central's Auth Machine-to-Machine Token Exchange.

5

When was REDHAT-BUG-2512524 published?

REDHAT-BUG-2512524 was published on August 7, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203