CVE Catalog

CVE-2026-17615

HighCVSS 7.5
Published: Translated: NVD NIST

Summary

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
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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS