What’s Vulnerable › Vulnerabilities

CVE-2026-17615: Resteasy-core: resteasy sourceprovider remote unauthenticated file read

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Red Hat build of Keycloak 26.4 26.6.7-3; Red Hat Build of Apache Camel 3.33.3.SP1 6.2.16.Final-redhat-00003; Red Hat build of Quarkus 3.27.5.SP1 6.2.12.Final-redhat-00003; Red Hat build of Quarkus 3.33.3.SP1 6.2.16.Final-redhat-00003; Red Hat Enterprise Linux 9 0:3.0.26-20.el9_8; Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions 0:3.0.26-16.el9_2; Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions 0:3.0.26-20.el9_4; Red Hat Enterprise Linux 9.6 Extended Update Support 0:3.0.26-20.el9_6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-17615 or the next vulnerability affects your stack