REDHAT-BUG-2481877: Medium severity Red Hat Keycloak vulnerability

Published May 27, 2026
·
Updated

A flaw was found in Keycloak. An authenticated user with low privileges can exploit this vulnerability by sending an oversized subjecttoken JSON Web Token (JWT) to the TokenEndpoint. When the token exceeds a 4000-character limit, it is silently dropped, causing the system to fall back to client credentials. This allows the user to gain the permissions of the client's service account, leading to privilege escalation.

Affected Software

1 affected component
Red Hat Keycloak

Event History

May 27, 2026
Data Sourced
via Red Hat·12:41 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-2481877?

The severity of REDHAT-BUG-2481877 is classified as medium (4).

2

How do I fix REDHAT-BUG-2481877?

To fix REDHAT-BUG-2481877, ensure that application logic manages JWT tokens properly and limits their size to below 4000 characters.

3

Who is affected by REDHAT-BUG-2481877?

Authenticated users with low privileges may be affected by REDHAT-BUG-2481877 if they exploit the vulnerability.

4

What is the impact of REDHAT-BUG-2481877?

The impact of REDHAT-BUG-2481877 is that oversized subject_token JWTs are silently dropped, potentially leading to inadequate authentication mechanisms.

5

When was REDHAT-BUG-2481877 published?

REDHAT-BUG-2481877 was published on May 27, 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