CVE-2026-47199
LowCVSS 2.3Exploitation Probability (EPSS)
Low risk32th percentile - higher than 32% of all known CVEs
Summary
Frappe framework prior to versions 16.18.3 and 15.108.0 had a vulnerability in the check_safe_sql_query function that allowed SELECT INTO OUTFILE queries. This could be exploited on self-hosted sites if database permissions are misconfigured and MySQL FILE privileges are available.
Risk Assessment
The risk involves potential writing of database data to server files, which could lead to sensitive information disclosure or further attack escalation, especially in environments with loose permissions.
Recommendation
Immediately update Frappe to version 16.18.3 or 15.108.0 and review and tighten MySQL database permissions, particularly restrict the FILE privilege.
Original NVD description (English source)
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.

