CVE-2025-5416: Keycloak-core: keycloak environment information

Published May 31, 2025
·
Updated

A vulnerability has been identified in Keycloak that could lead to unauthorized information disclosure. While it requires an already authenticated user, the /admin/serverinfo endpoint can inadvertently provide sensitive environment information.

Other sources

An information disclosure vulnerability has been identified in Red Hat build of Keycloak . The /admin/serverinfo endpoint contains internal server details and returns a 401 Unauthorized error when an authenticated user attempts to access it directly.

However, the vulnerability occurs when an authenticated user logs into the system or accesses the admin console. The user's browser automatically sends a request to the /admin/serverinfo endpoint. includes sensitive server information. This response can be captured and viewed using browser developer tools or an HTTP proxy, thereby allowing any authenticated user to unintentionally access these internal server details.

Red Hat

Affected Software

2 affected components
Red Hat Keycloak
redhat keycloak

Event History

May 31, 2025
Data Sourced
via Red Hat·10:32 PM
DescriptionSeverityAffected Software
Jun 20, 2025
CVE Published
via MITRE·04:04 PM
Data Sourced
via MITRE·04:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected 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 CVE-2025-5416?

CVE-2025-5416 is classified as a medium severity vulnerability due to its potential for unauthorized information disclosure.

2

How can I fix CVE-2025-5416?

To mitigate CVE-2025-5416, ensure that access to the /admin/serverinfo endpoint is restricted to authorized users only.

3

What information can be disclosed through CVE-2025-5416?

CVE-2025-5416 can inadvertently disclose sensitive environment information to authenticated users.

4

Who is affected by CVE-2025-5416?

CVE-2025-5416 affects installations of Red Hat Keycloak that allow access to the /admin/serverinfo endpoint.

5

Is user authentication required for CVE-2025-5416 to be exploited?

Yes, CVE-2025-5416 requires that the user is already authenticated to exploit the information disclosure vulnerability.

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