CVE-2026-17615
largeUnauthenticated XXE file read in RESTEasy SourceProvider
CVE-2026-17615 is an XML External Entity (XXE, CWE-611) vulnerability in the SourceProvider component of RESTEasy, the JAX-RS implementation maintained by Red Hat: the SourceProvider.writeTo() method creates a SAXParser without disabling external entity resolution. An unauthenticated attacker triggers it by sending an XML body with a DOCTYPE declaration referencing external entities to any endpoint that accepts application/xml and returns a Source or StreamSource, causing the server's parser to resolve the attacker-controlled entity. The attacker gains an unauthenticated remote file read: the parser fetches the referenced resource (a local file path or URL) and the resolved contents are included in the HTTP response, potentially exposing application configuration, credentials, or other sensitive files, with SSRF-style probing of internal URLs also possible; the CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) reflects network reachability with confidentiality-only impact. Affected are deployments of RESTEasy (including RESTEasy embedded in JBoss/WildFly-based Java applications) that expose endpoints matching this pattern; no specific affected or fixed version ranges were provided in the source data. There is currently no known public proof-of-concept, the issue is not in CISA KEV, and EPSS estimates only a ~0.5% probability of exploitation within 30 days, so no in-the-wild exploitation is known.
What to do: Inventory Java applications running RESTEasy for JAX-RS resources that accept application/xml and return javax.xml.transform.Source/StreamSource, and upgrade RESTEasy to the fixed release published by Red Hat (no version numbers were available in the source data, so track Red Hat security advisories for the fixed packages). As interim mitigation, disable DTDs and external entities in the parsing path (e.g., set SAX features such as disallow-doctype-decl=true and external-general-entities=false) or change affected endpoints to avoid returning Source/StreamSource, and restrict network access to them. Because exploitation is not yet observed but the flaw is trivially triggerable where exposed, prioritize internet-facing endpoints.
| Red Hat RESTEasy (SourceProvider component) | — |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
A flaw was found in RESTEasy's SourceProvider. This vulnerability allows an unauthenticated attacker to perform an unauthenticated remote file read. By sending a specially crafted XML body with a DOCTYPE declaration referencing external entities to an endpoint that accepts application/xml and returns Source or StreamSource, the server can be tricked into resolving the entity and including sensitive file contents in the HTTP response. This is due to the SourceProvider.writeTo() method creating a SAXParser without disabling external entity resolution, leading to an XML External Entity (XXE) vulnerability.
- Weakness
- CWE-611
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
In the news0 stories
No ingested article mentions this CVE yet.