CVE-2024-12225

Io.quarkus:quarkus-security-webauthn: quarkus webauthn unexpected authentication bypass

Published May 6, 2025 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
A vulnerability was found in Quarkus in the quarkus-security-webauthn module. The Quarkus WebAuthn module publishes default REST endpoints for registering and logging users in while allowing developers to provide custom REST endpoints. When developers provide custom REST endpoints, the default endpoints remain accessible, potentially allowing attackers to obtain a login cookie that has no corresponding user in the Quarkus application or, depending on how the application is written, could correspond to an existing user that has no relation with the current attacker, allowing anyone to log in as an existing user by just knowing that user's user name.

Remediation

Vendor Workaround

It is possible to mitigate this issue by disabling the default endpoints after creating a custom one. For example with the call for: import io.vertx.ext.web.Router; import jakarta.enterprise.event.Observes; public class Startup { public void init(@Observes Router router) { System.err.println("Securing WebAuthn default controller"); router.post("/q/webauthn/callback").order(0).handler(rc -> rc.fail(404)); } }

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-54455 A vulnerability was found in Quarkus in the quarkus-security-webauthn module. The Quarkus WebAuthn module publishes default REST endpoints for registering and logging users in while allowing developers to provide custom REST endpoints. When developers provide custom REST endpoints, the default endpoints remain accessible, potentially allowing attackers to obtain a login cookie that has no corresponding user in the Quarkus application or, depending on how the application is written, could correspond to an existing user that has no relation with the current attacker, allowing anyone to log in as an existing user by just knowing that user's user name.
History
Type Values Removed Values Added
First Time appeared Quarkus
Quarkus quarkus
CPEs cpe:2.3:a:quarkus:quarkus:*:*:*:*:*:*:*:*
Vendors & Products Quarkus
Quarkus quarkus
Type Values Removed Values Added
Metrics epss

{'score': 0.00043}

epss

{'score': 0.00045}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title io.quarkus:quarkus-security-webauthn: Quarkus WebAuthn Unexpected Authentication Bypass Io.quarkus:quarkus-security-webauthn: quarkus webauthn unexpected authentication bypass
First Time appeared Redhat
Redhat quarkus
CPEs cpe:/a:redhat:quarkus:3
Vendors & Products Redhat
Redhat quarkus
References
Type Values Removed Values Added
Description A vulnerability was found in Quarkus in the quarkus-security-webauthn module. The Quarkus WebAuthn module publishes default REST endpoints for registering and logging users in while allowing developers to provide custom REST endpoints. When developers provide custom REST endpoints, the default endpoints remain accessible, potentially allowing attackers to obtain a login cookie that has no corresponding user in the Quarkus application or, depending on how the application is written, could correspond to an existing user that has no relation with the current attacker, allowing anyone to log in as an existing user by just knowing that user's user name.
Title io.quarkus:quarkus-security-webauthn: Quarkus WebAuthn Unexpected Authentication Bypass
Weaknesses CWE-288
References
Metrics threat_severity

None

cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

threat_severity

Important

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 20, 2025, 7:12 AM
Reserved
Dec 5, 2024, 3:01 AM
Status
Analyzed
Published
May 6, 2025, 8:15 PM
Modified
Jun 17, 2026, 6:59 AM
Severity
Important
Public date
Feb 28, 2025, 12:00 AM