Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-12895— SQL Injection in Frappe's ERPNext

Quick assessment

Affected
Frappe ERPNext
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Frappe erpnext是印度Frappe公司开源的一套企业资源规划系统。 Frappe ERPNext 15.107.0版本和15.107.2版本存在SQL注入漏洞,该漏洞源于应用程序使用str.format()直接拼接SQL查询字符串,未采用参数化查询,允许供应商记录的docname中包含的SQL元字符被解释为查询的一部分,可能导致认证的低权限用户执行任意SQL查询、绕过访问限制、提取数据库中的敏感信息(如管理员密码哈希片段等)。

CVSS 7.1 · High EPSS 0.22% · P12

Affected Version Matrix 2

VendorProduct Version RangeStatus
Frappe ERPNext < 15.111.0 affected
< 16.22.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-12895

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
SQL Injection in Frappe's ERPNext
Source: CVE Program / CVE List V5
Vulnerability Description
SQL injection in Frappe's ERPNext, versions ERPNext 15.107.0 and Frappe 15.107.2. The application constructs SQL queries through direct string interpolation using `str.format()` without employing parameterized queries, allowing the name (docname) of a Supplier record containing SQL metacharacters to be interpreted as part of the query. Exploitation of this vulnerability could allow an authenticated user with low privileges to execute arbitrary SQL queries, bypass Frappe’s access restrictions (DocPerm), extract confidential information from the database—including fragments of the administrator’s password hash—and access other sensitive data, such as credentials, integration tokens, or financial information.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Frappe ERPNext SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Frappe erpnext是印度Frappe公司开源的一套企业资源规划系统。 Frappe ERPNext 15.107.0版本和15.107.2版本存在SQL注入漏洞,该漏洞源于应用程序使用str.format()直接拼接SQL查询字符串,未采用参数化查询,允许供应商记录的docname中包含的SQL元字符被解释为查询的一部分,可能导致认证的低权限用户执行任意SQL查询、绕过访问限制、提取数据库中的敏感信息(如管理员密码哈希片段等)。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Frappe ERPNext 0 ~ 15.111.0 -

II. Public POCs for CVE-2026-12895

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-12895

登录查看更多情报信息。

Vendor Advisories for CVE-2026-12895 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-12895

No comments yet


Leave a comment