CVE-2026-122058 in Simple OAuth & OpenID Connect Plugininfo

Summary

by MITRE • 11/26/2026

Incorrect Authorization vulnerability in Drupal Simple OAuth (OAuth2) & OpenID Connect allows Forceful Browsing. This issue affects Simple OAuth (OAuth2) & OpenID Connect versions: from 0.0.0 to 5.2.6, from 6.0.0 to 6.0.10, from 6.1.0 to 6.1.4.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 11/26/2026

The vulnerability identified in the Drupal Simple OAuth module represents a critical failure in access control mechanisms within the authentication and authorization subsystems of web applications utilizing this library for OpenID Connect and OAuth2 implementations. This flaw, classified as an incorrect authorization issue, specifically enables forceful browsing by allowing unauthenticated or improperly authenticated users to interact with protected API endpoints that should require valid tokens or specific user roles. The affected versions span a significant range including Simple OAuth 0.x through 5.2.6 and the newer major version lines from 6.0.0 up to 6.1.4, indicating a systemic issue in how permission checks are enforced across multiple iterations of the module's codebase rather than an isolated coding error in a single release cycle.

From a technical perspective, the root cause lies in the improper enforcement of authorization policies on specific routes or API endpoints exposed by the OAuth2 and OpenID Connect integration points. In a secure implementation, every request to a protected resource must be validated against the user's current session state, token scopes, and assigned roles before processing occurs. However, due to this vulnerability, the application fails to adequately verify these credentials for certain administrative or sensitive operations. This allows an attacker who has obtained valid but limited tokens, or in some cases even unauthenticated requests depending on the specific endpoint configuration, to bypass intended restrictions. The flaw essentially treats all incoming requests as authorized unless explicitly blocked by a separate mechanism that is either missing or incorrectly configured, leading to a breakdown of the principle of least privilege.

The operational impact of this vulnerability is severe for any Drupal site relying on Simple OAuth for third-party integrations, single sign-on solutions, or API access management. Attackers can exploit this weakness to perform forceful browsing, which involves systematically requesting URLs that are not intended for public consumption. This can lead to the unauthorized disclosure of sensitive user data, such as personal identifiable information stored in profiles, configuration details about the site's security settings, or even administrative controls if the endpoint grants elevated privileges based on flawed logic. Furthermore, because OAuth2 and OpenID Connect are often used to grant delegated access to external applications, this vulnerability could allow malicious third-party apps to perform actions beyond their granted scope, potentially leading to account takeover scenarios where an attacker manipulates user settings or exfiltrates data under the guise of a legitimate application session.

This issue aligns with CWE-284 Improper Access Control and is closely related to ATT&CK technique T1078 Valid Accounts, as exploitation often involves leveraging valid credentials that are insufficient for certain actions but can be manipulated due to poor authorization checks. It also touches upon aspects of T1539 Steal Web Session Cookie if the vulnerability allows session hijacking through improper token validation. The lack of strict enforcement on API endpoints means that standard web application attacks such as broken object level authorization become trivially executable, undermining the integrity and confidentiality guarantees provided by the OAuth2 protocol itself.

Mitigation strategies must prioritize immediate patching to the latest stable version of Simple OAuth where these access control checks have been corrected. Administrators should verify their Drupal core and contributed module versions against the advisory released by the security team responsible for this project. In environments where upgrading is not immediately feasible, temporary mitigations include implementing strict web application firewall rules that monitor for anomalous patterns in API requests, particularly those targeting OAuth2 token endpoints or user profile APIs with unusual parameters. Additionally, reviewing custom code that interacts with Simple OAuth to ensure no additional routes are exposed without proper role-based access control checks is essential. Regular auditing of authentication logs and monitoring for unexpected data exfiltration patterns can help detect exploitation attempts in real-time while the infrastructure remains vulnerable.

Responsible

Drupal

Reservation

11/04/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00374

KEV

no

Activities

very low

Sources

Want to know what is going to be exploited?

We predict KEV entries!