Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-114664 Overview
CVE-2026-114664 is a blind SQL injection vulnerability in Frappe Framework versions prior to 16.33.0. The flaw resides in the frappe.desk.doctype.event.event.get_events method, which fails to properly neutralize user-supplied input before including it in SQL queries. Authenticated attackers can send crafted parameters to get_events and infer query results from application behavior, enabling extraction of sensitive database contents. The vulnerability is classified under CWE-89 (Improper Neutralization of Special Elements used in an SQL Command).
Critical Impact
Authenticated attackers can exfiltrate arbitrary data from the Frappe database, including credentials, session artifacts, and business records, through blind inference against the get_events endpoint.
Affected Products
- Frappe Framework versions prior to 16.33.0
- Applications built on vulnerable Frappe releases (including ERPNext deployments depending on affected Frappe versions)
- Any Frappe deployment exposing the Desk interface to authenticated users
Discovery Timeline
- 2026-10-22 - CVE-2026-114664 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-114664
Vulnerability Analysis
Frappe Framework exposes the get_events method as part of the Event DocType in the Desk module. The method accepts parameters that are concatenated or interpolated into SQL statements without sufficient sanitization. Because the endpoint returns calendar event data, an attacker controlling input can craft payloads whose boolean outcome, timing differences, or error states reveal underlying query results.
The vulnerability is blind, meaning the response does not directly echo query output. Attackers must infer data one bit at a time using conditional expressions. Despite the slower exfiltration rate, automated tooling such as sqlmap can retrieve entire tables.
Root Cause
The root cause is improper neutralization of user-controlled input before use in an SQL statement, as described by CWE-89. The get_events handler does not consistently use parameterized queries or validate filter/condition inputs against an allow list. Attacker-supplied data reaches the database driver as part of the SQL text, allowing clause manipulation.
Attack Vector
Exploitation requires network access to the Frappe Desk and a valid authenticated session with permission to call get_events. The attacker submits crafted filter or condition parameters to the method, typically through the JSON-RPC style Desk API. Repeated requests encode boolean conditions whose truth value is inferred from server behavior. No user interaction is required beyond the attacker's own session.
Refer to the GitHub Security Advisory GHSA-p4w2-9mr5-6prj and the VulnCheck Advisory on SQL Injection for additional technical context. No public proof-of-concept code is referenced in the current advisory data.
Detection Methods for CVE-2026-114664
Indicators of Compromise
- Repeated authenticated requests to the /api/method/frappe.desk.doctype.event.event.get_events endpoint from a single session within a short interval.
- Request payloads to get_events containing SQL metacharacters such as single quotes, UNION, SLEEP(, BENCHMARK(, CASE WHEN, or comment sequences like -- and /*.
- Anomalous response time distributions on get_events consistent with time-based blind SQL injection.
- Spikes in database errors or Frappe application exceptions correlated with Desk event API traffic.
Detection Strategies
- Deploy a web application firewall rule to flag SQL metacharacters and inference patterns in parameters sent to get_events.
- Enable Frappe audit logging for Desk API calls and alert on high-volume calls to the Event DocType from a single user.
- Correlate database slow-query logs with application access logs to identify time-based injection attempts.
Monitoring Recommendations
- Ingest Frappe application and reverse-proxy logs into a centralized analytics platform and build detections for the get_events endpoint.
- Monitor authentication logs for newly created low-privilege accounts followed by Desk API activity, which may indicate attacker reconnaissance.
- Track outbound traffic from the Frappe host for signs of post-exploitation data staging.
How to Mitigate CVE-2026-114664
Immediate Actions Required
- Upgrade Frappe Framework to version 16.33.0 or later across all production and staging environments.
- Audit Frappe user accounts and revoke unused or over-privileged Desk access.
- Review database and application logs for prior exploitation attempts against get_events.
- Rotate secrets, API keys, and user credentials stored within the Frappe database if compromise is suspected.
Patch Information
The maintainers addressed the vulnerability in Frappe Framework 16.33.0. Upgrade guidance and the fix commit are referenced in the GitHub Security Advisory GHSA-p4w2-9mr5-6prj. For managed ERPNext deployments, apply the upstream Frappe update through the standard bench update workflow.
Workarounds
- Restrict network exposure of the Frappe Desk to trusted networks or VPN segments until patching is complete.
- Place a web application firewall in front of Frappe with signatures blocking SQL injection patterns on /api/method/frappe.desk.doctype.event.event.get_events.
- Temporarily remove or constrain the Event DocType permissions for non-essential roles to reduce the attacker population.
# Upgrade Frappe via bench to a patched release
bench update --version 16.33.0
bench --site all migrate
bench restart
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

