REDHAT-BUG-2512146: High severity stolostron/search-v2-api vulnerability

Published Aug 6, 2026
·
Updated

The authentication middleware in search-v2-api unconditionally skips authentication when the request carries an Upgrade: websocket header (pkg/rbac/authnMiddleware.go:21). The /federated subrouter applies only AuthenticateUser before HandleFederatedRequest, which is a plain JSON handler that never validates the WebSocket handshake, never re-checks the token, and never consults GetUserData. An unauthenticated attacker can send a standard HTTP POST to /federated with Upgrade: websocket to bypass authentication and query federated search results across all configured remote managed hubs.

Precondition: FEATUREFEDERATEDSEARCH=true (default off; enabled for Global Hub deployments).

Upstream: stolostron/search-v2-api

Affected Software

1 affected component
stolostron/search-v2-api

Event History

Aug 6, 2026
Data Sourced
via Red Hat·07:34 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-2512146?

The severity of REDHAT-BUG-2512146 is classified as high, with a score of 7.

2

What is the risk associated with REDHAT-BUG-2512146?

REDHAT-BUG-2512146 has a risk level of 33, indicating a significant potential impact if exploited.

3

What software is affected by REDHAT-BUG-2512146?

The vulnerability REDHAT-BUG-2512146 affects the stolostron/search-v2-api software.

4

How does REDHAT-BUG-2512146 affect authentication?

REDHAT-BUG-2512146 allows unauthenticated access when a request includes an 'Upgrade: websocket' header.

5

How do I fix REDHAT-BUG-2512146?

To remediate REDHAT-BUG-2512146, ensure that authentication is enforced for WebSocket upgrade requests.

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