PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-65974 frappe CVE debrief

ERPNext users should assess exposure and prioritize remediation due to a critical vulnerability allowing remote code execution. This vulnerability, tracked as CVE-2026-65974, affects ERPNext versions prior to 15.111.0 and 16.22.0. The issue allows limited authenticated users to cross a permission boundary in Frappe safe execution, leading to server-side template injection and remote code execution. Users should verify their current version and apply patches to versions 15.111.0 or 16.22.0 to mitigate this vulnerability.

Vendor
frappe
Product
erpnext
CVSS
CRITICAL 9.9
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-17
Original CVE updated
2026-09-09
Advisory published
2026-08-17
Advisory updated
2026-09-09

Who should care

ERPNext administrators and users with access to the system should be aware of this critical vulnerability and take immediate action to protect their instances. This includes assessing exposure, applying patches, and monitoring for potential exploitation attempts. Additionally, security teams and vulnerability management teams should prioritize this vulnerability and ensure that appropriate measures are taken to mitigate the risk.

Why it matters

A critical vulnerability in ERPNext allows remote code execution, requiring immediate attention from administrators and users.

  • Remote code execution is possible for limited authenticated users
  • Server-side template injection allows for exploitation
  • Patching to versions 15.111.0 or 16.22.0 is required for mitigation

Technical summary

A critical vulnerability in ERPNext allows limited authenticated users to execute remote code due to a server-side template injection issue. This occurs because frappe.render_template is exposed without forcing restrict_globals, enabling attackers to inject malicious templates and execute code on the server. The vulnerability is fixed in ERPNext versions 15.111.0 and 16.22.0, and users should apply these patches immediately to prevent exploitation. The issue highlights the importance of secure template rendering and access controls in preventing such attacks.

Defensive priority

High

Recommended defensive actions

  • Assess exposure and prioritize remediation for ERPNext instances
  • Verify and apply patches to versions 15.111.0 or 16.22.0
  • Monitor for potential exploitation attempts
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and NVD entry provide details on the vulnerability, but limited information is available on exploitation or impact. The vulnerability is described as a server-side template injection issue in ERPNext, allowing remote code execution for limited authenticated users. There is no evidence of public exploitation, but defenders should verify their ERPNext instances and apply patches to versions 15.111.0 or 16.22.0.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-65974 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-65974

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-65974 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-65974

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

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.