Skip to main content

ERPNext EUVDEUVD-2026-30196

| CVE-2026-44445 MEDIUM
Improper Restriction of XML External Entity Reference (CWE-611)
2026-05-13 GitHub_M
5.3
CVSS 4.0 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege ERPNext credentials
  2. Delivery
    Access EDI Module via authenticated session
  3. Exploit
    Craft XML document with XXE external entity payload referencing target file
  4. Execution
    Submit document for processing
  5. Persist
    Server XML parser resolves external entity and reads local file
  6. Impact
    Retrieve sensitive config data (credentials, secret keys) from response

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration XML external entity prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Authentication is required: the CVSS 4.0 vector specifies PR:L (low-privilege authenticated access), meaning an attacker must hold a valid ERPNext account of any role. The vulnerable code path is specifically within the EDI Module - exploitation is conditional on that module being in use and accessible to the attacker's account role; installations that have not deployed or enabled EDI functionality are not exposed via this vector. No additional non-default configuration is required beyond the EDI Module being active. Factors limiting exploitation include: (1) authenticated access requirement eliminates unauthenticated internet scanners, (2) SSVC automatable=no indicates the attack path is not trivially scriptable at scale, and (3) the impact is read-only confidentiality (VI:N, VA:N), preventing direct data destruction or service disruption.

Impact

The CVSS 4.0 base score of 5.3 (Medium) reflects a network-reachable (AV:N), low-complexity (AC:L), no-prerequisite-condition (AT:N) attack requiring only low-privilege authentication (PR:L) with no user interaction (UI:N). The impact is limited to partial confidentiality of the vulnerable component (VC:L) with no integrity or availability consequence. EPSS at 0.06% (18th percentile) indicates very low near-term exploitation probability compared to all scored CVEs, consistent with CISA SSVC's assessments of exploitation=none and automatable=no - the latter suggesting exploitation requires attacker-specific knowledge of the EDI module's XML ingestion path rather than a generic spray-and-pray approach. There is no KEV listing and no confirmed POC. The primary real-world risk is credential harvesting: local config files in Frappe/ERPNext deployments typically contain database passwords and secret keys, meaning a successful read of site_config.json or similar could enable privilege escalation beyond the ERPNext application. Overall this is a genuine but lower-urgency finding: prioritize remediation in internet-exposed deployments or where ERPNext users include untrusted or external parties.

Exploit ScenarioDerived

An attacker with a valid low-privilege ERPNext account - such as a supplier portal user or a recently on-boarded employee - navigates to the EDI Module and submits a crafted XML document containing an external entity declaration referencing a local file path such as /home/frappe/frappe-bench/sites/[site]/site_config.json. The server's XML parser resolves the entity and the application returns the file's contents in its response, exposing the database password and Frappe secret key stored in that configuration file. No POC has been publicly confirmed, but the attack technique for CWE-611 is well-documented and requires no specialized tooling.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 08, 2026

XML External Entity (XXE) injection in ERPNext's EDI Module allows authenticated low-privilege attackers to read arbitrary files from the server's local filesystem, including sensitive configuration files that may contain database credentials or API keys. Affected are all ERPNext installations on the v15 branch prior to 15.104.3 and on the v16 branch prior to 16.12.0 (cpe:2.3:a:frappe:erpnext:*). No public exploit identified at time of analysis, EPSS exploitation probability sits at 0.06% (18th percentile), and CISA SSVC assesses exploitation as none and the attack as non-automatable - collectively placing this at lower operational priority despite its network-accessible attack vector.

RemediationAI

Upgrade ERPNext to version 15.104.3 (v15 branch) or 16.12.0 (v16 branch) as the primary remediation; these are the vendor-confirmed fixed releases per GitHub Security Advisory GHSA-mhm9-75w7-423r (https://github.com/frappe/erpnext/security/advisories/GHSA-mhm9-75w7-423r). If immediate upgrade is not feasible, restrict access to the EDI Module to only users who operationally require it via ERPNext's role-based permission system - this reduces the authenticated attack surface without disabling the module globally. Additionally, enforce network-layer controls so that ERPNext is not directly accessible from untrusted networks, limiting unanticipated authenticated sessions. Note that disabling the EDI Module entirely will interrupt any active EDI-based procurement or logistics workflows; coordinate with business stakeholders before applying that workaround.

Affected VersionsENISA

ERPNext < 15.104.3
ERPNext 16.0.0-beta.1, < 16.12.0

Affected Packages

euvd erpnext fix: 15.104.3
euvd erpnext_16_0_0_beta_1 fix: 16.12.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-611 (Improper Restriction of XML External Entity Reference) arises when an XML parser resolves external entity declarations - constructs of the form <!ENTITY xxe SYSTEM 'file:///etc/passwd'> - without disabling that feature. ERPNext's EDI (Electronic Data Interchange) module is the vulnerable surface: EDI workflows routinely process XML-formatted trade documents (invoices, purchase orders, ASNs), and if the underlying XML parser is not configured to forbid external entity resolution, a crafted document can cause the server process to open and return the contents of any file readable by the application's OS user. The affected package is frappe/erpnext (CPE cpe:2.3:a:frappe:erpnext:*) running on the Frappe framework. The confidentiality impact is scoped to the vulnerable component (VC:L, SC:N in CVSS 4.0), meaning lateral escape to other systems is not indicated.

Know when Erpnext gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Patch available
May 13, 2026 - 23:17 EUVD
CVSS changed
May 13, 2026 - 22:22 NVD
5.3 (MEDIUM)
CVE Published
May 13, 2026 - 21:17 nvd
UNKNOWN (no severity yet)

DescriptionGitHub Advisory

ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.104.3 and 16.12.0, an improper restriction of XML external entity (XXE) reference vulnerability in the EDI Module enables an authenticated attacker to read files from the local file system, including sensitive configuration files. This vulnerability is fixed in 15.104.3 and 16.12.0.

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

XML External Entity (XXE) attacks exploit XML parsers that process Document Type Definitions (DTDs) without proper restrictions.

CVE-2025-67289 CRITICAL POC
9.6 Dec 22

Stored cross-site scripting leading to code execution in Frappe Framework 15.89.0 (and the ERPNext application built on

CVE-2018-3885 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3884 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3883 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3882 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2025-66440 HIGH POC
8.8 Dec 15

Authenticated SQL injection in Frappe ERPNext through 15.89.0 allows low-privilege users to extract arbitrary database c

CVE-2025-66439 HIGH POC
8.8 Dec 15

SQL injection in Frappe ERPNext through 15.89.0 lets an authenticated attacker with a valid session and access to the Pa

CVE-2025-66438 HIGH POC
8.8 Dec 15

Authenticated attackers with permission to create or modify Print Format documents in Frappe ERPNext through 15.89.0 can

CVE-2025-66437 HIGH POC
8.8 Dec 15

Authenticated server-side template injection in Frappe ERPNext through 15.89.0 lets a user who can create or modify an A

CVE-2025-66434 HIGH POC
8.8 Dec 15

Authenticated server-side template injection in Frappe ERPNext through 15.89.0 allows users with privileges to configure

CVE-2020-6145 HIGH POC
8.8 Aug 10

An SQL injection vulnerability exists in the frappe.desk.reportview.get functionality of ERPNext 11.1.38. Rated high sev

CVE-2023-54345 HIGH POC
8.7 May 05

Frappe Framework ERPNext 13.4.0 contains a sandbox escape vulnerability in RestrictedPython that allows authenticated us

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy