Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. web-auth/webauthn-lib
  4. ›
  5. CVE-2026-30964

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

March 10, 2026

When allowed_origins is configured, CheckAllowedOrigins reduces URL-like values to their host and accepts on host match. This makes exact origin policies impossible to express: scheme and port differences are lost for URL-like entries.

References

  • github.com/advisories/GHSA-f7pm-6hr8-7ggm
  • github.com/web-auth/webauthn-framework
  • github.com/web-auth/webauthn-framework/commit/535cc3c2dcbd9c3dfd5e00a254ad4a984e5e7839
  • github.com/web-auth/webauthn-framework/security/advisories/GHSA-f7pm-6hr8-7ggm
  • nvd.nist.gov/vuln/detail/CVE-2026-30964

Code Behaviors & Features

Detect and mitigate CVE-2026-30964 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.2.4

Fixed versions

  • 5.2.4

Solution

Upgrade to version 5.2.4 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-346: Origin Validation Error

Source file

packagist/web-auth/webauthn-lib/CVE-2026-30964.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 25 Mar 2026 12:17:13 +0000.