Read the docs

SQL injection in Frappe ERPNext via missing input validation

Priority LOW 31CWE-89Published · Updated

Key facts

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

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

Summary

Frappe ERPNext before 15.110.0 and 16.x before 16.21.0 contains an SQL injection flaw in some endpoints. The application does not validate input in these endpoints, so it passes crafted values into database queries (CWE-89). An authenticated attacker can send specially crafted requests to manipulate database queries and extract sensitive information from the database.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

Description from the CNA

Frappe ERPNext before 15.110.0 and 16.x before 16.21.0 contains a SQL injection vulnerability in some endpoints caused by missing input validation. Authenticated attackers can send specially crafted requests to these endpoints to manipulate database queries and extract sensitive information from the database.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00276 20th percentileScored 2026-11-07
Fix Fixed erpnext (frappe): 15.110.0, 16.21.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
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
frappeerpnextbefore 15.110.0; 16.0.0-beta.1 to before 16.21.015.110.0, 16.21.0Patch availableCNA
  • erpnext Vendorfrappe Affected before 15.110.0; 16.0.0-beta.1 to before 16.21.0 Fixed in 15.110.0, 16.21.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 ERPNext to version 15.110.0 or 16.21.0. The fixed versions are 15.110.0 for the 15.x branch and 16.21.0 for the 16.x branch.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

  • Fix · CNA erpnext (frappe) Fixed in 15.110.0, 16.21.0

Fixed in the same release

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

  • Release ·

    frappe erpnext 15.110.0, 16.21.0

    7 records Highest priority Priority LOW 7 LOW

    Other records, highest priority first

    • TI-2026-71400 Missing authorization in Frappe ERPNext record creation endpointsPriority LOW 36
    • TI-2026-71425 Frappe ERPNext inventory endpoints lack authorization, allowing data changesPriority LOW 31
    • TI-2026-71401 Missing authorization in Frappe ERPNext endpoints exposes dataPriority LOW 29

Timeline

  1. 2026-10-13 Threatist record created from CVE-2026-109638
  2. 2026-10-13 Alias added: GHSA-fr36-h63g-fcp4
  3. 2026-10-13 Priority changed: MEDIUM → LOW
  4. 2026-10-13 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 321 →

Sources