{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-65974","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-07-23T18:15:14.580Z","datePublished":"2026-08-17T20:44:20.818Z","dateUpdated":"2026-08-18T14:17:47.852Z"},"containers":{"cna":{"title":"ERPNext: Server-Side Template Injection leading to Remote Code Execution","problemTypes":[{"descriptions":[{"cweId":"CWE-1336","lang":"en","description":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.9,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"references":[{"name":"https://github.com/frappe/erpnext/security/advisories/GHSA-w996-r7v3-87wr","tags":["x_refsource_CONFIRM"],"url":"https://github.com/frappe/erpnext/security/advisories/GHSA-w996-r7v3-87wr"},{"name":"https://github.com/frappe/frappe/commit/529d190a252863672164d10bfcd91d1de0ac1c7c","tags":["x_refsource_MISC"],"url":"https://github.com/frappe/frappe/commit/529d190a252863672164d10bfcd91d1de0ac1c7c"},{"name":"https://github.com/frappe/erpnext/releases/tag/v15.111.0","tags":["x_refsource_MISC"],"url":"https://github.com/frappe/erpnext/releases/tag/v15.111.0"},{"name":"https://github.com/frappe/erpnext/releases/tag/v16.22.0","tags":["x_refsource_MISC"],"url":"https://github.com/frappe/erpnext/releases/tag/v16.22.0"}],"affected":[{"vendor":"frappe","product":"erpnext","versions":[{"version":"< 15.111.0","status":"affected"},{"version":">= 16.0.0, < 16.22.0","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-08-17T20:44:20.818Z"},"descriptions":[{"lang":"en","value":"ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.111.0 and 16.22.0, limited authenticated users can cross a permission boundary in Frappe safe execution because frappe.render_template is exposed without forcing restrict_globals, allowing server-side template injection and remote code execution. This issue is fixed in versions 15.111.0 and 16.22.0."}],"source":{"advisory":"GHSA-w996-r7v3-87wr","discovery":"UNKNOWN"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-18T14:16:59.926975Z","id":"CVE-2026-65974","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-08-18T14:17:47.852Z"}}]}}