{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5d1fd70dc3e61bf64e7ce3328a71cc60001175c6"
            }
          ],
          "repo": "https://github.com/yunaiv/ruoyi-vue-pro",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57950.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "last_affected": "2026.05"
          }
        ],
        "source": "AFFECTED_FIELD"
      },
      {
        "extracted_events": [
          {
            "last_affected": "2026.05"
          }
        ],
        "source": "CPE_FIELD"
      },
      {
        "extracted_events": [
          {
            "fixed": "2026.05"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2026-57950",
  "modified": "2026-07-16T03:30:53.790439825Z",
  "published": "2026-06-29T17:20:07.371Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57950.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-57950"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/ruoyi-vue-pro-incorrect-permission-namespace-in-erpsaleordercontroller"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/YunaiV/ruoyi-vue-pro/issues/1161"
    },
    {
      "type": "FIX",
      "url": "https://github.com/YunaiV/ruoyi-vue-pro/commit/5d1fd70dc3e61bf64e7ce3328a71cc60001175c6"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/YunaiV/ruoyi-vue-pro"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "ruoyi-vue-pro - Incorrect Permission Namespace in ErpSaleOrderController"
}