CVE-2025-66439: frappe erpnext SQL Injection
Vulnerability summary
CVE-2025-66439 is a critical (CVSS 9.8) SQL Injection vulnerability in frappe erpnext. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 30.6% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 15-12-2025PublishedVulnerability first disclosed.
- 16-12-2025Last modifiedVulnerability information updated.
Description
An issue was discovered in Frappe ERPNext through 15.89.0. Function get_outstanding_reference_documents() at erpnext.accounts.doctype.payment_entry.payment_entry.py is vulnerable to SQL Injection. It allows an attacker to extract arbitrary data from the database by injecting SQL payloads via the from_posting_date parameter, which is directly interpolated into the query without proper sanitization or parameter binding.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.38%
Chance of exploitation in the next 30 days
Percentile
31%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.38% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (iamanc.github.io)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Frappe1 product
- erpnext≤ 15.89.0
1 vendor · 1 product