CVE-2026-137551
JSON

8.6high

Frappe before 16.36.0 Jinja Sandbox Bypass via Module-Path Hooks

Severity
8.6high CVSS:4.0 by VulnCheck
Exploit likelihood
0.67% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
frappe frappefrom 16.0.0 before 16.36.0, before 15.121.2
Not affected: 16.36.0, 15.121.2
CVE List

All scores

VulnCheck8.6high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-749

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-137551 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-137551 changed 2026-12-01Public domain