CVE-2026-17615

Resteasy-core: resteasy sourceprovider remote unauthenticated file read

Published Aug 31, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability stems from RESTEasy's SourceProvider, which creates a SAXParser without disabling external entity resolution during the writeTo() operation. This oversight allows an attacker to submit a crafted XML payload containing a DOCTYPE declaration that references an external entity. When the server processes such a request to an endpoint that accepts application/xml and returns a Source or StreamSource, it resolves the entity and includes the contents of the referenced file in the HTTP response, effectively leaking arbitrary files from the host. The flaw permits remote disclosure of sensitive data and is classified as XML External Entity (XXE) CVE-2026-17615.

Affected Systems

Affected systems include Red Hat Build of Keycloak, Red Hat Enterprise Linux 8 and 9, Red Hat Fuse 7, Red Hat JBoss Enterprise Application Platform 8, Red Hat Satellite 6, Red Hat build of Apache Camel 4 for Quarkus 3, Red Hat Apicurio Registry 3, Red Hat Debezium 3, and Red Hat build of Quarkus. Specific version information is not listed, so any deployment using RESTEasy services should assess whether the vulnerable release is in use.

Risk and Exploitability

The CVSS score of 7.5 indicates a high-severity impact, although the EPSS score is not available, limiting view of likelihood. The vulnerability is not listed in CISA’s KEV catalog. Attack requires network access to expose a RESTEasy endpoint that returns Source or StreamSource and is unauthenticated; attackers send a malicious XML body to trigger the XXE.

Remediation

Vendor Workaround

To mitigate this issue, avoid exposing RESTEasy endpoints that return Source or StreamSource types. Alternatively, implement a custom MessageBodyWriter for Source types that explicitly applies XML security features to the SAXParserFactory before parsing. Changes to application configuration or code typically require an application redeployment or restart to take effect.


OpenCVE Recommended Actions

  • Identify and disable all RESTEasy endpoints that expose Source or StreamSource types within the application code.
  • If the endpoints must remain, implement a custom MessageBodyWriter for Source types that configures a SAXParserFactory with XML security features enabled, thereby preventing external entity resolution.
  • Redeploy or restart the application to ensure the configuration changes take effect.

Generated by OpenCVE AI on August 31, 2026 at 17:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:jboss_enterprise_application_platform:8 cpe:/a:redhat:jboss_enterprise_application_platform:8.1
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:8 cpe:/a:redhat:enterprise_linux:8
Type Values Removed Values Added
First Time appeared Redhat jboss Enterprise Application Platform Xp
CPEs cpe:/a:redhat:jboss_enterprise_application_platform_xp:6.0
Vendors & Products Redhat jboss Enterprise Application Platform Xp
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_e4s:9.2::appstream
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:quarkus:3.27::el8
cpe:/a:redhat:quarkus:3.33::el8
cpe:/a:redhat:quarkus:3.27
cpe:/a:redhat:quarkus:3.33
Type Values Removed Values Added
First Time appeared Redhat rhel E4s
CPEs cpe:/a:redhat:rhel_e4s:9.4::appstream
Vendors & Products Redhat rhel E4s
References
Type Values Removed Values Added
First Time appeared Redhat apache Camel Quarkus
Redhat quarkus
CPEs cpe:/a:redhat:apache_camel_quarkus:3.33
cpe:/a:redhat:quarkus:3.27::el8
cpe:/a:redhat:quarkus:3.33::el8
Vendors & Products Redhat apache Camel Quarkus
Redhat quarkus
Type Values Removed Values Added
First Time appeared Redhat rhel Eus
CPEs cpe:/a:redhat:rhel_eus:9.6::appstream
Vendors & Products Redhat rhel Eus
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:9 cpe:/a:redhat:enterprise_linux:9::appstream
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak: cpe:/a:redhat:build_keycloak:26.6::el9
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:apache_camel_quarkus:3.33
cpe:/a:redhat:quarkus:3
Vendors & Products Redhat apache Camel Quarkus
Redhat quarkus
References
Type Values Removed Values Added
First Time appeared Redhat apache Camel Quarkus
CPEs cpe:/a:redhat:apache_camel_quarkus:3.33
Vendors & Products Redhat apache Camel Quarkus
References
Type Values Removed Values Added
First Time appeared Redhat build Of Apache Camel For Quarkus
Redhat build Of Apicurio Registry
Redhat build Of Debezium 3
Redhat build Of Keycloak
Redhat build Of Quarkus
Redhat jboss Enterprise Application Platform Expansion Pack
Redhat quay 3
Redhat resteasy
Vendors & Products Redhat build Of Apache Camel For Quarkus
Redhat build Of Apicurio Registry
Redhat build Of Debezium 3
Redhat build Of Keycloak
Redhat build Of Quarkus
Redhat jboss Enterprise Application Platform Expansion Pack
Redhat quay 3
Redhat resteasy
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Resteasy-core: resteasy sourceprovider remote unauthenticated file read
First Time appeared Redhat
Redhat apicurio Registry
Redhat build Keycloak
Redhat camel Quarkus
Redhat debezium
Redhat enterprise Linux
Redhat jboss Enterprise Application Platform
Redhat jboss Fuse
Redhat jbosseapxp
Redhat quarkus
Redhat satellite
Weaknesses CWE-611
CPEs cpe:/a:redhat:apicurio_registry:3
cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:camel_quarkus:3
cpe:/a:redhat:debezium:3
cpe:/a:redhat:jboss_enterprise_application_platform:8
cpe:/a:redhat:jboss_fuse:7
cpe:/a:redhat:jbosseapxp
cpe:/a:redhat:quarkus:3
cpe:/a:redhat:satellite:6
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat apicurio Registry
Redhat build Keycloak
Redhat camel Quarkus
Redhat debezium
Redhat enterprise Linux
Redhat jboss Enterprise Application Platform
Redhat jboss Fuse
Redhat jbosseapxp
Redhat quarkus
Redhat satellite
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}