Skip to main content
Vulnerability Database/CVE-2026-110107

CVE-2026-110107: RuoYi-Cloud-Plus Auth Bypass Vulnerability

CVE-2026-110107 is an authentication bypass flaw in RuoYi-Cloud-Plus that allows authenticated users to delete other users' social login bindings without authorization. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-110107 Overview

CVE-2026-110107 is an Insecure Direct Object Reference (IDOR) vulnerability in RuoYi-Cloud-Plus through version 6.0.0 [CWE-639]. The flaw resides in the social login unbind endpoint, DELETE /auth/unlock/{socialId}, which accepts a socialId path parameter and deletes the matching sys_social row by primary key without verifying ownership. Any authenticated user can supply another user's socialId to remove that user's OAuth binding. The result is the victim loses their OAuth token and can no longer authenticate through the associated social login provider.

Critical Impact

Authenticated attackers can delete arbitrary users' social login bindings, blocking victim access through OAuth providers and tampering with authentication state.

Affected Products

  • RuoYi-Cloud-Plus through 6.0.0
  • ruoyi-auth module (TokenController)
  • ruoyi-system module (SysSocialServiceImpl)

Discovery Timeline

  • 2026-10-13 - CVE-2026-110107 published to NVD
  • 2026-10-14 - Last updated in NVD database

Technical Details for CVE-2026-110107

Vulnerability Analysis

RuoYi-Cloud-Plus is an open-source microservices platform maintained by the Dromara community. The platform supports third-party OAuth login bindings stored in the sys_social table. The unbind endpoint located in TokenController (lines 149–153) delegates deletion to SysSocialServiceImpl (lines 111–113), which calls a primary-key delete against the supplied socialId. The service does not compare the row's owning user ID against the authenticated principal from the session or token. As a result, any logged-in user can delete bindings belonging to any other account by iterating or guessing socialId values. The impact is limited to the social login integrity rather than data confidentiality, consistent with the low severity rating.

Root Cause

The root cause is missing authorization enforcement on an object reference exposed in the URL path. The handler trusts the client-supplied socialId as sufficient authority to perform deletion. There is no server-side ownership check tying the record to the authenticated user before the SQL DELETE runs.

Attack Vector

Exploitation requires a low-privileged authenticated account. The attacker enumerates or discovers a victim socialId and issues an HTTP DELETE request to /auth/unlock/{socialId}. The server removes the row from sys_social, severing the victim's OAuth binding. No user interaction from the victim is required. See the VulnCheck Advisory on IDOR and the HackMD CVE-2026-110107 Analysis for request-level details.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-110107

Indicators of Compromise

  • HTTP DELETE requests against /auth/unlock/{socialId} where the trailing socialId does not correspond to a binding owned by the authenticated user.
  • Unexpected removals from the sys_social table or audit log entries showing bindings deleted outside normal user-driven unbind flows.
  • User complaints that previously working OAuth logins (WeChat, GitHub, Gitee, etc.) suddenly fail with no matching binding.

Detection Strategies

  • Instrument the TokenController.unlockSocial handler to log the authenticated user ID alongside the targeted socialId and alert when they diverge.
  • Correlate web access logs for sequential or scripted DELETE /auth/unlock/ calls from a single session, which indicates enumeration.
  • Add database triggers or application auditing to record every sys_social deletion with the actor's user ID for retrospective review.

Monitoring Recommendations

  • Monitor authentication-service logs for spikes in unbind operations relative to historical baselines.
  • Track failed OAuth logins per user and alert when a user transitions from successful to failed social login without a corresponding self-service unbind.
  • Forward auth-service telemetry to a central analytics platform to enable cross-session correlation of IDOR probing.

How to Mitigate CVE-2026-110107

Immediate Actions Required

  • Restrict or disable the /auth/unlock/{socialId} endpoint at the API gateway until an authorization fix is deployed.
  • Patch SysSocialServiceImpl to verify that the record identified by socialId belongs to the current authenticated user before performing deletion.
  • Audit the sys_social table for anomalous deletions and notify affected users to re-link their OAuth providers.

Patch Information

At the time of publication, no fixed release has been attached to this CVE in NVD. Review the upstream project at the GitHub Repository Overview for updated commits, and consult the GitHub TokenController Source Code and GitHub SysSocialServiceImpl Source Code for the vulnerable code paths.

Workarounds

  • Change the service method to accept only the authenticated user context and delete bindings using a composite key of (userId, socialId).
  • Add a gateway rule that rewrites or rejects DELETE /auth/unlock/{socialId} requests where the socialId is not present in the caller's own binding list.
  • Rate-limit the unbind endpoint per authenticated user to blunt enumeration attempts while a code fix is prepared.
bash
# Example gateway rule (nginx) to block unauthenticated access
# and require a signed internal header set only after ownership validation
location ~ ^/auth/unlock/ {
    if ($http_x_ownership_verified != "1") { return 403; }
    proxy_pass http://ruoyi-auth-upstream;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.