CVE-2026-137551

Frappe before 16.36.0 Jinja Sandbox Bypass via Module-Path Hooks

Published Nov 26, 2026 CVSS 4.0 · 8.6 High EPSS n/a KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title Frappe before 16.36.0 Jinja Sandbox Bypass via Module-Path Hooks
First Time appeared Frappe
Frappe frappe
Weaknesses CWE-749
CPEs cpe:2.3:a:frappe:frappe:*:*:*:*:*:*:*:*
Vendors & Products Frappe
Frappe frappe
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.6, 'vector': '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'}

Weaknesses
  • CWE-749

    Exposed Dangerous Method or Function

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 26, 2026, 4:00 PM
Reserved
Nov 26, 2026, 12:47 PM
Status
Deferred
Published
Nov 26, 2026, 4:18 PM
Modified
Nov 26, 2026, 4:18 PM