Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-72911: CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine in frappe erpnext

0
Critical
VulnerabilityCVE-2026-72911cvecve-2026-72911cwe-1336
Published: 08/10/2026 (08/10/2026, 21:00:46 UTC)
Source: CVE Database V5
Vendor/Project: frappe
Product: erpnext

Description

CVE-2026-72911 is a critical vulnerability in ERPNext, an open source ERP tool. Before versions 15.118.0 and 16.29.0, certain template rendering functions allowed authenticated users with common operational roles to inject template expressions. This flaw enables execution of arbitrary server-side code and unauthorized data access. The issue is fixed in versions 15.118.0 and 16.29.0.

CVSS v3.1

Score 9.9critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
frappe/erpnext
pkg:github/frappe/erpnext
Affected versions
<15.118.0<16.29.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/11/2026, 12:56:24 UTC

Technical Analysis

ERPNext versions prior to 15.118.0 and 16.29.0 contain an improper neutralization of special elements used in a template engine (CWE-1336). The validate_template and render_template calls in erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts.py render subject, body, and pdf_name fields with unrestricted globals, including frappe.utils. This allows an authenticated user with a common operational role to inject template expressions, leading to arbitrary server-side code execution and data disclosure across the application. The vulnerability has a CVSS 3.1 score of 9.9, indicating critical severity. It is fixed in versions 15.118.0 and 16.29.0.

Potential Impact

An authenticated user with a common operational role can exploit this vulnerability to execute arbitrary code on the server and read sensitive data across the ERPNext application. This compromises confidentiality, integrity, and availability of the system, potentially leading to full system compromise.

Mitigation Recommendations

Upgrade ERPNext to version 15.118.0 or later, or 16.29.0 or later, where this vulnerability is fixed. No other mitigation or temporary fix is indicated. Patch status is not explicitly stated but the fix versions are known; therefore, applying these updates is the recommended remediation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-08-10T17:57:26.143Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a7b1b30bf8831d539bca9d6

Added to database: 08/11/2026, 12:53:04 UTC

Last enriched: 08/11/2026, 12:56:24 UTC

Last updated: 08/11/2026, 13:07:48 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses