SQL injection in Frappe reportview lets crafted input alter queries
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 · High · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
Frappe, a full-stack web application framework, is affected before 16.23.0. The get_count() method in reportview builds SQL and runs it through a raw database path (CWE-89), so crafted report input can change the SQL the application executes. A remote attacker with low privileges can exploit this without user interaction and can read and modify database data.
Written with Claude Haiku 5.5 from the sources below · 2026-10-27
Description from the CNA
Frappe is a full-stack web application framework. Prior to 16.23.0, the get_count() method in reportview composes a count operation around generated SQL through a raw database execution path, allowing crafted report input to alter SQL executed by the application. This issue is fixed in version 16.23.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade Frappe to version 16.23.0, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-10-27
- Fix · CNA frappe (frappe) Fixed in 16.23.0
Timeline
- 2026-10-13 Threatist record created from CVE-2026-55823
- 2026-10-14 Priority changed: LOW → MEDIUM
References
Other 6
- https://github.com/frappe/frappe/security/advisories/GHSA-mf6r-q34j-pjw7
- https://github.com/frappe/frappe/pull/40022
- https://github.com/frappe/frappe/pull/40027
- https://github.com/frappe/frappe/commit/49dbde7460fa41528154088d23b6c6e12f733f9b
- https://github.com/frappe/frappe/commit/f4f2df926e3c2db2da5fc79983f285397c028690
- https://github.com/frappe/frappe/releases/tag/v16.23.0
More frappe vulnerabilities
- 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
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences