CVE-2026-31877
Received Received - Intake
SQL Injection in Frappe Framework Allows Unauthorized Data Access

Publication date: 2026-03-11

Last updated on: 2026-03-13

Assigner: GitHub, Inc.

Description
Frappe is a full-stack web application framework. Prior to 15.84.0 and 14.99.0, a specially crafted request made to a certain endpoint could result in SQL injection, allowing an attacker to extract information they wouldn't otherwise be able to. This vulnerability is fixed in 15.84.0 and 14.99.0.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-11
Last Modified
2026-03-13
Generated
2026-06-16
AI Q&A
2026-03-11
EPSS Evaluated
2026-06-14
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
frappe frappe to 14.99.0 (exc)
frappe frappe From 15.0.0 (inc) to 15.84.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

CVE-2026-31877 is a SQL injection vulnerability in the Frappe web application framework affecting versions prior to 15.84.0 and 14.99.0.

The vulnerability occurs because input fields are not properly sanitized, allowing an attacker to send a specially crafted request to a specific endpoint.

This crafted request can exploit the SQL injection flaw to execute unauthorized database queries and extract information that should not be accessible.

The issue has been fixed in versions 15.84.0 and 14.99.0 by addressing the input sanitization problem.

Impact Analysis

This vulnerability can allow an attacker to extract sensitive or unauthorized information from the database of an affected Frappe application.

Because the attacker can perform SQL injection without any privileges or user interaction, the impact is severe and can lead to data breaches.

Such unauthorized data access can compromise confidentiality and potentially lead to further exploitation depending on the data obtained.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

The immediate step to mitigate this vulnerability is to upgrade the frappe package to version 15.84.0 or 14.99.0 or later, where the SQL injection flaw has been fixed.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-31877. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart