CVE-2026-57950 ruoyi-vue-pro - Incorrect Permission Namespace in ErpSaleOrderController

High 8.6 Published Updated

Attackers with shipment permissions can unauthorizedly read, create, update, and delete sale orders due to incorrect permission namespace enforcement.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-57950?

CVE-2026-57950 is a high-severity missing authorization vulnerability in Yunai ruoyi-vue-pro, published on 29 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-863

Which versions are affected by CVE-2026-57950?

How do I fix CVE-2026-57950?

No fix has been published for CVE-2026-57950 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-57950 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-57950 exists.

Sources

Also known as GHSA-r39c-vf2w-53j7.

Is CVE-2026-57950 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free