Vulnerability · Published Mar 10, 2026 · Assigned by GitHub_M
CVE-2026-30964Webauthn Framework: allowed_origins collapses URL-like origins to host-only values, bypassing exact origin validation
Medium 5.4
In plain English
A medium-severity security flaw in webauthn-framework from web-auth. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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. Prior to 5.2.4, when allowed_origins is configured, CheckAllowedOrigins reduces URL-like values to their host component and accepts on host match alone. This makes exact origin policies impossible to express: scheme and port differences are silently ignored. This vulnerability is fixed in 5.2.4.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | web-auth/webauthn-framework | 5.2.4 | GHSA-f7pm-6hr8-7ggm |
| Packagist | web-auth/webauthn-lib | 5.2.4 | GHSA-f7pm-6hr8-7ggm |
| Packagist | web-auth/webauthn-symfony-bundle | 5.2.4 | GHSA-f7pm-6hr8-7ggm |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| web-auth | webauthn-framework | < 5.2.4 |
| web-auth | webauthn-lib | < 5.2.4 |
| web-auth | webauthn-symfony-bundle | < 5.2.4 |
Weakness: CWE-346 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
References
- https://github.com/web-auth/webauthn-framework/security/advisories/GHSA-f7pm-6hr8-7ggm x_refsource_CONFIRM
- https://github.com/web-auth/webauthn-framework/commit/535cc3c2dcbd9c3dfd5e00a254ad4a984e5e7839 x_refsource_MISC
- https://github.com/web-auth/webauthn-framework/commit/b4cd9a4394c35fcac6080fd2f84f4f58a30abc01 x_refsource_MISC