CVE-2024-39912 in Spomky-Labs Webauthn Framwork
web-auth/webauthn-lib is an open source set of PHP libraries and a Symfony bundle to allow developers to integrate that authentication mechanism into their web applications. The ProfileBasedRequestOptionsBuilder method returns allowedCredentials without any credentials if no username was found. When WebAuthn is used...
Affects 1 product from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Spomky-Labs | Webauthn Framwork | ≥ 4.5.0, < 4.9.0 |
| Symfony | — | — |
| Valid | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
web-auth/webauthn-lib is an open source set of PHP libraries and a Symfony bundle to allow developers to integrate that authentication mechanism into their web applications. The ProfileBasedRequestOptionsBuilder method returns allowedCredentials without any credentials if no username was found. When WebAuthn is used as the first or only authentication method, an attacker can enumerate usernames based on the absence of the `allowedCredentials` property in the assertion options response. This allows enumeration of valid or invalid usernames. By knowing which usernames are valid, attackers can focus their efforts on a smaller set of potential targets, increasing the efficiency and likelihood of successful attacks. This issue has been addressed in version 4.9.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-39912 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-200070-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| Published | 2024-07-15 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-204: CWE-204
Related attack patterns (CAPEC)
CAPEC-331 ICMP IP Total Length Field Probe via CWE-204
CAPEC-332 ICMP IP 'ID' Field Error Message Probe via CWE-204
CAPEC-541 Application Fingerprinting via CWE-204
CAPEC-580 System Footprinting via CWE-204
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2024-39912 in web-auth/webauthn-lib allows attackers to enumerate usernames when WebAuthn is used as the first or only authentication method due to the ProfileBasedRequestOptionsBuilder method returning allowedCredentials without any credentials if no username was found.
An attacker can exploit this vulnerability by attempting to authenticate with different usernames and observing the response from the server. If the server responds differently for existing versus non-existing usernames, the attacker can enumerate valid usernames.
Questions
What is CVE-2024-39912?
CVE-2024-39912 in web-auth/webauthn-lib allows attackers to enumerate usernames when WebAuthn is used as the first or only authentication method due to the ProfileBasedRequestOptionsBuilder method returning allowedCredentials without any credentials if no username was found.
What is the CVSS score for CVE-2024-39912?
CVE-2024-39912 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N. EPSS: 0.7%.
Is CVE-2024-39912 actively exploited?
No confirmed active exploitation of CVE-2024-39912 as of 2026-09-25.
How do I remediate CVE-2024-39912?
Priority: MEDIUM.
What systems are affected by CVE-2024-39912?
CVE-2024-39912 affects Spomky-Labs Webauthn Framwork; Symfony; Valid.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Spomky-Labs","product":"Webauthn Framwork","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.