CVE-2026-61586

Source
https://cve.org/CVERecord?id=CVE-2026-61586
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-61586.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-61586
Aliases
Published
2026-10-30T18:59:14Z
Modified
2026-11-06T01:07:22Z
Severity
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Copernik XML Factory: Improper restriction of XInclude resource resolution in Copernik XML Factory (stock JDK provider)
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-611"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61586.json"
}
References

Affected packages

Git / github.com/copernik-eu/copernik-xml-factory

Affected ranges

Type
GIT
Repo
https://github.com/copernik-eu/copernik-xml-factory
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "0.1.2"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "2fa042c44931b0a4ddd585d62b97a8a987efd6c6"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "e5febc6039ed4b0088245acb80ed7d6d6a7f5537"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "v0.1.2",
            "range": [
                {
                    "fixed": "c8292f1ffc6b1e93155f972b0aa08a7b41476ae5"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

v0.*
v0.1.0
v0.1.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-61586.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "67535437733783343546178811164698661213",
                "228443537229271263132287031458717332435",
                "62417980637610528263813003991757808892",
                "45403228308481936085425601559276899656",
                "322681593457368039631783148656856401060",
                "309395681917067758762405467694664319766",
                "156109022450776938984473581597739615860",
                "185475826482690559077991656972282139971",
                "97659600929316344291597132940200200530",
                "13020031057604030815769746676984222442",
                "149530065426151625159138612604213271708",
                "269388875362223253671047745733639703478",
                "34948315909214584273010164766727556344",
                "27599792896631687678417114747691683946",
                "31128663936161877044761462325216141905",
                "89129445764421574619103870866120869194",
                "332870476048635086408435415889350546887",
                "113068403878157826133755252368204069143",
                "242326377844426321755681632278515691556",
                "160094839804197341424112096532264339198",
                "190708958307289016650837546659113329132",
                "6376187235641087665472704520795070624",
                "260634066575992143021165165430110721900",
                "181102060913559358713297789289611400791",
                "321016466463126399408984881045561722237",
                "226056424087442583274296216591635869974",
                "275981448424588655460350169474526664459",
                "232329338815685695161266586852961428782",
                "230284489241540894153948702572189183459",
                "155377893757930768905189935134357877942",
                "229601042000195174108795944776276259605",
                "212690264862134889965420350188211853038",
                "6014750643615486401901729752128116478",
                "280712644349729448388179142299971249035",
                "63545304112867016374020603958941976954",
                "149520372353915616533237728132322246424",
                "334188734954241103568624973984900758569",
                "197830176739244220596347448073894578250"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-61586-1b8c05da",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/copernik-eu/copernik-xml-factory/commit/e5febc6039ed4b0088245acb80ed7d6d6a7f5537",
        "target": {
            "file": "src/main/java/eu/copernik/xml/factory/StockJdkProvider.java"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "44930675487169018504531415000925082424",
            "length": 410
        },
        "id": "CVE-2026-61586-260b8a48",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/copernik-eu/copernik-xml-factory/commit/e5febc6039ed4b0088245acb80ed7d6d6a7f5537",
        "target": {
            "file": "src/main/java/eu/copernik/xml/factory/StockJdkProvider.java",
            "function": "configure"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "76334765408036158512211071548821780040",
                "5690313429890832503300277737340789042",
                "96692189256182492591787983893277838719",
                "271886883528379170107485602015580560615",
                "326990020536789826655630229513632109721",
                "178343781961284133405236301292415410479",
                "55510290098881128181363300374308892497",
                "30427370567925469042645021315991262807",
                "205446958507169069164881723215769504404",
                "86726397434220485000862580791425587967",
                "328354231603529552786069095973169699986",
                "72774008571119396255525782320542768893",
                "303746698696298667985259732783390032559",
                "235018603048217923240938858324106190763",
                "6014750643615486401901729752128116478",
                "226417932001122063679501092449315005551",
                "18203067005729298038656080304199584690",
                "24949561874740969317188313242620755009"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-61586-3cecda6a",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/copernik-eu/copernik-xml-factory/commit/2fa042c44931b0a4ddd585d62b97a8a987efd6c6",
        "target": {
            "file": "src/main/java/eu/copernik/xml/factory/StockJdkProvider.java"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "156243408250700368079702913438746675350",
            "length": 341
        },
        "id": "CVE-2026-61586-6723b8dd",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/copernik-eu/copernik-xml-factory/commit/2fa042c44931b0a4ddd585d62b97a8a987efd6c6",
        "target": {
            "file": "src/main/java/eu/copernik/xml/factory/StockJdkProvider.java",
            "function": "configure"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "92167830233951698778587919526994590587",
            "length": 142
        },
        "id": "CVE-2026-61586-b8f3c35d",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/copernik-eu/copernik-xml-factory/commit/e5febc6039ed4b0088245acb80ed7d6d6a7f5537",
        "target": {
            "file": "src/main/java/eu/copernik/xml/factory/StockJdkProvider.java",
            "function": "newDocumentBuilder"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "113676943329712340282126926265405854105",
                "203145999791407269990505017689484988955"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-61586-c51ced52",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/copernik-eu/copernik-xml-factory/commit/c8292f1ffc6b1e93155f972b0aa08a7b41476ae5",
        "target": {
            "file": "src/main/java/eu/copernik/xml/factory/XmlFactories.java"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "83999482207628962747198049556663518679",
            "length": 406
        },
        "id": "CVE-2026-61586-c8ddbce0",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/copernik-eu/copernik-xml-factory/commit/e5febc6039ed4b0088245acb80ed7d6d6a7f5537",
        "target": {
            "file": "src/main/java/eu/copernik/xml/factory/StockJdkProvider.java",
            "function": "configure"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "156243408250700368079702913438746675350",
            "length": 341
        },
        "id": "CVE-2026-61586-cd06f212",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/copernik-eu/copernik-xml-factory/commit/2fa042c44931b0a4ddd585d62b97a8a987efd6c6",
        "target": {
            "file": "src/main/java/eu/copernik/xml/factory/StockJdkProvider.java",
            "function": "configure"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "66705707567227635528482778048045964427",
            "length": 95
        },
        "id": "CVE-2026-61586-fe5340c5",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/copernik-eu/copernik-xml-factory/commit/e5febc6039ed4b0088245acb80ed7d6d6a7f5537",
        "target": {
            "file": "src/main/java/eu/copernik/xml/factory/StockJdkProvider.java",
            "function": "HardeningDocumentBuilderFactory"
        }
    }
]
vanir_signatures_modified
"2026-11-06T01:07:22Z"