Frappe: check_safe_sql_query Permits SELECT INTO OUTFILE
Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.
cve-program · CVE-2026-47199
PublishedFrappe 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-47199 · CVE overview and exploitation status
cve-program · CVE-2026-47199
- 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
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.