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.
Published: 2026-08-31
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

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

History

Mon, 31 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 31 Aug 2026 16:30:00 +0000

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'}


Subscriptions

Redhat Apicurio Registry Build Keycloak Camel Quarkus Debezium Enterprise Linux Jboss Enterprise Application Platform Jboss Fuse Jbosseapxp Quarkus Satellite
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-08-31T17:09:20.602Z

Reserved: 2026-07-27T19:28:37.735Z

Link: CVE-2026-17615

cve-icon Vulnrichment

Updated: 2026-08-31T17:09:15.767Z

cve-icon NVD

Status : Received

Published: 2026-08-31T17:17:37.717

Modified: 2026-08-31T18:17:13.723

Link: CVE-2026-17615

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T17:30:03Z

Weaknesses
  • CWE-611

    Improper Restriction of XML External Entity Reference