CVE-2026-122058: Consumer configuration access bypass in Drupal Simple OAuth & OpenID Connect
A critical authorization vulnerability in the Drupal Simple OAuth (OAuth2) & OpenID Connect module allows users with consumer creation or editing permissions to configure malicious OAuth consumers. Insufficient restrictions on consumer access settings can enable these users to obtain tokens with elevated privileges and impersonate another user, potentially including an administrator.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can compromise site confidentiality and integrity through user impersonation and privilege escalation. Depending on the privileges associated with the obtained tokens, an attacker may gain full administrative access.
Mitigation
If you can’t patch tonight, do this now.
Restrict the Add consumer entities and Update own consumer entities permissions to trusted roles. Review existing consumers for unsafe access settings and revoke their tokens when their trustworthiness is uncertain.
Remediation
Patch, then assume compromise.
Upgrade 5.2.x installations to 5.2.6, 6.0.x installations to 6.0.10, and 6.1.x installations to 6.1.4. After updating, grant the new Administer consumer access settings permission only to trusted roles. Review existing consumers because the update does not modify their configurations, and revoke associated tokens if their trustworthiness is uncertain. In the fixed 6.1.x release, Client Credentials tokens are always limited to their scopes.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-122058 exploited in the wild?
- As of Nov 4, 2026, Mallory has no reports of CVE-2026-122058 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-122058?
- As of Nov 4, 2026, Mallory has found no public exploit for CVE-2026-122058.
- Is there a patch for CVE-2026-122058?
- Upgrade 5.2.x installations to 5.2.6, 6.0.x installations to 6.0.10, and 6.1.x installations to 6.1.4. After updating, grant the new Administer consumer access settings permission only to trusted roles.
Recent activity
1 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.