Frappe before 16.36.0 Jinja Sandbox Bypass via Module-Path Hooks
- State
- Published
- Severity
- 8.6 High
- Published
- Nov 26, 2026
- Updated
- Nov 26, 2026
- Reserved
- Nov 26, 2026
Description
Frappe Framework before 15.121.2 and 16.x before 16.36.0 exposes functions imported into module-path-hooked modules as Jinja globals, making them callable from sandboxed templates. Authenticated users who can author rendered templates, such as Print Formats, can invoke these functions by name to achieve server-side code execution that bypasses the Jinja sandbox.
| Product | Versions |
|---|---|
| frappe frappe | 16.0.0 to before 16.36.0 Affected16.36.0 Not Affected |
| frappe frappe | before 15.121.2 Affected15.121.2 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.6 High | VulnCheck | |
| 3.1 | 7.2 High | VulnCheck |
Weaknesses
- CWE-749 Exposed Dangerous Method or Function
References
- GitHub Security Advisory (GHSA-qrxv-3vjh-gpx7)Vendor Advisory
- VulnCheck Advisory: Frappe before 16.36.0 Jinja Sandbox Bypass via Module-Path HooksThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.