CVE-2026-137551 PUBLISHED

Frappe before 16.36.0 Jinja Sandbox Bypass via Module-Path Hooks

Assigner: VulnCheck
Reserved: 26.11.2026 Published: 26.11.2026 Updated: 26.11.2026

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.

Metrics

CVSS 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
CVSS Score: 8.6

Product Status

Vendor frappe
Product frappe
Versions Default: unaffected
  • affected from 16.0.0 to 16.36.0 (excl.)
  • Version 16.36.0 is unaffected
Vendor frappe
Product frappe
Versions Default: unaffected
  • affected from 0 to 15.121.2 (excl.)
  • Version 15.121.2 is unaffected

Credits

  • Reyniel reporter
  • AarDG10 remediation developer

References

Problem Types

  • Exposed Dangerous Method or Function CWE