# CVE-2026-39351: Frappe unrestricted Doctype access via API exploit

Source: https://junglewise.ai/threats/cve-2026-39351-frappe-unrestricted-doctype-access-via-api-exploit  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-07. Updated: 2026-07-24  
License: CC BY 4.0 with a link back

CVE-2026-39351 · Severity: critical · CVSS 9.1 · Published 2026-04-07

Frappe is a web application framework used to build business software like ERPNext. A security flaw allows unauthorized users to access and manipulate internal data structures (Doctypes) through the application's programming interface (API). This could lead to the exposure of sensitive business information or unauthorized modification of records without proper credentials.

Technologies: [Frappe Technologies Frappe Framework](https://junglewise.ai/threats/technologies/frappe-framework). Vendors: [Frappe Technologies](https://junglewise.ai/threats/vendors/frappe-technologies).

## Quick answers

**Is CVE-2026-39351 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-39351 being exploited in the wild.

**How severe is CVE-2026-39351?** Critical severity, with a CVSS score of 9.1, published 7 April 2026.

**Which products and versions are affected?** Frappe Technologies Frappe Framework < 15.104.0, >= 16.0.0-beta.1 < 16.14.0.

**Is there a fix for CVE-2026-39351?** A patch was published on 2026-04-07. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-39351 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-39351?** Check whether you run Frappe Technologies Frappe Framework at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A missing authorization vulnerability (CWE-862) exists in the Frappe web framework's API. Prior to the patched versions, the framework failed to properly restrict access to 'Doctypes' (the core data schemas in Frappe) when accessed via specific API endpoints. A remote, unauthenticated attacker can exploit this to bypass intended access controls, allowing them to read or write data they should not have access to. The vulnerability is resolved in versions 15.104.0 and 16.14.0.

## Affected products

- Frappe Frappe < 15.104.0, >= 16.0.0-beta.1 < 16.14.0

## Timeline

- 2026-04-07: disclosed
- 2026-04-07: advisory
- 2026-04-07: patched

## References

- [https://github.com/frappe/frappe/security/advisories/GHSA-8ggw-hfr6-rw3x](https://github.com/frappe/frappe/security/advisories/GHSA-8ggw-hfr6-rw3x)

## Related threats

- [Frappe Framework user enumeration in reset_password endpoint](https://junglewise.ai/threats/cve-2026-58503-frappe-framework-user-enumeration-in-reset-password-endpoint)
- [Frappe Framework missing authorization in file-handling API](https://junglewise.ai/threats/cve-2026-48127-frappe-framework-missing-authorization-in-file-handling-api)
- [Frappe Framework missing authorization in reportview](https://junglewise.ai/threats/cve-2026-47422-frappe-framework-missing-authorization-in-reportview)
- [Frappe Framework SQL injection via SELECT INTO OUTFILE in safe_exec](https://junglewise.ai/threats/cve-2026-47199-frappe-framework-sql-injection-via-select-into-outfile-in-safe)
- [Frappe path traversal in download_backups](https://junglewise.ai/threats/cve-2026-42219-frappe-path-traversal-in-download-backups)
