CVE-2025-3910 Org.keycloak.authentication: two factor authentication bypass
Attackers can bypass two-factor authentication requirements in Keycloak, allowing unauthorized access to accounts protected by 2FA.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-3910?
CVE-2025-3910 is a medium-severity authentication bypass vulnerability in Redhat Build of Keycloak, published on 29 Apr 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A flaw was found in Keycloak. The org.keycloak.authorization package may be vulnerable to circumventing required actions, allowing users to circumvent requirements such as setting up two-factor authentication.
Weakness: CWE-287
Which versions are affected by CVE-2025-3910?
3 open source packages ship an affected version, including org.keycloak:keycloak-services and keycloak. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.keycloak:keycloak-services Maven | All versions | 26.2.2 |
org.keycloak:keycloak-services Maven | All versions | 26.2.2 |
keycloak Bitnami | From 26.0.0 | 26.0.11 |
Products include Redhat Build of Keycloak.
How do I fix CVE-2025-3910?
Upgrade org.keycloak:keycloak-services to 26.2.2 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2025-3910 being exploited?
There is no known exploitation of CVE-2025-3910 in the wild and no public exploit code.
Other vulnerabilities in Redhat Build of Keycloak
- CVE-2026-15572 Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation
- CVE-2026-3047 Keycloak SAML Broken has Authentication Bypass by Primary Weakness
- CVE-2026-15573 Keycloak-services: keycloak-services: authorization bypass via unnormalized uri matching in pathmatcher
- CVE-2026-16102 Keycloak-services: keycloak-services: default dcr policy allows role forgery via user property mappers
- CVE-2026-1609 Org.keycloak/keycloak-quarkus-server: keycloak: unauthorized access via jwt authorization grant with disabled users
Sources
Also known as BIT-keycloak-2025-3910, ECHO-1c40-a261-f423, GHSA-5jfq-x6xp-7rw2.