Skip to main content

Frappe Framework EUVDEUVD-2026-136763

| CVE-2026-137551 HIGH
Exposed Dangerous Method or Function (CWE-749)
2026-11-26 VulnCheck
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as template author
  2. Delivery
    Craft Print Format calling leaked Jinja global
  3. Exploit
    Bypass Jinja sandbox on render
  4. Execution
    Execute code server-side
  5. Impact
    Full server compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Dangerous method exposure prevention
Exploitation Conditions

Requires an authenticated account that holds the privilege to create or edit rendered templates - specifically server-side-rendered templates such as Print Formats - in Frappe Framework. The attacker then calls, by name, a function that was imported into a module-path-hooked module and consequently exposed as a Jinja global. Limiting factors: the attacker must already be authenticated and possess template-authoring rights (PR:H; in practice an elevated role such as System Manager, not an ordinary end user), and the affected versions are Frappe Framework before 15.121.2 and 16.x before 16.36.0. There is no user-interaction requirement and the vector is network-reachable, but the privilege gate meaningfully narrows the exposed population to deployments where template-authoring users are not fully trusted.

Impact

This is a credible but privilege-gated server-side code execution flaw in Frappe Framework, scored CVSS 4.0 8.6 (High) by the vendor with vector AV:N/AC:L/AT:N/PR:H/UI:N and full VC:H/VI:H/VA:H impact. The signals are consistent rather than conflicting: network-reachable (AV:N), low attack complexity (AC:L), no user interaction (UI:N), but PR:H - the attacker must already be an authenticated user able to author rendered templates such as Print Formats, which in Frappe typically means an elevated role (e.g. System Manager). The vuln.today priority is 'this_week' rather than act_now/emergency. No KEV listing, no EPSS score, and no POC are present in the input, so exploitation status is 'no public exploit identified at time of analysis.' Net: this is a genuine RCE worth prompt patching for any multi-tenant or lower-trust Frappe deployment where template authors are not fully trusted, but the PR:H requirement makes it a privilege-escalation-to-RCE for already-trusted operators rather than a remote-unauthenticated internet-facing emergency. EPSS and KEV data are absent (not errors), so real-world exploitation frequency cannot be quantified from the provided data.

Exploit ScenarioDerived

An authenticated Frappe user who holds the privilege to author rendered templates (such as a Print Format) writes a template that references, by name, a function that was imported into a module-path-hooked module and thereby leaked into the Jinja global namespace. When the template is rendered, that function executes outside the intended Jinja sandbox, giving the attacker server-side code execution. No public exploit code was identified in the provided sources; only the GitHub Security Advisory and VulnCheck advisory are referenced.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 26, 2026

Authenticated users with template-authoring rights in Frappe Framework before 15.121.2 and 16.x before 16.36.0 can escape the Jinja sandbox and execute server-side code by invoking, by name, functions imported into module-path-hooked modules that are exposed as Jinja globals. The vendor scores this CVSS 4.0 8.6 (High) with PR:H, since exploitation requires an account holding a role such as System Manager that can create or edit rendered templates like Print Formats; an independently assessed CVSS 3.1 vector of AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H agrees on full confidentiality, integrity and availability impact within the Frappe application. No confirmed public exploit code was identified at time of analysis, and the flaw is not listed in CISA KEV; priority is this_week, with fixes released in 15.121.2 and 16.36.0.

RemediationAI

Upgrade Frappe Framework to 16.36.0 or later on the 16.x branch, or to 15.121.2 or later on the 15.x branch; these are the fixed releases listed in the package data and vendor advisory https://github.com/frappe/frappe/security/advisories/GHSA-qrxv-3vjh-gpx7. The vendor states there are no workarounds, so updating is the only complete fix; until the upgrade is applied, reduce exposure by limiting template-authoring privileges to trusted administrators, since exploitation depends on the ability to author rendered templates such as Print Formats, and by reviewing existing Print Formats for suspicious template content.

Affected VersionsENISA

frappe 0 <15.121.2
frappe 16.0.0 <16.36.0

Affected Packages

euvd frappe fix: 15.121.2, 16.36.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a CWE-749 (exposed dangerous method or function) issue in Frappe's Jinja template handling. Frappe's module-path hooks allow a module to substitute or extend imports at a given dotted module path; functions imported into such a hooked module become visible in the Jinja global namespace available to rendered templates. Because templates such as Print Formats are evaluated by the Jinja sandbox, which is meant to restrict template expressions to safe operations, the presence of those globals lets a template author reach callables the sandbox was supposed to keep out of reach, yielding server-side code execution. The affected packages are pip/frappe before 16.36.0 and before 15.121.2 (CPE cpe:2.3:a:frappe:frappe). The CVSS vector contributes AV:N and AC:L with PR:H; the trigger for the sandbox escape is the naming of exposed globals from an authored template, and no user interaction is required beyond that authoring capability.

Know when Frappe gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.6 HIGH
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
vuln.today AI 7.2 HIGH

Network-reachable template rendering (AV:N) with no special trigger complexity (AC:L); authoring Print Formats needs an elevated role so PR:H; code execution yields full C/I/A on the host, scope unchanged.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 26, 2026 - 17:02 EUVD
CVE Published
Nov 26, 2026 - 16:00 cve.org
HIGH 8.6

DescriptionCVE.org

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.

Technical POC Analysis

Bug class: CWE-749, Exposed Dangerous Method or Function (per the CVE record; the GHSA itself lists no CWE).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-137551 is a high-severity sandbox escape in Frappe Framework (versions before 15.121.2 and 16.x before 16.36.0) that allows authenticated users with template-authoring privileges, such as System Managers, to execute arbitrary server-side code. This grants full control over the application and its data, potentially leading to data breaches, service disruption, and compliance violations. Leadership should prioritize remediation because the vulnerability requires only a privileged account but can result in complete compromise of the Frappe environment.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.7%
Top 53% exploitable
Prevalence
Medium
open-source framework behind ERPNext, moderate self-hosted/SaaS deployment, not ubiquitous
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Frappe

View all
CVE-2025-67289 CRITICAL POC
9.6 Dec 22

Stored cross-site scripting leading to code execution in Frappe Framework 15.89.0 (and the ERPNext application built on

CVE-2018-3885 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3884 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3883 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3882 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2025-66440 HIGH POC
8.8 Dec 15

Authenticated SQL injection in Frappe ERPNext through 15.89.0 allows low-privilege users to extract arbitrary database c

CVE-2025-66439 HIGH POC
8.8 Dec 15

SQL injection in Frappe ERPNext through 15.89.0 lets an authenticated attacker with a valid session and access to the Pa

CVE-2025-66437 HIGH POC
8.8 Dec 15

Authenticated server-side template injection in Frappe ERPNext through 15.89.0 lets a user who can create or modify an A

CVE-2020-6145 HIGH POC
8.8 Aug 10

An SQL injection vulnerability exists in the frappe.desk.reportview.get functionality of ERPNext 11.1.38. Rated high sev

CVE-2026-39352 HIGH POC
8.7 May 20

Arbitrary file read in the Frappe full-stack web application framework allows remote unauthenticated attackers to retrie

CVE-2025-10655 HIGH POC
8.6 Dec 09

SQL injection in Frappe HelpDesk 1.14.0 dashboard functionality allows authenticated attackers to execute arbitrary SQL

CVE-2025-52042 HIGH POC
8.2 Oct 01

In Frappe ERPNext 15.57.5, the function get_rfq_containing_supplier() at erpnext/buying/doctype/request_for_quotation/re

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy