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-108112 Overview
CVE-2026-108112 is a missing authorization vulnerability [CWE-862] in ruoyi-ai versions 3.0.0 through 3.1.0. The flaw resides in the POST /workflow/del/{uuid} endpoint, where the softDelete() service method skips the PrivilegeUtil.checkAndGetByUuid() ownership check. Any authenticated user can delete workflows belonging to other users by supplying a target UUID. Attackers enumerate victim workflow identifiers through GET /workflow/search and then invoke the delete endpoint without triggering any ownership validation.
Critical Impact
Authenticated low-privilege users can permanently remove arbitrary users' workflows, causing integrity and availability loss across all tenants of a ruoyi-ai 3.0.0–3.1.0 deployment.
Affected Products
- ruoyi-ai 3.0.0
- ruoyi-ai 3.0.x intermediate releases
- ruoyi-ai 3.1.0
Discovery Timeline
- 2026-10-09 - CVE-2026-108112 published to NVD
- 2026-10-14 - Last updated in NVD database
Technical Details for CVE-2026-108112
Vulnerability Analysis
ruoyi-ai exposes workflow management through a REST controller located at ruoyi-modules/ruoyi-aiflow/src/main/java/org/ruoyi/workflow/controller/WorkflowController.java. The delete handler forwards the UUID path parameter directly into WorkflowService.softDelete() in WorkflowService.java. In sibling endpoints the service invokes PrivilegeUtil.checkAndGetByUuid() to confirm the caller owns the record before mutating it. The softDelete() implementation omits this call and performs the database update using only the supplied UUID. Because UUIDs are returned to any authenticated user via GET /workflow/search, there is no secret value protecting the record. The result is a horizontal privilege escalation across workflow objects.
Root Cause
The root cause is a missing authorization check within the service layer. The controller trusts the service to enforce object-level access control, while softDelete() performs only identifier-based lookup and update. There is no filter on owner_id or created_by in the underlying query, so the operation succeeds regardless of the caller's identity.
Attack Vector
Exploitation requires network access to the application and a valid, low-privileged account. The attacker calls GET /workflow/search to collect UUIDs owned by other users, then issues POST /workflow/del/{uuid} for each target. No user interaction is required on the victim side. See the HackMD CVE Analysis and the VulnCheck Security Advisory for the full request flow.
No verified public exploit code is available. The vulnerable code paths are visible in the WorkflowController source and the WorkflowService source.
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 AttacksDetection Methods for CVE-2026-108112
Indicators of Compromise
- Unexpected POST /workflow/del/{uuid} requests where the authenticated user ID does not match the stored workflow owner.
- High-frequency GET /workflow/search calls followed by sequential delete requests from the same session.
- Database rows in the workflow table showing deleted=1 or deleted_at populated without a matching audit entry from the owning user.
Detection Strategies
- Correlate application access logs against workflow ownership records to flag cross-user delete operations.
- Instrument the WorkflowService.softDelete() method with logging that records both the caller principal and the record owner for every invocation.
- Alert on any authenticated user deleting more than a configured threshold of workflows within a short time window.
Monitoring Recommendations
- Forward ruoyi-ai HTTP access logs and application logs to a centralized logging platform for correlation and retention.
- Monitor delete-to-create ratios per account; a sudden spike in deletes without matching creates indicates abuse.
- Review database audit trails for workflow soft-delete operations and reconcile them against legitimate user activity.
How to Mitigate CVE-2026-108112
Immediate Actions Required
- Restrict network access to the ruoyi-ai management interface to trusted administrators until a patched build is deployed.
- Audit existing workflow records for unauthorized soft-delete flags and restore any records that were removed by non-owners.
- Rotate credentials for any accounts suspected of abusing the endpoint and review session logs for lateral activity.
Patch Information
No vendor-published fixed version is referenced in the advisory at the time of writing. Monitor the upstream project at the ruoyi-ai GitHub repository and the VulnCheck Security Advisory for updated release information. Operators maintaining forks should add a call to PrivilegeUtil.checkAndGetByUuid() inside WorkflowService.softDelete() so the ownership check matches the pattern used by sibling methods.
Workarounds
- Apply a reverse-proxy or API-gateway rule that denies POST /workflow/del/{uuid} requests from accounts that have not been explicitly allowlisted for workflow deletion.
- Patch the local build by inserting an ownership verification call at the top of softDelete() before any database mutation runs.
- Disable the delete route entirely in environments where workflow removal is not required for business operations.
# Example nginx snippet restricting the vulnerable endpoint to admin IPs
location ~ ^/workflow/del/ {
allow 10.0.0.0/24; # admin subnet
deny all;
proxy_pass http://ruoyi_ai_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

