CVE-2026-137551

Frappe before 16.36.0 Jinja Sandbox Bypass via Module-Path Hooks

High published · updated

8.6
CVSS score out of 10 · NVD (vulncheck.com)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
frappe frappe 16.0.0 → <16.36.016.36.0 CVE.org
frappe frappe 0 → <15.121.215.121.2 CVE.org

References