Improper Authorization Vulnerability in ruoyi-vue-pro
A remote authorization bypass in the ruoyi-vue-pro payment callback handler allows unauthorized manipulation of payment order states via the ID argument.
CVE search metadata
CVE search record: CVE-2026-97324. Severity: high. CVSS: 7.3. KEV: no. Product: ruoyi-vue-pro (<= 2026.08). Brief: Improper Authorization Vulnerability in ruoyi-vue-pro. Brief link: https://feed.craftedsignal.io/briefs/2026-09-ruoyi-vue-pro-auth-bypass/
A security vulnerability (CVE-2026-97324) exists in the ruoyi-vue-pro platform, specifically within the Demo-order Payment Callback Handler. The flaw is located in the updateDemoOrderPaid function within the PayDemoOrderController.java file. An attacker can perform remote exploitation by manipulating the ID argument, leading to improper authorization. This vulnerability allows an unauthenticated or unauthorized user to interact with the payment callback logic, potentially forcing state changes in payment records. Given that functional exploit code is publicly available, organizations running versions of ruoyi-vue-pro up to 2026.08 are at risk. The vendor has not provided a patch as of the disclosure date, necessitating immediate compensatory controls at the network or application perimeter to prevent unauthorized access to these sensitive callback endpoints.
Impact
Successful exploitation allows an unauthorized party to manipulate the state of demo payment orders. In a production environment, if this handler is repurposed or exposed, it could lead to logical failures in payment processing, financial data inconsistency, and potential unauthorized state modifications that may impact business operations.
Recommendation
Prioritized actions for detection and mitigation:
- Implement strict IP allowlisting for the application’s administrative and callback endpoints to mitigate remote access.
- Deploy WAF rules to monitor for suspicious or unexpected
IDparameter values targeting the/admin/demo/payURI patterns. - Review all custom modifications to
PayDemoOrderController.javato ensure input validation and authorization checks are enforced before updating order records. - Restrict internet exposure of the ruoyi-vue-pro admin interfaces if not required for business operations.
Immediate actions
Restrict external access to the demo payment callback endpoints
Mitigations
Implement WAF rules to validate the ID parameter for /admin/demo/pay/updateDemoOrderPaid
CVE-2026-97324