GHSA-h7qx-c58p-3mffMediumCVSS 5.4
ruoyi-ai 3.0.0 through 3.1.0 contains a missing authorization vulnerability that allows...
🔗 CVE IDs covered (1)
📋 Description
ruoyi-ai 3.0.0 through 3.1.0 contains a missing authorization vulnerability that allows authenticated users to delete other users' workflows via POST /workflow/del/{uuid}. Attackers can obtain workflow UUIDs from GET /workflow/search and supply them because softDelete() skips the PrivilegeUtil.checkAndGetByUuid() ownership check, removing owners' workflows.
🔗 References (7)
- https://nvd.nist.gov/vuln/detail/CVE-2026-108112
- https://github.com/ageerle/ruoyi-ai
- https://github.com/ageerle/ruoyi-ai/blob/v3.1.0/ruoyi-modules/ruoyi-aiflow/src/main/java/org/ruoyi/workflow/controller/WorkflowController.java#L55-L59
- https://github.com/ageerle/ruoyi-ai/blob/v3.1.0/ruoyi-modules/ruoyi-aiflow/src/main/java/org/ruoyi/workflow/service/WorkflowService.java#L204-L207
- https://hackmd.io/@haind/SJnkeEUoMx
- https://www.vulncheck.com/advisories/ruoyi-ai-3.0.0-through-3.1.0-missing-authorization-via-workflow-delete-endpoint
- https://github.com/advisories/GHSA-h7qx-c58p-3mff