keycloak-services is vulnerable to Path Traversal
49
Medium Risk
When creating a key provider component, Keycloak accepts an arbitrary filesystem path as the keystore parameter without restricting it. A realm administrator can supply different paths and observe the resulting behavior to learn which files exist and are readable by the Keycloak process. This discloses information about the host filesystem that can guide follow-on attacks. The fix restricts the keystore path so arbitrary locations can no longer be probed.
You are affected if you are using a version that falls within the vulnerable range and untrusted users hold realm administration privileges.
keycloak-services is vulnerable to Path Traversal in versions 1.0.1.Final - 26.6.3.
Upgrade the org.keycloak:keycloak-services library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant