XXE (XML External Entity) in eu.copernik:copernik-xml-factory
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.
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
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
-
1
Identify exposureidentify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで eu.copernik:copernik-xml-factory を使っているサービスとバージョンを洗い出す。
-
2
Apply patchpatch
Upgrade eu.copernik:copernik-xml-factory to 0.1.2ステージング環境で 0.1.2 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| maveneu.copernik:copernik-xml-factory |
< 0.1.2→ 0.1.2 |
0.1.2 |
| copernik-eucopernik-xml-factory | — | Not listed |
Original description The description as published by the source.
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.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com