CVE-2026-17615
HighCVSS 7.5Summary
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.
Risk Assessment
An attacker can read arbitrary files from the server, potentially leading to disclosure of sensitive data such as passwords, keys, or configuration data.
Recommendation
Update RESTEasy to the latest patched version. Restrict access to XML-accepting endpoints to trusted clients only.
Other vulnerabilities in RESTEasy
See all- CVE-2016-6346High
RESTEasy enables GZIPInterceptor, allowing remote attackers to cause a denial of service via unspecified vectors.
- CVE-2014-3490High
RESTEasy versions 2.3.1 before 2.3.8.SP2 and 3.x before 3.0.9, used in Red Hat JBoss EAP 6.3.0, does not disable external entities when the resteasy.document.expand.entity.references parameter is set to false. This allows remote attackers to read arbitrary files and have other unspecified impacts related to an XML External Entity (XXE) issue.
Original NVD description (English source)
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.

