CVE-2025-30212: PYSEC-2026-1390 - Frappe has possibility of SQL injection due to improper validations

CVE-2025-30212 · Severity: medium · CVSS 4 · Published 2026-07-07

Frappe is a popular web application framework used to build enterprise software and business applications. An SQL injection vulnerability in the framework could allow attackers to access sensitive information from the underlying database without proper authorization. This affects all applications built on vulnerable versions of Frappe.

Technologies: Frappe, frappe (PyPI). Vendors: Frappe, PyPI.

Quick answers

Is CVE-2025-30212 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-30212 being exploited in the wild.
How severe is CVE-2025-30212?
Medium severity, with a CVSS score of 4, published 7 July 2026.
Which products and versions are affected?
Frappe before 14.89.0, 15.0.0 before 15.51.0; frappe (PyPI) ECOSYSTEM:introduced=0,fixed=14.89.0,introduced=15.0.0,fixed=15.51.0.
Is there a fix for CVE-2025-30212?
Yes. frappe (PyPI): upgrade to 15.51.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2025-30212 attacked?
It is attacked over the network.
Am I affected by CVE-2025-30212?
Check whether you run Frappe or frappe (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • frappe (PyPI): upgrade to 15.51.0 or later
    pip install "frappe>=15.51.0"

Technical details

Frappe Framework contains an SQL injection vulnerability (CWE-89) caused by improper input validation that fails to sanitize user-supplied data before incorporating it into database queries. The vulnerability is network-reachable and requires no authentication or user interaction to exploit. An attacker can craft malicious input to bypass validation checks, inject arbitrary SQL commands, and extract sensitive data from the application's database. Patches are available in version 14.89.0 and 15.51.0.

Affected products

  • Frappe Frappe before 14.89.0, 15.0.0 before 15.51.0

Identifiers

  • CVE-2025-30212
  • GHSA-3hj6-r5c9-q8f3
  • PYSEC-2026-1390

Timeline

  • 2025-03-25: disclosed
  • 2025-03-25: patched: Versions 14.89.0 and 15.51.0 released with patches

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.