OpenID Connect Generic Client <= 3.11.6 - Unauthenticated Authentication Bypass via Existing Account Linking

High 8.1 CWE-289Fixed in 3.11.7
ID
WPSEC-2026-4691
Plugin
OpenID Connect Generic Client (daggerhart-openid-connect-generic)
Affected
all versions before 3.11.7
Remediation
Update to 3.11.7 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-289
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-12-05
Attack surface
OpenID Connect Generic Client on WPSec AttackSurface
Fix released
Published

Description

The OpenID Connect Generic Client plugin for WordPress is vulnerable to Authentication Bypass via the Link Existing Users feature in all versions up to, and including, 3.11.6. This is due to the plugin finding the account to link with username_exists() on the sanitized username claim or with email_exists() on the claimed email. Neither lookup checks that the matched account's stored user login or email is the same as the claimed value, so a different name or address can match through sanitization or a case- and accent-insensitive database comparison. The plugin also accepts the 'email_verified' claim even when the email address being linked comes from a claim other than 'email', through the email format setting. This makes it possible for unauthenticated attackers who control their claims at the configured identity provider to have their identity linked to an existing WordPress account, such as an administrator, and log in as that user when the site has enabled linking of existing users.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0