Description
In xinclude in libxml2 before 2.15.4, xmlXIncludeProcess and xmlXIncludeProcessTree do not propagate parseFlags. This has security relevance for, for example, the XML_PARSE_NONET flag, if (without it) a custom resource loader accesses the internet and triggers XML external entity injection, SSRF, or a denial of service (e.g., for an attacker-controlled internet resource that is intentionally slow).
Published: 2026-09-05
Score: 5.6 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In libxml2 versions prior to 2.15.4, the XInclude functions xmlXIncludeProcess and xmlXIncludeProcessTree do not forward the parser flags that are set in the original parse context. Because of this omission, optional flags such as XML_PARSE_NONET are ignored when loading included resources. This weakness, classified as CWE-669, allows a user to bypass network restrictions and have libxml2 fetch data from the internet. If the included resource is controlled by an attacker, the library can be exploited for XML External Entity injection, Server Side Request Forgery, or a denial of service by loading a slow or malicious resource.

Affected Systems

The vulnerability affects the xmlsoft libxml2 library. Any installation using a version older than 2.15.4 is susceptible, while the release of version 2.15.4 and later resolves the issue. The library is widely used in applications that process XML data, including web servers, XML parsers, and configuration tools.

Risk and Exploitability

The CVSS base score is 5.6, indicating moderate severity. The EPSS score is currently not available, and the vulnerability is not listed in the CISA KEV catalog. Attackers would need to supply XML documents that trigger XInclude processing in a context where the XML_PARSE_NONET flag is not enforced. This suggests the attack vector is most likely local or at least requires the attacker to influence the XML being parsed by a vulnerable application. While no public exploits are known, the ability to load arbitrary external resources raises significant concern for untrusted input scenarios. The vulnerability should be treated as a moderate risk until patched.

Generated by OpenCVE AI on September 5, 2026 at 05:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade libxml2 to version 2.15.4 or later
  • When parsing potential untrusted XML, explicitly set the XML_PARSE_NONET flag to prevent external network access
  • If an application cannot be immediately updated, restrict libxml2’s network access by blocking outbound connections for the process or by implementing a custom resource loader that limits external URLs

Generated by OpenCVE AI on September 5, 2026 at 05:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 05 Sep 2026 05:45:00 +0000

Type Values Removed Values Added
Title XInclude Parse Flags Not Propagated, Enabling XML External Entity, SSRF, or DoS in libxml2

Sat, 05 Sep 2026 04:45:00 +0000

Type Values Removed Values Added
Description In xinclude in libxml2 before 2.15.4, xmlXIncludeProcess and xmlXIncludeProcessTree do not propagate parseFlags. This has security relevance for, for example, the XML_PARSE_NONET flag, if (without it) a custom resource loader accesses the internet and triggers XML external entity injection, SSRF, or a denial of service (e.g., for an attacker-controlled internet resource that is intentionally slow).
First Time appeared Xmlsoft
Xmlsoft libxml2
Weaknesses CWE-669
CPEs cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*
Vendors & Products Xmlsoft
Xmlsoft libxml2
References
Metrics cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-05T04:34:43.972Z

Reserved: 2026-09-05T04:34:43.632Z

Link: CVE-2026-86144

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-05T05:17:13.407

Modified: 2026-09-05T05:17:13.407

Link: CVE-2026-86144

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T05:30:17Z

Weaknesses
  • CWE-669

    Incorrect Resource Transfer Between Spheres