Roadiz OpenID CVE-2026-42206
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIntercept or obtain valid ID token from legitimate user
-
DeliveryCapture state CSRF token from original callback
-
ExploitReplay both state and ID token to callback endpoint
-
ExecutionApplication validates JWT signature, expiry, issuer, audience
-
PersistApplication fails to validate nonce claim
-
ImpactAttacker authenticated as victim user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Data authenticity verification
|
| Exploitation Conditions | The vulnerability is exploitable in default configurations with no special preconditions beyond enabling OIDC authentication. Specifically: OpenID Connect SSO must be configured in the Roadiz application (enabled in standard installations that use the roadiz/openid package for SSO); the identity provider must return an ID token with a nonce claim (standard OIDC behavior); the ID token must not have expired (tokens are typically valid for 1 hour, providing a window for replay attacks). The attacker must obtain a valid ID token through passive network interception, browser history access, or referrer header leakage - all plausible attack vectors in real-world scenarios. No authentication credentials are required from the attacker. The vulnerability does not require non-standard configuration or special deployment modes - it exists in the default OIDC flow. The primary limiting factor is the token validity window (typically 1 hour); tokens older than this window will be rejected by timestamp validation. A secondary limiting factor is that the attacker must know or guess the target user's identifier within the token, but this is typically included in the token claims and is known to attackers who can intercept the token. |
| Impact | This vulnerability presents a high real-world risk despite the absence of CVSS/EPSS scoring in the provided data. Multiple risk signals confirm severity: (1) Proof-of-concept exists demonstrating the attack chain is reliable and reproducible - an attacker need only obtain a valid ID token (through network interception, browser history leaks, or referrer header exposure) and replay it against the application to authenticate as the victim; (2) Violation of established cryptographic standards - the OIDC Core 1.0 specification explicitly mandates nonce validation, indicating the security control is well-established and the gap is clearly a defect rather than a novel risk scenario; (3) Multiple attack vectors are documented: token replay (intercept a legitimate token and reuse it within its validity window) and token injection (a malicious or compromised identity provider could inject a mismatched nonce and the application would silently accept it, affecting multiple concurrent sessions); (4) No special configuration required - the vulnerability exists in the default authentication flow for any Roadiz application using roadiz/openid with OIDC SSO enabled. The attack vector is network-accessible (attacker can obtain tokens from network traffic), complexity is low (token replay requires only storage and resubmission), and no privilege escalation is required (the attacker authenticates as the intercepted user). The absence of CVSS/EPSS data appears to be a limitation of the source rather than an indicator of low risk; this is a cryptographic bypass vulnerability in a widely-used authentication package. Any application using vulnerable versions exposes all SSO users to authentication bypass. The validity window of ID tokens (typically 1 hour) defines the exploitation window for replay attacks. |
| Exploit ScenarioDerived | An attacker conducting network reconnaissance on a Roadiz deployment captures an OIDC ID token from a legitimate user's browser (via packet sniffing on unencrypted redirects, browser history inspection on a shared system, or referrer header leakage). The attacker replays the captured token to the Roadiz application's callback endpoint, providing the same state and token values as the original authentication. Since the application never validates the nonce claim against a stored value, the JWT passes all validation checks (signature, expiry, issuer, audience) and the attacker is authenticated as the victim user. Within one token validity window (typically one hour), the same token can be reused repeatedly. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Roadiz OpenID Connect authentication fails to store and validate the nonce parameter, allowing attackers to replay valid ID tokens or inject tokens from compromised identity providers to impersonate users. The package generates a nonce during authorization request initiation but never validates the returned nonce claim in the ID token, violating OIDC Core 1.0 specification requirements. Publicly available proof-of-concept demonstrates token replay within the token's validity window, affecting all Roadiz applications using the roadiz/openid package versions before 2.7.18, 2.6.31, 2.5.45, or 2.3.43.
RemediationAI
Upgrade roadiz/openid to version 2.7.18 or later (recommended for users on 2.7.x branch), 2.6.31 or later (for 2.6.x branch), 2.5.45 or later (for 2.5.x branch), or 2.3.43 or later (for legacy 2.3.x installations). The patched versions implement proper nonce storage in the session/cache during authorization request generation and validate the nonce claim in the returned ID token JWT before accepting authentication. Update via Composer: composer update roadiz/openid to pull the latest compatible patched version. No workarounds are available for applications that cannot immediately patch; however, as a temporary but incomplete compensating control, disable OpenID Connect SSO (reverting to alternative authentication methods) until patches can be deployed - this eliminates the attack vector entirely but may disrupt user workflows. Apply patches as soon as feasible, as the attack requires only token interception (a passive network-based attack) and is effective against all active user sessions within the token validity window. Refer to vendor advisory at https://github.com/advisories/GHSA-3gx8-q682-38mx for detailed patch notes and compatibility information.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in composer
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenID Connect (OIDC) is a delegation protocol layered on OAuth 2.0 that standardizes authentication flows using JSON Web Tokens (JWT). The nonce parameter is a cryptographic mitigation against token replay and injection attacks, required by OIDC Core 1.0 Section 3.1.3.7. In the roadiz/openid package (Composer package pkg:composer/roadiz/openid), the OAuth2LinkGenerator generates a random nonce token and includes it in the authorization request to the identity provider, but the implementation has three critical gaps: the nonce is never persisted to session or cache storage; the OpenIdJwtConfigurationFactory JWT validation chain omits nonce constraint validation, checking only expiry (LooseValidAt), audience (PermittedFor), issuer (IssuedBy), and optional hosted domain and userinfo endpoint constraints; and OpenIdAuthenticator::authenticate() performs state CSRF token validation correctly but never retrieves a stored nonce or compares it against the nonce claim in the returned ID token. This violates the OIDC specification requirement that clients validate the nonce claim if present in the authorization request, creating a gap in the validation chain that allows cryptographically valid but semantically invalid tokens to be accepted. The root cause is classified under CWE-345 (Insufficient Verification of Data Authenticity).
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (https://github.com/roadiz/core-bundle-dev-app) · only source for this CVE.
CVSS VectorVendor: https://github.com/roadiz/core-bundle-dev-app
Lifecycle Timeline
2DescriptionCVE.org
Summary
The roadiz/openid package generates an OIDC nonce in OAuth2LinkGenerator::generate() and includes it in the authorization request sent to the identity provider, but never stores it and never validates it on the callback. The OpenIdJwtConfigurationFactory validation chain does not include a nonce constraint, and OpenIdAuthenticator::authenticate() never checks the nonce claim in the returned ID token against a stored value.
Details
In src/OAuth2LinkGenerator.php, a nonce is created and sent to the IdP:
'nonce' => $this->tokenGenerator->generateToken(),However, this value is neither stored in session, cache, nor any other persistent store.
In src/OpenIdJwtConfigurationFactory.php, the JWT validation constraints are:
LooseValidAt(expiry)PermittedFor(audience)IssuedBy(issuer)HostedDomain(optional)UserInfoEndpoint(optional)
No nonce constraint is present.
In src/Authentication/OpenIdAuthenticator.php, the authenticate() method validates the state CSRF token correctly (fixed in v2.7.10), but never retrieves a stored nonce or compares it against the nonce claim in the ID token.
PoC
- Obtain a valid ID token from a legitimate OIDC flow for a target user (e.g. via network interception, browser history leak, or referrer header exposure on a non-HTTPS redirect).
- Replay the ID token: Since the nonce in the token is never cross-checked against a client-stored value, the token passes all validation constraints as long as it has not expired.
- Result: An attacker can authenticate as the victim within the ID token's validity window.
Additionally, in an authorization code flow with multiple concurrent sessions, a malicious IdP or a compromised token endpoint could inject a token with a mismatched nonce, and the application would accept it silently.
Impact
- ID token replay attacks: Valid but intercepted tokens can be reused for authentication within their validity period.
- Token injection attacks: A malicious or compromised identity provider can inject tokens across sessions without detection.
- Affects any Roadiz application using the
roadiz/openidpackage with OpenID Connect SSO.
The OIDC Core 1.0 specification (Section 3.1.3.7) explicitly requires clients to verify the nonce claim if it was present in the authorization request.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
Affected Products (CPE)CVE.org
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
GHSA-3gx8-q682-38mx
NVD
CVE.org
EPSS
Exploit-DB