CVE-2026-30964
CVE-2026-30964 · Webauthn Framework: allowed_origins collapses URL-like origins to host-only values, bypassing exact origin validation
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.4 · Medium · EPSS 0.2% · Fix available
- Published
- Updated
Stack: php
Affected products and versions
webauthn-framework
- Versions
- < 5.2.4: Affected
No fix published
webauthn-lib
- Versions
- < 5.2.4: Affected
No fix published
webauthn-symfony-bundle
- Versions
- < 5.2.4: Affected
No fix published
web-auth/webauthn-framework Packagist
- Versions
- 5.2.0
- 5.2.1
- 5.2.2
- 5.2.3
- Affected ranges
- ECOSYSTEM: ≥ 5.2.0, < 5.2.4
Update to 5.2.4
web-auth/webauthn-lib Packagist
- Versions
- 5.2.0
- 5.2.1
- 5.2.2
- 5.2.3
- Affected ranges
- ECOSYSTEM: ≥ 5.2.0, < 5.2.4
Update to 5.2.4
web-auth/webauthn-symfony-bundle Packagist
- Versions
- 5.2.0
- 5.2.1
- 5.2.2
- 5.2.3
- Affected ranges
- ECOSYSTEM: ≥ 5.2.0, < 5.2.4
Update to 5.2.4
Original sources
- https://github.com/web-auth/webauthn-framework/security/advisories/GHSA-f7pm-6hr8-7ggm
- https://github.com/web-auth/webauthn-framework/commit/535cc3c2dcbd9c3dfd5e00a254ad4a984e5e7839
- https://github.com/web-auth/webauthn-framework/commit/b4cd9a4394c35fcac6080fd2f84f4f58a30abc01
- https://nvd.nist.gov/vuln/detail/CVE-2026-30964