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

Low 2.7 Published Updated

An authenticated user can access the /admin/serverinfo endpoint to retrieve sensitive environment information from Keycloak.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-5416?

CVE-2025-5416 is a low-severity vulnerability in Redhat Keycloak, published on 20 Jun 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

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.

Weakness: CWE-497

Which versions are affected by CVE-2025-5416?

It affects 1 product.

Products include Redhat Keycloak.

How do I fix CVE-2025-5416?

No fix has been published for CVE-2025-5416 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-5416 being exploited?

There is no known exploitation of CVE-2025-5416 in the wild and no public exploit code.

All Redhat Keycloak vulnerabilities

Sources

Also known as GHSA-vf3w-mcmx-rx83.

Is CVE-2025-5416 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free