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-108111 Overview
CVE-2026-108111 is a missing authorization vulnerability [CWE-862] in ruoyi-ai versions 3.0.0 through 3.1.0. The flaw affects the GET /workflow/search endpoint in the ruoyi-aiflow module. The endpoint lacks owner-scoped and is_public filtering, so any authenticated non-admin user can enumerate other users' private workflows in the same tenant. Returned data includes workflow UUIDs along with full node and edge configurations. Attackers can use this exposure to harvest proprietary workflow logic, prompts, and integration metadata belonging to other tenants' users.
Critical Impact
Authenticated low-privilege users can read other users' private workflow definitions, including UUIDs and full node and edge configurations, enabling theft of proprietary AI workflow intellectual property.
Affected Products
- ruoyi-ai 3.0.0
- ruoyi-ai 3.0.x
- ruoyi-ai 3.1.0
Discovery Timeline
- 2026-10-09 - CVE-2026-108111 published to the National Vulnerability Database (NVD)
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-108111
Vulnerability Analysis
The vulnerability resides in the WorkflowController and WorkflowService classes within the ruoyi-aiflow module. The GET /workflow/search handler accepts search parameters from authenticated users and passes them to the service layer without enforcing ownership checks. The service query does not filter results by the requesting user's identity, nor does it restrict results to workflows marked public via an is_public flag.
As a result, the endpoint returns workflow records belonging to every user in the same tenant, provided the workflow is enabled. The response payload includes the workflow UUID and the complete graph definition, meaning node configurations, edge wiring, and embedded parameters are exposed. An attacker with a standard account can iterate through search terms to enumerate workflows and reconstruct business logic authored by other users.
Root Cause
The root cause is a missing authorization check at the data access layer. The query that backs the search endpoint has no owner_id = :currentUser or is_public = true predicate. The controller trusts authentication as sufficient authorization, which violates least-privilege access control for multi-user tenants.
Attack Vector
Exploitation requires only a valid low-privilege account on the target ruoyi-ai instance. The attacker issues an authenticated HTTP GET to /workflow/search with arbitrary search parameters. The server returns workflows owned by other users, including private ones. No elevated role, user interaction, or chained vulnerability is required.
Technical references and vulnerable code paths are available in the GitHub WorkflowController Code Review, the GitHub WorkflowService Code Review, and the HackMD CVE-2026-108111/108112 Analysis.
Detection Methods for CVE-2026-108111
Indicators of Compromise
- High-volume or repeated authenticated GET /workflow/search requests originating from a single non-admin account.
- Application responses to /workflow/search that contain workflow UUIDs not owned by the requesting account.
- Enumeration patterns such as sequential or wildcard search parameters against the workflow endpoint.
Detection Strategies
- Review ruoyi-ai application logs for /workflow/search requests and correlate the authenticated user ID with the owner IDs of returned workflow records.
- Deploy a web application firewall (WAF) rule that flags abnormal query rates against /workflow/search per user session.
- Audit database query logs for workflow table reads that lack an owner or tenant filter.
Monitoring Recommendations
- Enable verbose access logging on the ruoyi-aiflow module and forward logs to a centralized SIEM for retention and query.
- Alert on any single account retrieving more than a baseline threshold of distinct workflow UUIDs within a short window.
- Monitor for unexpected read access from service accounts or API tokens that should not interact with workflow search.
How to Mitigate CVE-2026-108111
Immediate Actions Required
- Inventory all ruoyi-ai deployments and identify instances running versions 3.0.0 through 3.1.0.
- Restrict network access to the ruoyi-ai application to trusted users and networks until a patch is applied.
- Rotate or revoke accounts suspected of enumerating /workflow/search, and review workflow confidentiality assumptions for exposed tenants.
Patch Information
No official vendor patch is listed in the NVD entry at the time of publication. Monitor the GitHub Repository for Ruoyi-AI and the VulnCheck Advisory for Ruoyi-AI for upstream fixes. Upgrade to a version later than 3.1.0 once released.
Workarounds
- Apply a local patch to WorkflowService that adds an owner_id = currentUser predicate, or an is_public = true disjunction, to the search query.
- Add a controller-level authorization check in WorkflowController that filters results by the authenticated principal before returning them.
- Disable or firewall the /workflow/search endpoint for non-admin roles until an upstream fix is available.
# Example reverse proxy rule to block non-admin access to /workflow/search
location /workflow/search {
if ($http_x_user_role != "admin") {
return 403;
}
proxy_pass http://ruoyi_ai_backend;
}
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

