# CVE-2024-39912: Enumeration of valid usernames in web-auth/webauthn-lib

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2024-07-15T16:37:49.000Z
- Modified: 2026-09-10T03:50:16.366Z
- Also known as: GHSA-875x-g8p7-5w27
- Weaknesses: CWE-204
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- web-auth webauthn-framework: >= 4.5.0, < 4.9.0
- spomky-labs webauthn_framwork: from 4.5.0 before 4.9.0
- web-auth/webauthn-lib (Packagist): from 4.5.0 before 4.9.0
- web-auth/webauthn-framework (Packagist): from 4.5.0 before 4.9.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/web-auth/webauthn-framework/security/advisories/GHSA-875x-g8p7-5w27> (web)
- <https://github.com/web-auth/webauthn-framework/commit/64de11f6cddc71e56c76e0cc4573bf94d02be045> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-39912> (advisory)
- <https://github.com/web-auth/webauthn-framework/commit/a9d1352897fba552e659e1445a771dec2d4ed05a> (web)
- <https://github.com/web-auth/webauthn-lib/commit/b6798de27cdedd8681fe4c9b13ace0ff2456d18b> (web)
- <https://github.com/web-auth/webauthn-framework> (package)

## Sources

- CVE List: [CVE-2024-39912](https://www.cve.org/CVERecord?id=CVE-2024-39912), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-875x-g8p7-5w27](https://github.com/advisories/GHSA-875x-g8p7-5w27), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-39912](https://nvd.nist.gov/vuln/detail/CVE-2024-39912), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-39912 · Whole record: https://cve.day/CVE-2024-39912.json · Rebuilt by cve.day 2026-11-25T22:58:42.943Z
