Skip to main content

Roadiz OpenID CVE-2026-42206

MEDIUM
Insufficient Verification of Data Authenticity (CWE-345)
2026-04-29 https://github.com/roadiz/core-bundle-dev-app GHSA-3gx8-q682-38mx
5.7
CVSS 4.0 · Vendor: https://github.com/roadiz/core-bundle-dev-app
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Intercept or obtain valid ID token from legitimate user
  2. Delivery
    Capture state CSRF token from original callback
  3. Exploit
    Replay both state and ID token to callback endpoint
  4. Execution
    Application validates JWT signature, expiry, issuer, audience
  5. Persist
    Application fails to validate nonce claim
  6. Impact
    Attacker 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

composer roadiz/openid fix: 2.3.43, 2.5.45, 2.6.31, 2.7.18

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

Vendor (https://github.com/roadiz/core-bundle-dev-app) PRIMARY 5.7 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
May 08, 2026 - 22:22 NVD
5.7 (MEDIUM)
CVE Published
Apr 29, 2026 - 20:51 nvd
MEDIUM

DescriptionCVE.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:

php
'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

  1. 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).
  2. 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.
  3. 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/openid package 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

EPSS Score
0.0%
Top 95% exploitable
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

Affected Products (CPE)CVE.org

pkg:composer/roadiz_openid
pkg:composer/roadiz_openid
pkg:composer/roadiz_openid
pkg:composer/roadiz_openid

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy