# CVE-2026-125652: Keycloak PKCE bypass in login after password reset

Source: https://junglewise.ai/threats/cve-2026-125652-a-flaw-was-found-in-the-keycloak-services-component-of-keycloak  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-10. Updated: 2026-11-10  
License: CC BY 4.0 with a link back

CVE-2026-125652 · Severity: medium · CVSS 6.8 · Published 2026-11-10

Keycloak is an open-source identity provider that manages user authentication and access control for applications. A flaw allows attackers to bypass the PKCE security mechanism when a user logs in after visiting the password reset page, potentially letting an attacker intercept a login code and gain unauthorized access to user accounts without the required security verification.

Technologies: [Keycloak](https://junglewise.ai/threats/technologies/keycloak). Vendors: [Keycloak](https://junglewise.ai/threats/vendors/keycloak).

## Quick answers

**Is CVE-2026-125652 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-125652 being exploited in the wild.

**How severe is CVE-2026-125652?** Medium severity, with a CVSS score of 6.8, published 10 November 2026.

**Which products and versions are affected?** Keycloak Keycloak.

**Is there a fix for CVE-2026-125652?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-125652 attacked?** It is attacked over the network, in a hosted service.

**Am I affected by CVE-2026-125652?** Check whether you run Keycloak. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The keycloak-services component fails to evaluate client-level PKCE requirements when creating authorization sessions via the login-actions entry point. An attacker on the network can intercept an authorization code if a victim follows a specific sequence: visiting the password reset page and then logging in. The attacker can then exchange the intercepted code for tokens and impersonate the user, gaining read and write access to application data.

## Affected products

- Keycloak Keycloak

## Timeline

- 2026-11-10: disclosed

## References

- [https://access.redhat.com/downloads/content/package-browser/](https://access.redhat.com/downloads/content/package-browser/)
- [https://access.redhat.com/security/cve/CVE-2026-125652](https://access.redhat.com/security/cve/CVE-2026-125652)

## Related threats

- [Keycloak login-failure storage synchronization error in MySQL/MariaDB](https://junglewise.ai/threats/cve-2026-112201-a-flaw-was-found-in-the-login-failure-storage-component-of)
- [Keycloak server arbitrary code execution in client authorization](https://junglewise.ai/threats/cve-2026-120984-a-flaw-was-found-in-the-keycloak-server-s-client-management)
- [Keycloak token sanitization bypass in protocol mapper](https://junglewise.ai/threats/cve-2026-97848-a-flaw-was-found-in-the-token-sanitization-logic-of-keycloak-an)
- [Keycloak Dynamic Client Registration privilege escalation](https://junglewise.ai/threats/cve-2026-96547-a-flaw-was-found-in-the-dynamic-client-registration-component-of)
- [Keycloak TokenManager identity rebinding in stateless token validation](https://junglewise.ai/threats/cve-2026-96447-a-flaw-was-found-in-the-tokenmanager-component-of-keycloak-an)
