high8.6
CVE-2026-137551
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…
Impact
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.
An attacker can exploit this over the network, with an administrator account, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Elated-Themes | Frappe | before 15.121.2 from 16.0.0 before 16.36.0 |
| Frappe | Frappe | from 16.0.0 before 16.36.0 before 15.121.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/frappe/frappe/security/advisories/GHSA-qrxv-3vjh-gpx7
- https://www.vulncheck.com/advisories/frappe-before-16.36.0-jinja-sandbox-bypass-via-module-path-hooks
- https://github.com/advisories/GHSA-2mp6-rg3v-jj4v
- https://nvd.nist.gov/vuln/detail/CVE-2026-137551