CVE-2026-57950
Received Received - Intake

Unauthorized Sale Order Access in RuoYi-Vue-Pro

Vulnerability report for CVE-2026-57950, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-29

Last updated on: 2026-06-29

Assigner: VulnCheck

Description

ruoyi-vue-pro through 2026.05, fixed in commit 5d1fd70 contains a broken access control vulnerability in ErpSaleOrderController that allows attackers with erp:sale-out permissions to gain unauthorized access to sale order operations by exploiting an incorrect permission namespace enforcement. Attackers holding shipment-level permissions can perform unauthorized create, update, delete, and read operations on financially sensitive sale orders due to the controller enforcing erp:sale-out instead of the intended erp:sale-order namespace.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-29
Last Modified
2026-06-29
Generated
2026-06-29
AI Q&A
2026-06-29
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
yunai ruoyi-vue-pro to 2026.05 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-863 The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-57950 is a broken access control vulnerability in the ruoyi-vue-pro software, specifically in the ErpSaleOrderController. The controller incorrectly enforces the permission namespace 'erp:sale-out' instead of the intended 'erp:sale-order'. This misconfiguration allows attackers who have shipment-level permissions (erp:sale-out) to gain unauthorized access to sale order operations.

Because of this incorrect permission enforcement, attackers can perform unauthorized create, update, delete, and read operations on financially sensitive sale orders, which should be protected separately from shipment permissions.

Impact Analysis

This vulnerability can lead to unauthorized users performing critical operations on sale orders, such as creating fraudulent orders, modifying prices and quantities, or deleting existing orders.

It breaks the segregation of duties between sales and warehouse operations, potentially causing financial fraud or errors within the ERP system.

The integrity and confidentiality of sale order data are compromised, which can have significant business and financial impacts.

Detection Guidance

This vulnerability involves incorrect permission namespace enforcement in the ErpSaleOrderController, allowing users with erp:sale-out permissions to access sale order operations improperly.

To detect this vulnerability on your system, you can audit the permissions assigned to users, specifically checking if users with only erp:sale-out permissions are able to perform create, update, delete, or read operations on sale orders.

Since the issue is related to permission misconfiguration in the application code, detection commands would involve querying the application logs or testing API endpoints with different permission sets.

  • Use API calls or curl commands to test sale order endpoints (create, update, delete, read) with a user account that only has erp:sale-out permissions to see if access is granted.
  • Example curl command to test read access on sale orders with erp:sale-out permissions: curl -H "Authorization: Bearer <token_with_erp:sale-out>" https://<your-erp-domain>/api/sale-order/query
  • Review application logs for unauthorized access attempts or successful operations on sale orders by users who should only have shipment-level permissions.
Mitigation Strategies

The vulnerability has been fixed in commit 5d1fd70 by correcting the permission namespace from erp:sale-out to erp:sale-order in the ErpSaleOrderController.

Immediate mitigation steps include:

  • Update your ruoyi-vue-pro installation to a version that includes the fix from commit 5d1fd70 or later.
  • If immediate update is not possible, restrict or audit users who have erp:sale-out permissions to ensure they do not perform unauthorized sale order operations.
  • Review and correct permission assignments to ensure separation between shipment-level permissions (erp:sale-out) and sale order permissions (erp:sale-order).
  • Implement additional monitoring and alerting on sale order operations performed by users with shipment-level permissions.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-57950. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart