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.
https://github.com/frappe/frappe/security/advisories/GHSA-wx8j-cw4r-vrhv
https://github.com/frappe/frappe/releases/tag/v16.18.3
https://github.com/frappe/frappe/releases/tag/v15.108.0
https://github.com/frappe/frappe/pull/39346
https://github.com/frappe/frappe/pull/39345
https://github.com/frappe/frappe/commit/91d3ded038d1c901b73f4a2293e134d691c1662d
https://github.com/frappe/frappe/commit/628e103f7ffe307447d9fc9e2c572cbddedfa3b5
Published: 2026-07-10
Updated: 2026-07-10
Base Score: 7.5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P
Severity: High
Base Score: 9.8
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity: Critical
Base Score: 2.3
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
Severity: Low