{"id":"CVE-2026-47199","published":"2026-07-10T21:14:12Z","modified":"2026-07-13T15:59:34Z","title":"Frappe: check_safe_sql_query Permits SELECT INTO OUTFILE","vendor":"frappe","product":"frappe","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.3,"severity":"LOW","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00547,"percentile":0.46728,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/frappe/frappe/security/advisories/GHSA-wx8j-cw4r-vrhv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/frappe/frappe/pull/39345","tags":["x_refsource_MISC"]},{"url":"https://github.com/frappe/frappe/pull/39346","tags":["x_refsource_MISC"]},{"url":"https://github.com/frappe/frappe/commit/628e103f7ffe307447d9fc9e2c572cbddedfa3b5","tags":["x_refsource_MISC"]},{"url":"https://github.com/frappe/frappe/commit/91d3ded038d1c901b73f4a2293e134d691c1662d","tags":["x_refsource_MISC"]},{"url":"https://github.com/frappe/frappe/releases/tag/v15.108.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/frappe/frappe/releases/tag/v16.18.3","tags":["x_refsource_MISC"]}],"priority":{"score":11.0,"factors":[{"name":"EPSS percentile","points":9.35},{"name":"CVSS severity","points":1.61}]},"vendorSlug":"frappe","affectedVersions":[{"vendor":"frappe","product":"frappe","versions":["< 15.108.0",">= 16.0.0-beta.1, < 16.18.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-13T15:59:27.298539Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-43101","exploited":false,"provenance":"source"}}