XXE (XML External Entity) in eu.copernik:copernik-xml-factory (CVE-2026-61586)
Summary
Vulnerability in eu.copernik:copernik-xml-factory (CVE-2026-61586). Risk of unauthorized operations or information disclosure. Exploitable via XMLReader. Mitigation: upgrade to 0.1.2 or later.
Original description
The description as published by the source.
Copernik XML Factory through 0.1.1, when running on its stock JDK provider, does not block XInclude resource resolution after an application enables XInclude on a factory returned by XmlFactories.newDocumentBuilderFactory() or XmlFactories.newSAXParserFactory(), or on an XMLReader passed through XmlFactories.harden(). The library's documented guarantee that XInclude resolution stays disabled therefore does not hold on that provider.
An application that parses untrusted XML in this configuration can be made to resolve xi:include references, allowing an attacker to read local files (information disclosure) or, through http hrefs, reach internal network endpoints (SSRF).
All of the following conditions must hold for an application to be affected:
- it obtains a factory from
XmlFactories.newDocumentBuilderFactory()orXmlFactories.newSAXParserFactory(), or hardens an externally obtainedXMLReaderwithXmlFactories.harden(); - the stock JDK provider is in effect, that is, Apache Xerces is not on the classpath;
- XInclude is enabled, by calling
setXIncludeAware(true)or the equivalent reader feature; - it parses XML from an untrusted source.
The Xerces provider (selected when Xerces is on the classpath) and the Android provider are not affected.
Applications are advised to upgrade to 0.1.2, which fixes the defect. As a workaround add Apache Xerces (xercesImpl) to the classpath so the library selects its unaffected Xerces provider.
Acknowledgemen…
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-61586 has been found in eu.copernik:copernik-xml-factory.
Attackers can target a specific entry point like XMLReader over the network to misuse the product.
Risk of unauthorized operations or information disclosure.
What to do: upgrade eu.copernik:copernik-xml-factory to 0.1.2 or later.
If unsure, ask your IT team or search "eu.copernik:copernik-xml-factory CVE-2026-61586" on the vendor's site.
CVE-2026-61586 (eu.copernik:copernik-xml-factory) — CWE-611
Attack surface: XMLReader / http / xercesImpl
Patched: 0.1.2 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-611) exists in eu.copernik:copernik-xml-factory. Attackers reach the vulnerable code path via XMLReader.
Check the vendor advisory for the affected versions of eu.copernik:copernik-xml-factory. Attack surface: XMLReader / http / xercesImpl.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to 0.1.2.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで eu.copernik:copernik-xml-factory を使っているサービスとバージョンを洗い出す。
-
2Apply patch patch
Upgrade eu.copernik:copernik-xml-factory to 0.1.2ステージング環境で 0.1.2 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
References
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com