{"id":"CVE-2026-47199","aliases":["EUVD-2026-43101","GHSA-wx8j-cw4r-vrhv"],"status":"published","title":"Frappe: check_safe_sql_query Permits SELECT INTO OUTFILE","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.","severity":{"version":"4.0","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","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00547,"percentile":0.46149,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-89"],"published":"2026-07-10T21:14:12Z","modified":"2026-10-28T02:30:41Z","products":[{"vendor":"elated-themes","product":"frappe"},{"vendor":"frappe","product":"frappe"}],"references":[{"url":"https://github.com/frappe/frappe/security/advisories/GHSA-wx8j-cw4r-vrhv","tags":["x_refsource_CONFIRM","advisory"]},{"url":"https://github.com/frappe/frappe/pull/39345","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/frappe/frappe/pull/39346","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/frappe/frappe/commit/628e103f7ffe307447d9fc9e2c572cbddedfa3b5","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/frappe/frappe/commit/91d3ded038d1c901b73f4a2293e134d691c1662d","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/frappe/frappe/releases/tag/v15.108.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/frappe/frappe/releases/tag/v16.18.3","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47199.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47199","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-47199","title":"Frappe: check_safe_sql_query Permits SELECT INTO OUTFILE","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.","status":"published","published":"2026-07-10T21:14:12.195Z","modified":"2026-07-13T15:59:34.73Z","cvss":[{"version":"4.0","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","level":"low","assessor":"cna"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T13:36:29.327819Z"}],"euvd":[{"id":"EUVD-2026-43101","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.","status":"published","published":"2026-07-10T21:14:12Z","modified":"2026-07-13T15:59:34Z","cvss":[{"version":"4.0","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","level":"low"}],"updated_at":"2026-11-02T18:20:01.519776Z"}],"nvd":[{"id":"CVE-2026-47199","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.","status":"published","published":"2026-07-10T22:16:41.87Z","modified":"2026-07-13T18:05:36.13Z","cvss":[{"version":"4.0","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"low","assessor":"secondary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:12:28.771746Z"}],"osv":[{"id":"CVE-2026-47199","title":"Frappe: check_safe_sql_query Permits SELECT INTO OUTFILE","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.","status":"published","published":"2026-07-10T21:14:12.195Z","modified":"2026-10-28T02:30:41.326135009Z","cvss":[{"version":"4.0","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","level":"low"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:45:06.231145Z"}]}}
