Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-134381: medium-severity vulnerability (CVSS 5.3) in frappe erpnext.
What happened
Original description from the source: Frappe ERPNext 5.0.0 before 15.121.4 and 16.x before 16.36.0 contains an incorrect authorization vulnerability in the Buying module: the endpoint that closes and reopens Purchase Orders checks only document-type write permission, not per-document User Permissions. Authenticated users with Purchase Order write access can send crafted requests naming another company's Purchase Order to change its status.
Why it matters
Medium severity, CVSS 5.3.
Affected products and versions
frappe erpnext >= 5.0.0, < 15.121.4; frappe erpnext 15.121.4 (fixed in 15.121.4); frappe erpnext >= 16.0.0, < 16.36.0; frappe erpnext 16.36.0 (fixed in 16.36.0)
| Product | Versions | Fixed in |
|---|---|---|
| frappe erpnext | >= 5.0.0, < 15.121.4 | — |
| frappe erpnext | 15.121.4 | 15.121.4 |
| frappe erpnext | >= 16.0.0, < 16.36.0 | — |
| frappe erpnext | 16.36.0 | 16.36.0 |
Action recommended by the source
Upgrade to a fixed version: 15.121.4, 16.36.0.
Fixed in: 15.121.4, 16.36.0
Sources and references
- https://github.com/frappe/erpnext/security/advisories/GHSA-mmcf-jq27-crrp — CVE Program
- https://www.vulncheck.com/advisories/frappe-erpnext-5.0.0-before-15.121.4-missing-authorization-in-purchase-order-close-endpoint — CVE Program
Weaknesses (CWE): CWE-863
Relevant change history
Published
Preliminary advisory published.