CVE-2022-41712 Path traversal in Frappe
An attacker can read arbitrary local files via the import_file parameter in Frappe, exposing sensitive system data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-41712?
CVE-2022-41712 is a medium-severity path traversal vulnerability in Frappe, published on 25 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Frappe version 14.10.0 allows an external attacker to remotely obtain arbitrary local files. This is possible because the application does not correctly validate the information injected by the user in the import_file parameter.
Weakness: CWE-22
Which versions are affected by CVE-2022-41712?
It affects 1 product.
Products include Frappe Frappe.
How do I fix CVE-2022-41712?
No fix has been published for CVE-2022-41712 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-41712 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-41712 exists.
Other vulnerabilities in Frappe
- CVE-2019-14965 Code injection in n/a
- CVE-2026-35614 Frappe has a SQL injection in bulk_update
- CVE-2026-31877 Frappe SQL Injection due to improper field sanitization
- CVE-2025-68929 Frappe may be vulnerable remote code execution due to server-side template injection
- CVE-2019-14966 SQL injection in n/a
Sources
Also known as GHSA-rfgc-5r25-fw46.