What is CVE-2026-137551?
CVE-2026-137551 is a high-severity vulnerability in frappe, published on 26 Nov 2026.
Official 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.
Weakness: CWE-749
How severe is CVE-2026-137551?
CVE-2026-137551 scores 8.6 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- High
- User interaction
- None
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Which versions are affected by CVE-2026-137551?
2 open source packages ship an affected version, including frappe.
| Package | Affected | Fixed in |
|---|---|---|
frappe PyPIpkg:pypi/frappe | All versions | 15.121.2 |
frappe PyPIpkg:pypi/frappe | From 16.0.0 | 16.36.0 |
How do I fix CVE-2026-137551?
Upgrade frappe to a fixed version for your release line: 16.36.0 or 15.121.2.
Is CVE-2026-137551 being exploited?
There is no known exploitation of CVE-2026-137551 in the wild and no public exploit code.
Sources
Also known as GHSA-2mp6-rg3v-jj4v, GHSA-qrxv-3vjh-gpx7.