Read the docs

Missing authorization in ERPNext Stock module record creation

Priority MEDIUM 57CWE-862Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Security bypass
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-862.

Summary

Frappe ERPNext from 15.10.4 before 15.122.0 and from 16.0.0 before 16.50.0 has a missing authorization check (CWE-862) in a Stock module endpoint. The endpoint creates missing Serial No and Batch master records without verifying create permission. An authenticated user with low privileges can create these records outside their role, which affects inventory data integrity.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

Description from the CNA

Frappe ERPNext 15.10.4 before 15.122.0 and 16.x before 16.50.0 contains a missing authorization vulnerability in a Stock module endpoint that checks whether an inventory number exists and creates missing Serial No and Batch master records without verifying create permission. Authenticated users can send a crafted request with a new number to create these records outside their role, affecting inventory data integrity.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00264 11th percentileScored 2026-11-30
Fix Fixed erpnext (frappe): 15.122.0, 16.50.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
frappeerpnext15.10.4 to before 15.122.015.122.0Patch availableCNA
frappeerpnext16.0.0 to before 16.50.016.50.0Patch availableCNA
  • erpnext Vendorfrappe Affected 15.10.4 to before 15.122.0 Fixed in 15.122.0 Patch available CNA
  • erpnext Vendorfrappe Affected 16.0.0 to before 16.50.0 Fixed in 16.50.0 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:frappe:erpnext:*:*:*:*:*:*:*:*——frappe
  • cpe:2.3:a:frappe:erpnext:*:*:*:*:*:*:*:* Versions — — ·frappe

Remediation

Upgrade Frappe ERPNext to 15.122.0 in the 15.x line or to 16.50.0 in the 16.x line.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

  • Fix · CNA erpnext (frappe) Fixed in 15.122.0
  • Fix · CNA erpnext (frappe) Fixed in 16.50.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    frappe erpnext 16.50.0

    21 records Highest priority Priority HIGH 2 HIGH, 3 MEDIUM, 16 LOW

    Other records, highest priority first

    • TI-2026-96413 Missing authorization in Frappe ERPNext bank clearance date endpointPriority HIGH 69
    • TI-2026-96373 Missing authorization in Frappe ERPNext BOM replacement endpointPriority HIGH 69
    • TI-2026-96409 SQL injection in Frappe ERPNext via sort parametersPriority MEDIUM 64
  • Release ·

    frappe erpnext 15.122.0

    20 records Highest priority Priority HIGH 1 HIGH, 2 MEDIUM, 17 LOW

    Other records, highest priority first

    • TI-2026-96373 Missing authorization in Frappe ERPNext BOM replacement endpointPriority HIGH 69
    • TI-2026-96409 SQL injection in Frappe ERPNext via sort parametersPriority MEDIUM 64
    • TI-2026-96396 Frappe ERPNext taxes endpoint skips permission checks on tax rowsPriority LOW 36

Timeline

  1. 2026-11-21 Threatist record created from CVE-2026-134397
  2. 2026-11-21 Alias added: GHSA-jg46-w39j-mvq7
  3. 2026-11-25 CISA SSVC decision points changed

References

  • TI-2026-28140 ERPNext v15.103.1 and before is vulnerable to Server-Side Template Injection (SSTI). CVSS 3.1CRITICAL 9.8
  • TI-2025-40873 An issue was discovered in Frappe ERPNext through 15.89.0. CVSS 3.1CRITICAL 9.8
  • TI-2025-40872 An issue was discovered in Frappe ERPNext through 15.89.0. CVSS 3.1CRITICAL 9.8
  • TI-2025-40871 A Server-Side Template Injection (SSTI) vulnerability exists in the Frappe ERPNext… CVSS 3.1CRITICAL 9.8
  • TI-2025-32462 In Frappe ERPNext 15.57.5, the function get_rfq_containing_supplier() at… CVSS 3.1HIGH 8.2
  • TI-2025-32461 In Frappe ERPNext 15.57.5, the function get_stock_balance_for() at… CVSS 3.1HIGH 8.2
See all 408 →

Sources