Webauthn Framework: allowed_origins collapses URL-like origins to host-only values, bypassing exact origin validation
Summary
| CVE | CVE-2026-30964 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-03-10 18:18:55 UTC |
| Updated | 2026-05-07 18:35:56 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.4 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
EPSS: 0.000190000 probability, percentile 0.052860000 (date 2026-05-12)
Problem Types: CWE-346 | CWE-346 CWE-346: Origin Validation Error
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Spomky-labs | Webauthn-lib | All | All | All | All |
| Application | Spomky-labs | Webauthn-symfony-bundle | All | All | All | All |
| Application | Spomky-labs | Webauthn Framwork | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Web-auth | Webauthn-framework | affected < 5.2.4 | Not specified |
| CNA | Web-auth | Webauthn-lib | affected < 5.2.4 | Not specified |
| CNA | Web-auth | Webauthn-symfony-bundle | affected < 5.2.4 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/web-auth/webauthn-framework/commit/b4cd9a4394c35fcac6080fd2f8... | [email protected] | github.com | Patch |
| github.com/web-auth/webauthn-framework/security/advisories/GHSA-f7pm-6hr... | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | Exploit, Vendor Advisory |
| github.com/web-auth/webauthn-framework/commit/535cc3c2dcbd9c3dfd5e00a254... | [email protected] | github.com | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.