CVE-2026-57950: ruoyi-vue-pro - Incorrect Permission Namespace in ErpSaleOrderController
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ruoyi-vue-proto a version that resolves this vulnerability.Fixed in through 2026.05Patch commit 5d1fd70 - Compensating control
Ensure ErpSaleOrderController enforces the intended permission namespace erp:sale-order (not erp:sale-out) to prevent users with erp:sale-out permissions from performing unauthorized create, update, delete, and read operations on financially sensitive sale orders.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-57950?
CVE-2026-57950 has a severity rating of 8.1, which is classified as high.
How do I fix CVE-2026-57950?
To fix CVE-2026-57950, update the ruoyi-vue-pro software to the version that includes the fix from commit 5d1fd70.
What type of vulnerability is CVE-2026-57950?
CVE-2026-57950 is classified as a broken access control vulnerability due to incorrect permission namespace enforcement.
What software is affected by CVE-2026-57950?
CVE-2026-57950 affects the ruoyi-vue-pro software version through 2026.05.
What actions can attackers perform due to CVE-2026-57950?
Attackers with erp:sale-out permissions can exploit CVE-2026-57950 to gain unauthorized access to sale order operations.