# CVE-2026-137551: Frappe before 16.36.0 Jinja Sandbox Bypass via Module-Path Hooks

- Severity: High 8.6 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 53% of CVEs (2026-12-01)
- Published: 2026-11-26T16:00:11.577Z
- Modified: 2026-12-01T20:18:53.593Z
- Weaknesses: CWE-749
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- frappe frappe: from 16.0.0 before 16.36.0; before 15.121.2 (not affected: 16.36.0; 15.121.2)

## Every score

- VulnCheck: CVSS:4.0 8.6 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`
- VulnCheck: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/frappe/frappe/security/advisories/GHSA-qrxv-3vjh-gpx7> (vendor-advisory)
- <https://www.vulncheck.com/advisories/frappe-before-16.36.0-jinja-sandbox-bypass-via-module-path-hooks> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-137551](https://www.cve.org/CVERecord?id=CVE-2026-137551), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-137551](https://nvd.nist.gov/vuln/detail/CVE-2026-137551), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-137551 · Whole record: https://cve.day/CVE-2026-137551.json · Rebuilt by cve.day 2026-12-01T20:32:33.511Z
