CVE-2026-61586 Details
Description
Copernik XML Factory provides secure-by-default JAXP factory creation for Java. Prior to 0.1.2, Copernik XML Factory does not block XInclude resource resolution on the stock JDK provider after an application enables XInclude on a factory returned by `XmlFactories.newDocumentBuilderFactory()` or `XmlFactories.newSAXParserFactory()`, or on an `XMLReader` passed through `XmlFactories.harden()`. An application parsing untrusted XML can resolve attacker-controlled `xi:include` references to disclose local files or, through `http` references, reach internal network endpoints by server-side request forgery. Exploitation requires use of one of those factory/hardening APIs, the stock JDK provider with Apache Xerces absent from the classpath, explicit `setXIncludeAware(true)` or the equivalent reader feature, and XML from an untrusted source. The Xerces provider selected when Xerces is present and the Android provider are unaffected. This issue is fixed in version 0.1.2.
A vulnerability in Copernik XML Factory prior to version 0.1.2 allows for improper handling of XInclude resource resolution when using the stock JDK provider. This oversight occurs after an application enables XInclude on a factory obtained from 'XmlFactories.newDocumentBuilderFactory()' or 'XmlFactories.newSAXParserFactory()', or on an 'XMLReader' that has been hardened with 'XmlFactories.harden()'. As a result, an application parsing untrusted XML can inadvertently resolve 'xi:include' references, potentially leading to unauthorized disclosure of local files or, through 'http' references, internal network access via server-side request forgery. The vulnerability requires the stock JDK provider, with Apache Xerces absent from the classpath, XInclude to be enabled, and the parsing of XML from an untrusted source.
Users are advised to upgrade to Copernik XML Factory version 0.1.2 or later. As a temporary workaround, Apache Xerces can be added to the classpath to avoid the vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 30, 2026CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-611 | Improper Restriction of XML External Entity Reference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Copernik XML Factory | < 0.1.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Oct 30, 2026 | New CVE Received | [email protected] |
Volerion