CVE-2026-58176: RuoYi-Vue-Plus Workflow Task Authorization Bypass
RuoYi-Vue-Plus is a workflow and task management platform. Versions through 5.6.2 contain a critical authorization gap: the workflow task management system fails to validate whether users should be allowed to perform sensitive actions. This means any employee with basic system access—regardless of their job role—can reassign approval tasks to themselves or others, see all pending approvals organization-wide, and manipulate the workflow process. This breaks the fundamental control that prevents one person from both initiating and approving the same transaction.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 6.5 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Weaknesses (CWE)
- CWE-862
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-30 / 2026-07-14
NVD description (verbatim)
RuoYi-Vue-Plus through 5.6.2, fixed in commit 88d03d9, exposes workflow task management endpoints under /workflow/task (FlwTaskController) without any permission check: the controller declares no class-level or method-level authorization annotation, so the endpoints are gated only by global authentication. Any authenticated user, regardless of assigned role, can therefore reassign workflow approval tasks to arbitrary users via updateAssignee (defeating segregation of duties in the approval process), urge arbitrary tasks, and enumerate all pending and finished tasks via the pageByAllTaskWait and pageByAllTaskFinish listing endpoints. The issue was resolved by adding permission identifiers (SaCheckPermission) to these endpoints.
4 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The FlwTaskController component in RuoYi-Vue-Plus exposes multiple workflow task endpoints under the /workflow/task path without implementing method-level or class-level authorization checks. While the application does require users to be authenticated (logged in), it does not verify that the authenticated user has permission to execute specific workflow actions. Affected endpoints include updateAssignee (task reassignment), urge (task escalation), pageByAllTaskWait (enumeration of pending tasks), and pageByAllTaskFinish (enumeration of completed tasks). The vulnerability stems from the absence of @SaCheckPermission annotations that would ordinarily enforce role-based access control. An authenticated attacker with any active session can invoke these endpoints directly via HTTP requests. The fix, implemented in commit 88d03d9, adds permission identifiers to gate access based on assigned privileges.
Business impact
Workflow approval processes form the backbone of financial controls, HR approvals, and change management in most organizations. When any authenticated user can reassign approval tasks, the resulting risks include: (1) Fraud—an employee could approve their own leave requests, purchase orders, or exceptions; (2) Compliance violations—audit trails become unreliable if task ownership can be falsified; (3) Operational chaos—attackers can disrupt legitimate approvals by reassigning critical tasks, delaying business operations. In regulated industries (finance, healthcare, manufacturing), this directly violates segregation of duties requirements and exposes the organization to audit failures and regulatory sanctions.
Affected systems
RuoYi-Vue-Plus versions 5.6.2 and earlier are affected. The vulnerability is present in the workflow task controller and does not require any special configuration to expose—it is a code-level defect in the authorization layer. Organizations using RuoYi-Vue-Plus for workflow automation, particularly those running versions released before late June 2026, should prioritize inventory and patching. The vulnerable component is part of the core application framework, so all deployments with /workflow/task endpoints enabled are at risk.
Exploitability
Exploitation requires valid login credentials and access to the application. An attacker needs only a standard user account—no administrative privileges or special roles are necessary. The endpoints are accessible over the network via HTTP/HTTPS and require no user interaction. An attacker with a low-privilege account could immediately begin reassigning tasks, enumerating workflow state, and disrupting approvals. The simplicity of the attack (basic HTTP requests to documented endpoints) combined with the common deployment of workflow systems makes this vulnerability moderately easy to exploit once an attacker gains initial access or possesses valid credentials. No public exploit code needs to be released for attackers to weaponize this; the flaw is straightforward to discover through basic endpoint enumeration.
Remediation
The primary remediation is to upgrade RuoYi-Vue-Plus to a patched version (verify availability from the vendor) or apply the fix present in commit 88d03d9 or later. The patch adds @SaCheckPermission annotations to the FlwTaskController methods, enforcing role-based authorization checks. Organizations unable to patch immediately should implement compensating controls: (1) restrict network access to the /workflow/task endpoints to trusted IP ranges or VPN; (2) implement endpoint-level monitoring to alert on unusual task reassignment patterns; (3) audit all workflow task changes and cross-reference against expected user behavior; (4) consider disabling or blocking direct API access to these endpoints if not required for your workflow design.
Patch guidance
Contact the RuoYi-Vue-Plus project or check the official repository for patch availability. Verify that your patched version includes the authorization annotations in FlwTaskController. Before deploying patches to production, test that legitimate workflow approvers can still perform their assigned tasks and that non-approvers are properly denied access. Review access logs after patching to identify any historical unauthorized task reassignments and remediate those records. If you maintain a fork or custom build of RuoYi-Vue-Plus, backport the fix from commit 88d03d9 to your codebase.
Detection guidance
Look for HTTP requests to /workflow/task/updateAssignee, /workflow/task/urge, /workflow/task/pageByAllTaskWait, or /workflow/task/pageByAllTaskFinish from user accounts with low privilege levels or from users not typically involved in approval workflows. Correlate these requests with user role assignments and task ownership records. A spike in task reassignments, especially to the same user across multiple workflows, is a strong indicator of exploitation. Enable application logging at the controller level to capture all workflow task API calls with user context and timestamp. Audit approval workflows where the assigner and final approver are the same person—this is a signature of post-exploitation abuse. Search historical logs for any /workflow/task endpoint requests before the patch was deployed.
Why prioritize this
This is a medium-severity authorization flaw affecting core business process controls. Although the CVSS score is 6.5 (MEDIUM), the business impact is high because workflow integrity directly affects financial and operational controls. Exploitation does not require sophisticated techniques or zero-day knowledge; it is practical and repeatable by anyone with valid credentials. The vulnerability has not been added to the CISA KEV catalog, suggesting either limited known public exploitation or slow adoption of this particular framework, but security teams should not rely on KEV status as a sole prioritization signal. Prioritize this based on whether your organization relies on RuoYi-Vue-Plus for approval workflows, the sensitivity of the approvals, and your current patch cycle velocity.
Risk score, explained
CVSS 6.5 reflects a network-accessible, low-complexity attack requiring prior authentication, with high impact on integrity (the attacker can modify task assignments and workflow state) but no direct loss of confidentiality or availability. The score appropriately captures the technical severity of unauthorized workflow manipulation. However, from a business risk perspective, organizations in regulated industries or those with high-value approval workflows should treat this as a priority-one issue because integrity of approvals is a foundational control. The absence of CVSS confidentiality impact (C:N) understates real-world risk if attackers use task reassignment to gain visibility into sensitive approvals; recommend internal risk scoring that factors in your workflow sensitivity and audit requirements.
Frequently asked questions
Can an attacker exploit this without a valid user account?
No. The vulnerability requires authentication. The attacker must have valid login credentials and an active session. However, compromised accounts, contractor accounts, or disgruntled employees with basic access pose a realistic threat. If your organization uses shared test accounts or weak password policies, the barrier to entry is low.
Does this vulnerability allow an attacker to execute arbitrary code or take down the system?
No. The vulnerability is limited to authorization bypass in workflow task management. An attacker cannot execute arbitrary code, access the database directly, or cause denial of service. The risk is that they can manipulate workflow state—reassign tasks, enumerate approvals, and disrupt the approval process.
How do I know if my RuoYi-Vue-Plus deployment is at risk?
If you are running RuoYi-Vue-Plus version 5.6.2 or earlier and have the workflow module enabled with network access to /workflow/task endpoints, you are at risk. Check your version in the admin panel or application.properties. If you are unsure whether you have applied the fix from commit 88d03d9 or later, review your commit history or ask your development team to confirm the specific version and patch status.
What should I do if I suspect this vulnerability has been exploited in my environment?
Review audit logs and workflow task history for any unexpected task reassignments, especially from low-privilege accounts or outside normal business hours. Identify any approvals where the assigner and final approver are the same person. Invalidate sessions for suspect accounts, reset their passwords, and require multi-factor re-authentication. Forward findings to your compliance and audit teams, as unauthorized workflow manipulation may trigger internal control failures that require disclosure depending on your regulatory context.
This analysis is provided for informational purposes to assist security professionals in prioritizing vulnerability response. The vulnerability details are based on the published CVE record and vendor documentation current as of the analysis date. Organizations must verify patch availability, compatibility, and applicability to their specific deployments independently. No warranty is provided regarding the completeness or accuracy of this summary; consult the official RuoYi-Vue-Plus security advisories and your vendor for definitive guidance. SEC.co does not endorse any specific version, patch, or vendor product. Security teams should conduct their own risk assessment based on their environment, regulatory requirements, and business criticality. Source: NVD (public-domain), retrieved 2026-08-09. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2022-42479MEDIUMMissing Authorization in TemplateHouse Soledad – MEDIUM Severity Access Control Bypass
- CVE-2022-45813MEDIUMBeRocket Advanced AJAX Product Filters Missing Authorization Flaw
- CVE-2023-25969MEDIUMMissing Authorization in ThemeHunk Contact Form Plugin
- CVE-2023-32959MEDIUMMetroStore Missing Authorization Vulnerability – Patch Guide
- CVE-2024-24709MEDIUMShareaholic Missing Authorization Vulnerability – Update Required
- CVE-2024-31435MEDIUMMissing Authorization in Inisev Social Media & Share Icons Plugin—Patch Guidance
- CVE-2024-33685MEDIUMMissing Authorization in Jegstudio Startupzy 1.1.1 – MEDIUM Severity Vulnerability
- CVE-2024-33909MEDIUMMissing Authorization in Avirtum iPages Flipbook – CVSS 5.3 Patch Guide