CVE-2026-137551
published high CVSS 4.0 · 8.6Frappe before 16.36.0 Jinja Sandbox Bypass via Module-Path Hooks
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| frappe | — | frappe16.0.0 to < 16.36.0 (affected · semver) · 16.36.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| frappe | — | frappe0 to < 15.121.2 (affected · semver) · 15.121.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.2 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| frappe | frappe | 16.0.0 to < 16.36.0 (affected · semver)16.36.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| frappe | frappe | 0 to < 15.121.2 (affected · semver)15.121.2 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-749 Exposed Dangerous Method or Function
References
2- GitHub Security Advisory (GHSA-qrxv-3vjh-gpx7) https://github.com/frappe/frappe/security/advisories/GHSA-qrxv-3vjh-gpx7
- VulnCheck Advisory: Frappe before 16.36.0 Jinja Sandbox Bypass via Module-Path Hooks https://www.vulncheck.com/advisories/frappe-before-16.36.0-jinja-sandbox-bypass-via-module-path-hooks
Provider assertions
2VulnCheck · cna
Frappe before 16.36.0 Jinja Sandbox Bypass via Module-Path Hooks
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 23212e69deb2a63a2e370044dee7e58eea77bb82156e13fa5e8527c851438e51
- Ingested
- 01 Dec 2026, 20:14:27 UTC
- Source record
- Official CVE record