← Back to CVE Explorer

CVE-2026-65974

Full vulnerability record from the local CVENow database.

Description

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.

Severity
CRITICAL
CVSS score
9.9 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-08-17 21:16:46.887000
Last modified
2026-10-23 16:10:00.313000
View original CVE JSON
{
  "id": "CVE-2026-65974",
  "sourceIdentifier": "[email protected]",
  "published": "2026-08-17T21:16:46.887",
  "lastModified": "2026-10-23T16:10:00.313",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "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."
    },
    {
      "lang": "es",
      "value": "ERPNext es una herramienta de Planificación de Recursos Empresariales gratuita y de código abierto. Antes de las versiones 15.111.0 y 16.22.0, usuarios autenticados con privilegios limitados podían traspasar un límite de permisos en la ejecución segura de Frappe porque frappe.render_template está expuesto sin forzar restrict_globals, lo que permite la inyección de plantillas del lado del servidor y la ejecución remota de código. Este problema está solucionado en las versiones 15.111.0 y 16.22.0."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "frappe",
          "product": "erpnext",
          "versions": [
            {
              "version": "< 15.111.0",
              "status": "affected"
            },
            {
              "version": ">= 16.0.0, < 16.22.0",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
          "baseScore": 9.9,
          "baseSeverity": "CRITICAL",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "CHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 3.1,
        "impactScore": 6.0
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-08-18T14:16:59.926975Z",
          "id": "CVE-2026-65974",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-1336"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/frappe/erpnext/releases/tag/v15.111.0",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/frappe/erpnext/releases/tag/v16.22.0",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/frappe/erpnext/security/advisories/GHSA-w996-r7v3-87wr",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/frappe/frappe/commit/529d190a252863672164d10bfcd91d1de0ac1c7c",
      "source": "[email protected]"
    }
  ]
}