CVE-2026-47199
Frappe: check_safe_sql_query Permits SELECT INTO OUTFILE
- State
- Published
- Severity
- 2.3 Low
- Published
- Jul 10, 2026
- Updated
- Jul 13, 2026
- Reserved
- May 18, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 2.3 Low | 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 | GitHub_M |
Weaknesses
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected Products
| Product | Versions |
|---|---|
frappefrappe |
|
References
- https://github.com/frappe/frappe/security/advisories/GHSA-wx8j-cw4r-vrhv
- https://github.com/frappe/frappe/pull/39345
- https://github.com/frappe/frappe/pull/39346
- https://github.com/frappe/frappe/commit/628e103f7ffe307447d9fc9e2c572cbddedfa3b5
- https://github.com/frappe/frappe/commit/91d3ded038d1c901b73f4a2293e134d691c1662d
- https://github.com/frappe/frappe/releases/tag/v15.108.0
- https://github.com/frappe/frappe/releases/tag/v16.18.3
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.