Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. roadiz/openid
  4. ›
  5. CVE-2026-42206

CVE-2026-42206: OpenID Connect nonce generated but never validated — ID token replay attack

April 29, 2026

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.

References

  • github.com/advisories/GHSA-3gx8-q682-38mx
  • github.com/roadiz/core-bundle-dev-app
  • github.com/roadiz/core-bundle-dev-app/security/advisories/GHSA-3gx8-q682-38mx
  • nvd.nist.gov/vuln/detail/CVE-2026-42206

Code Behaviors & Features

Detect and mitigate CVE-2026-42206 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 2.3.43, all versions starting from 2.5.0 before 2.5.45, all versions starting from 2.6.0 before 2.6.31, all versions starting from 2.7.0 before 2.7.18

Fixed versions

  • 2.7.18
  • 2.6.31
  • 2.5.45
  • 2.3.43

Solution

Upgrade to versions 2.3.43, 2.5.45, 2.6.31, 2.7.18 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-345: Insufficient Verification of Data Authenticity

Source file

packagist/roadiz/openid/CVE-2026-42206.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 12:20:15 +0000.