PatchSiren cyber security CVE debrief
CVE-2026-72911 frappe CVE debrief
PatchSiren debrief for CVE-2026-72911, a critical vulnerability in ERPNext that allows authenticated users to inject template expressions and execute arbitrary server-side code. This issue is fixed in versions 15.118.0 and 16.29.0. The vulnerability has a CVSS score of 9.9 and affects versions prior to 15.118.0 and 16.29.0. ERPNext administrators and users, particularly those with common operational roles, should assess exposure and apply patches to prevent exploitation. 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, which
- Vendor
- frappe
- Product
- erpnext
- CVSS
- CRITICAL 9.9
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-10
- Original CVE updated
- 2026-09-09
- Advisory published
- 2026-08-10
- Advisory updated
- 2026-09-09
Who should care
ERPNext administrators and users, particularly those with common operational roles, should assess exposure and apply patches to prevent exploitation. The vulnerability affects versions prior to 15.118.0 and 16.29.0. ERPNext administrators and users should review and restrict access to sensitive areas of the ERPNext application and monitor for suspicious activity.
Why it matters
CVE-2026-72911 is a critical vulnerability in ERPNext that allows authenticated users to execute arbitrary server-side code, potentially leading to data breaches and application compromise. ERPNext administrators and users, particularly those with common operational roles, should assess exposure and apply patches to prevent exploitation. The vulnerability has a CVSS score of 9.9 and affects versions prior to 15.118.0 and 16.29.0.
- Authenticated users with common operational roles can inject template expressions and execute arbitrary server-side code
- Arbitrary server-side code execution can lead to data breaches and application compromise
- Read data across the application, potentially exposing sensitive information
- Verification of affected versions and patch application is crucial to prevent exploitation
Technical summary
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, allowing an authenticated user with a common operational role to inject template expressions, execute arbitrary server-side code, and read data across the application. The issue is fixed in versions 15.118.0 and 16.29.0. ERPNext administrators and users, particularly those with common operational roles, should assess exposure and apply patches to prevent exploitation.
Defensive priority
High priority for ERPNext administrators and users to assess exposure and apply patches.
Recommended defensive actions
- Assess exposure by checking if the ERPNext instance is running a version prior to 15.118.0 or 16.29.0
- Apply patches by upgrading to ERPNext version 15.118.0 or 16.29.0
- Review and restrict access to sensitive areas of the ERPNext application
- Monitor for suspicious activity and implement additional security measures as needed
- Verify the integrity of the ERPNext application and its components
- Conduct regular security audits to identify potential vulnerabilities
- Implement a change management process to ensure timely application of security patches
Evidence notes
The CVE record and NVD entry provide details on the vulnerability, including its critical CVSS score of 9.9 and the affected versions of ERPNext. The vulnerability allows authenticated users with common operational roles to inject template expressions and execute arbitrary server-side code. The issue is fixed in versions 15.118.0 and 16.29.0. ERPNext administrators and users should assess exposure and apply patches to prevent exploitation. The vulnerability affects versions prior to 15.118.0 and 16.29.0.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-72911 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-72911
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-72911 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-72911
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/frappe/erpnext/commit/5f6952b15c1f6ee893770d5bc618558a6ba41a28
-
Source reference
Unverified legacy reference
URL: https://github.com/frappe/erpnext/commit/88443e4a97c6c0a40d85a9e6785577191296ee39
-
Source reference
Unverified legacy reference
URL: https://github.com/frappe/erpnext/commit/ecb6d48ec025e0c94abac35b2e4f7607f4c86465
-
Source reference
Unverified legacy reference
URL: https://github.com/frappe/erpnext/pull/56458
-
Source reference
Unverified legacy reference
URL: https://github.com/frappe/erpnext/releases/tag/v15.118.0
-
Source reference
Unverified legacy reference
URL: https://github.com/frappe/erpnext/releases/tag/v16.29.0
-
Source reference
Unverified legacy reference
URL: https://github.com/frappe/erpnext/security/advisories/GHSA-qq49-v74j-hjh7
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.