Vulnerability · Published Jul 10, 2026 · Assigned by GitHub_M
CVE-2026-47199Frappe: check_safe_sql_query Permits SELECT INTO OUTFILE
Low 2.3
In plain English
A low-severity SQL injection in frappe from frappe. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities).
Severity (CVSS 4.0)2.3Low
Exploit odds (30 days)0.5%top 54.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
Frappe is a full-stack web application framework. Prior to 16.18.3 and 15.108.0, check_safe_sql_query permitted SELECT INTO OUTFILE queries, which could potentially work on self-hosted sites if database permissions are not well aligned and MySQL FILE privileges are available. This issue is fixed in versions 16.18.3 and 15.108.0.
Affected products (as reported)
Weakness: CWE-89 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/frappe/frappe/security/advisories/GHSA-wx8j-cw4r-vrhv x_refsource_CONFIRM
- https://github.com/frappe/frappe/pull/39345 x_refsource_MISC
- https://github.com/frappe/frappe/pull/39346 x_refsource_MISC
- https://github.com/frappe/frappe/commit/628e103f7ffe307447d9fc9e2c572cbddedfa3b5 x_refsource_MISC
- https://github.com/frappe/frappe/commit/91d3ded038d1c901b73f4a2293e134d691c1662d x_refsource_MISC
- https://github.com/frappe/frappe/releases/tag/v15.108.0 x_refsource_MISC
- https://github.com/frappe/frappe/releases/tag/v16.18.3 x_refsource_MISC