CVE-2026-30964 Webauthn Framework: allowed_origins collapses URL-like origins to host-only values, bypassing exact origin validation

Medium 5.4 Published Updated

Attackers can bypass WebAuthn origin validation by exploiting host-only matching, allowing unauthorized authentication if allowed_origins is configured.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-30964?

CVE-2026-30964 is a medium-severity vulnerability in web-auth webauthn-framework, published on 10 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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.

Weakness: CWE-346

Which versions are affected by CVE-2026-30964?

6 open source packages ship an affected version, including web-auth/webauthn-framework, web-auth/webauthn-lib and web-auth/webauthn-symfony-bundle. It affects 3 products.

PackageAffectedFixed in
web-auth/webauthn-framework PackagistFrom 5.2.05.2.4
web-auth/webauthn-framework PackagistFrom 5.2.05.2.4
web-auth/webauthn-lib PackagistFrom 5.2.05.2.4
web-auth/webauthn-lib PackagistFrom 5.2.05.2.4
web-auth/webauthn-symfony-bundle PackagistFrom 5.2.05.2.4
web-auth/webauthn-symfony-bundle PackagistFrom 5.2.05.2.4

Products include Spomky-Labs Webauthn-Lib, Spomky-Labs Webauthn-Symfony-Bundle, Spomky-Labs Webauthn Framwork.

How do I fix CVE-2026-30964?

Upgrade web-auth/webauthn-framework to 5.2.4 or later.

Is CVE-2026-30964 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-30964 exists.

Sources

Also known as GHSA-f7pm-6hr8-7ggm.

Is CVE-2026-30964 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free