---
id: CVE-2026-134381
title: >-
  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…
summary: >-
  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…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'
cwe:
  - CWE-863
published: '2026-11-21'
updated: '2026-11-23'
sourceUpdated: '2026-11-23T21:16:59.737'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-134381'
references:
  - url: 'https://github.com/frappe/erpnext/security/advisories/GHSA-mmcf-jq27-crrp'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/frappe-erpnext-5.0.0-before-15.121.4-missing-authorization-in-purchase-order-close-endpoint
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
epss: 0.00465
epssPercentile: 0.4076
ingestedAt: '2026-11-23T21:36:56.818Z'
vendor: frappe
product: erpnext
affected:
  - erpnext >= 5.0.0 < 15.121.4
  - erpnext >= 16.0.0 < 16.36.0
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-23T20:38:52.437110Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
