Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-137551: high-severity vulnerability (CVSS 8.6) in frappe frappe.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 8.6.
Affected products and versions
frappe frappe >= 16.0.0, < 16.36.0; frappe frappe 16.36.0 (fixed in 16.36.0); frappe frappe < 15.121.2; frappe frappe 15.121.2 (fixed in 15.121.2)
| Product | Versions | Fixed in |
|---|---|---|
| frappe frappe | >= 16.0.0, < 16.36.0 | — |
| frappe frappe | 16.36.0 | 16.36.0 |
| frappe frappe | < 15.121.2 | — |
| frappe frappe | 15.121.2 | 15.121.2 |
Action recommended by the source
Upgrade to a fixed version: 15.121.2, 16.36.0.
Fixed in: 15.121.2, 16.36.0
Sources and references
- https://github.com/frappe/frappe/security/advisories/GHSA-qrxv-3vjh-gpx7 — CVE Program
- https://www.vulncheck.com/advisories/frappe-before-16.36.0-jinja-sandbox-bypass-via-module-path-hooks — CVE Program
Weaknesses (CWE): CWE-749
Relevant change history
Published
Preliminary advisory published.