CVE-2024-10492: Keycloak Path Traversal Vulnerability Due to External Control of File Name or Path
A vulnerability was found in Keycloak. A user with high privileges could read sensitive information from a Vault file that is not within the expected context. This attacker must have previous high access to the Keycloak server in order to perform resource creation, for example, an LDAP provider configuration and set up a Vault read file, which will only inform whether that file exists or not.
Published Nov 25, 2024
Affected packages
org.keycloak:keycloak-quarkus-server
- Ecosystem
- Maven
- Affected
- < 24.0.9
- Fixed in
- 26.0.6
- Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-quarkus-server
org.keycloak:keycloak-quarkus-server
- Ecosystem
- Maven
- Affected
- >= 25.0.0, < 26.0.6
- Fixed in
- 26.0.6
- Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-quarkus-server
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A vulnerability was found in Keycloak. A user with high privileges could read sensitive information from a Vault file that is not within the expected context. This attacker must have previous high access to the Keycloak server in order to perform resource creation, for example, an LDAP provider configuration and set up a Vault read file, which will only inform whether that file exists or not.
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-5545-r4hg-rj4m
- https://nvd.nist.gov/vuln/detail/CVE-2024-10492
- https://github.com/keycloak/keycloak/issues/35215
- https://github.com/keycloak/keycloak/commit/d60cb9aaefc4035d322862edd8f9f252af6da951
- https://access.redhat.com/errata/RHSA-2024:10175
- https://access.redhat.com/errata/RHSA-2024:10176
- https://access.redhat.com/errata/RHSA-2024:10177
- https://access.redhat.com/errata/RHSA-2024:10178
- https://access.redhat.com/security/cve/CVE-2024-10492
- https://bugzilla.redhat.com/show_bug.cgi?id=2322447
- https://github.com/advisories/GHSA-5545-r4hg-rj4m
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2025-11537
Keycloak logs sensitive headers
medium5.0Feb 10, 2026CVE-2026-0976
Keycloak has an improper input validation vulnerability
low3.7No fixJan 15, 2026CVE-2025-10939
Keycloak unable to restrict access to the admin console
low3.7Dec 2, 2025CVE-2024-10973
Keycloak on Quarkus CLI option for encrypted JGroups ignored
medium5.7Feb 5, 2025CVE-2024-11734
Denial of Service in Keycloak Server via Security Headers
medium6.5Jan 13, 2025CVE-2024-11736
Keycloak allows unrestricted admin use of system and environment variables
medium4.9Jan 13, 2025
