CVE-2026-137551
7.2HighPublished Nov 26, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- High
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-749
What an attacker gets
Authenticated attackers can achieve remote code execution by calling arbitrary functions from sandboxed templates. This requires an account with permissions to author templates like Print Formats.
Root cause
The framework incorrectly exposes functions imported into module-path-hooked modules as Jinja globals, bypassing sandbox restrictions.
Affected versions
Frappe Framework before 15.121.2 and 16.x before 16.36.0
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to Frappe Framework 15.121.2 or 16.36.0. If you cannot patch immediately, restrict access to template editing features for all non-admin users.
$ bench update --patchAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1375527.5HighRemote attackers can bypass two-factor authentication and forced password resets to gain full-access tokens. They need a user's valid username and password to exploit this.
- CVE-2026-1375509.8CriticalUnauthenticated attackers can modify or submit arbitrary documents within the framework. This allows full unauthorized data manipulation without requiring any prior access or user interaction.
- CVE-2026-973457.5HighUnauthenticated attackers can enumerate order IDs to harvest secret order keys. This allows them to access customer PII including names, emails, and billing addresses.
- CVE-2026-854167.2HighUnauthenticated attackers can inject malicious scripts into admin pages via public form submissions. These scripts execute in the browser of any administrator who views the injected leads.
- CVE-2026-854127.2HighUnauthenticated attackers can inject malicious scripts into your site that execute in a user's browser. They can obtain the required form nonce via an unprotected REST endpoint without needing any credentials.
- CVE-2026-760758.8HighAuthenticated attackers can achieve remote code execution by uploading and activating malicious plugins. This requires at least Subscriber-level access to the WordPress site.