Update dependency web-auth/webauthn-lib to v5 [SECURITY]#627
Open
renovate[bot] wants to merge 1 commit intodevelopfrom
Open
Update dependency web-auth/webauthn-lib to v5 [SECURITY]#627renovate[bot] wants to merge 1 commit intodevelopfrom
renovate[bot] wants to merge 1 commit intodevelopfrom
Conversation
|
|
Overall Grade |
Security Reliability Complexity Hygiene |
Code Review Summary
| Analyzer | Status | Updated (UTC) | Details |
|---|---|---|---|
| PHP | Mar 10, 2026 4:40a.m. | Review ↗ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^4→^5GitHub Vulnerability Alerts
CVE-2026-30964
Summary
When
allowed_originsis configured,CheckAllowedOriginsreduces URL-like values to theirhostand accepts on host match. This makes exact origin policies impossible to express: scheme and port differences are lost for URL-like entries.Details
CheckAllowedOriginsstores each configured allowed origin as:parse_url($allowedOrigin)['host'] ?? $allowedOriginand later reduces the received
clientDataJSON.originthe same way:parse_url($C->origin)['host'] ?? $C->originIf the reduced value matches, the method returns early. As a result, for the normal
allowed_originspath, the later HTTPS check is not reached.This differs from WebAuthn Level 2, which requires verifying that
C.originmatches the RP’s origin, separately from verifying thatauthData.rpIdHashmatches the expected RP ID.Code:
Spec:
PoC
Configuration:
Send a registration or authentication response whose
clientDataJSON.originis:Observed result:
the response is accepted by
CheckAllowedOrigins, because both values are reduced tologin.example.com.Expected result:
the response should be rejected, because
https://login.example.com:8443andhttps://login.example.com:9443are different origins.Impact
This is an origin validation error affecting deployments that use
allowed_origins.It bypasses the separate exact-origin check required by WebAuthn. The most practical browser-facing example is same-host / different-port origin confusion. In non-browser or custom clients, scheme confusion for URL-like entries may also be relevant.
Release Notes
web-auth/webauthn-lib (web-auth/webauthn-lib)
v5.2.4Compare Source
v5.2.3Compare Source
v5.2.2Compare Source
v5.2.1Compare Source
v5.2.0Compare Source
v5.1.3Compare Source
v5.1.2Compare Source
v5.1.1Compare Source
v5.1.0Compare Source
v5.0.1Compare Source
v5.0.0Compare Source
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.