CVE-2026-39351: GHSL-2026-012: Unauthorized Data Exposure via REST API Link Expansion in Frappe - CVE-2026-39351
Frappe is a full-stack web application framework. Prior to 16.14.0 and 15.104.0, Frappe allows unrestricted Doctype access via API exploit.
Other sources
Frappe v15.96.0 contains a vulnerability in its REST API, allowing attackers to bypass doctype restrictions via v1 REST document read with expandlinks leaking linked document data without permission checks.
— GitHub Security Lab
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Frappeto a version that resolves this vulnerability.Fixed in 16.14.0Patch GHSL-2026-012 - Upgrade
Upgrade
Frappeto a version that resolves this vulnerability.Fixed in 15.104.0Patch GHSL-2026-012
Event History
Frequently Asked Questions
What is the severity of CVE-2026-39351?
CVE-2026-39351 is considered a critical vulnerability as it allows unrestricted access to Doctypes via the API.
How do I fix CVE-2026-39351?
To fix CVE-2026-39351, update Frappe to versions 16.14.0 or 15.104.0 or later.
Who is affected by CVE-2026-39351?
CVE-2026-39351 affects Frappe versions prior to 16.14.0 and 15.104.0.
What types of attacks can CVE-2026-39351 enable?
CVE-2026-39351 can enable attackers to access sensitive data and manipulate Doctypes without restrictions.
Is there a workaround for CVE-2026-39351?
As a temporary workaround for CVE-2026-39351, restrict API access to trusted IP addresses until you can upgrade.