CVE-2025-3910 Org.keycloak.authentication: two factor authentication bypass

Medium 5.4 Published Updated

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.

PackageAffectedFixed in
org.keycloak:keycloak-services MavenAll versions26.2.2
org.keycloak:keycloak-services MavenAll versions26.2.2
keycloak BitnamiFrom 26.0.026.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.

All Redhat Build of Keycloak vulnerabilities

Sources

Also known as BIT-keycloak-2025-3910, ECHO-1c40-a261-f423, GHSA-5jfq-x6xp-7rw2.

Is CVE-2025-3910 in your software?

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

Check your SBOMs for free