OpenID Connect Generic Client <= 3.11.6 - Unauthenticated Authentication Bypass via Subject Identity User Lookup

High 8.1 CWE-289Fixed in 3.11.7
ID
WPSEC-2026-4692
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 subject identity user lookup in all versions up to, and including, 3.11.6. This is due to the get_user_by_identity() function finding the linked WordPress user with a user meta query, which the database compares without regard to letter case or accents (and may ignore trailing spaces), and then returning the first result without checking that the stored subject identity exactly matches the 'sub' claim of the authenticated identity. This makes it possible for unauthenticated attackers who hold an account at the configured identity provider whose subject identifier only differs in this way from another user's to log in as that WordPress user, possibly an administrator.

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