Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify application/xml endpoint returning Source type
-
DeliveryCraft XML POST body with malicious DOCTYPE entity
-
ExploitSend unauthenticated HTTP request to endpoint
-
ExecutionSAXParser resolves external file entity
-
PersistSensitive file contents embedded in XML response
-
ImpactAttacker reads exfiltrated data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration XML external entity prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a JAX-RS endpoint in a RESTEasy-backed application that simultaneously: (1) accepts the 'application/xml' media type in its @Consumes annotation or equivalent configuration, and (2) returns a javax.xml.transform.Source or javax.xml.transform.stream.StreamSource object as its response type, causing RESTEasy to route serialisation through the vulnerable SourceProvider. This is not a default-enabled blanket condition - it applies only to specific endpoint designs common in XML integration services, SOAP-over-REST adapters, and XML transformation pipelines. Exploitation is limited by: the endpoint must be network-reachable; the server process must have filesystem read access to the targeted file path; and egress filtering can constrain remote entity references (though not file:// URIs). Authentication is not required per the CVSS PR:N vector. There is no requirement for a specific OS or JVM version beyond using a vulnerable RESTEasy build. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) faithfully reflects the threat model: the attack is fully remote, requires no credentials, and incurs no user interaction. The sole impact dimension is confidentiality, consistent with a server-side file read. Despite the high CVSS score, real-world risk is conditional on the presence of JAX-RS endpoints that both accept 'application/xml' and return Source or StreamSource types - a non-default but not rare pattern in enterprise integration services. Environments running RESTEasy-backed APIs behind an API gateway that strips or rejects DOCTYPE declarations are partially mitigated. No CISA KEV listing is present and no POC is referenced in the provided intelligence, reducing immediate mass-exploitation probability; however, XXE is a well-understood class of vulnerability with freely available generic tooling (Burp Suite, XXEInjector), so weaponisation barrier is low once an analyst identifies a qualifying endpoint. EPSS data was not supplied, so probability cannot be quantified numerically. The breadth of affected Red Hat products (Keycloak, Quarkus, Camel, Debezium, EAP, Satellite) significantly expands the attack surface in typical Red Hat enterprise deployments. |
| Exploit ScenarioDerived | An attacker identifies a Red Hat JBoss EAP or Quarkus-based REST endpoint that consumes application/xml and produces a Source or StreamSource response - common in integration middleware and SOAP/REST bridge services. They craft an HTTP POST body containing a DOCTYPE declaration that declares an external entity pointing to a sensitive file such as /etc/passwd or application credential files, then trigger the entity by referencing it in the XML body. The unhardened SAXParser resolves the entity, and the file's contents are embedded in the XML tree and returned in the HTTP 200 response, requiring no authentication and leaving minimal distinguishable application-layer artefacts beyond the XML content-type request. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 31, 2026
Unauthenticated remote file read in RESTEasy's SourceProvider component allows network attackers to exfiltrate arbitrary server-side files by exploiting an XML External Entity (XXE) flaw. The vulnerability exists because SourceProvider.writeTo() instantiates a SAXParser without disabling external entity resolution, so any endpoint that accepts application/xml and returns a Source or StreamSource type will parse attacker-controlled DOCTYPE declarations and leak file contents in the HTTP response. CVSS rates this 7.5 (High) with full confidentiality impact; no public exploit code or CISA KEV listing is identified at time of analysis, but the low-complexity unauthenticated network vector makes this a credible threat wherever RESTEasy-backed XML endpoints are exposed.
RemediationAI
The primary remediation is to upgrade to the RESTEasy version that ships the hardened SourceProvider, as released by Red Hat; consult the advisory at https://access.redhat.com/security/cve/CVE-2026-17615 and the Bugzilla ticket at https://bugzilla.redhat.com/show_bug.cgi?id=2507635 for the exact patched component versions - specific fix version numbers are not independently confirmed in the available input data. As an immediate compensating control, audit all JAX-RS endpoints that return Source or StreamSource and either remove the application/xml content-type acceptance or add server-side XML parsing hardening by configuring SAXParserFactory with FEATURE_SECURE_PROCESSING enabled. Deploying a WAF rule or API gateway policy that rejects request bodies containing the string '<!DOCTYPE' or '<!ENTITY' can block the injection payload with low false-positive risk for well-formed REST APIs, but this is a defence-in-depth measure, not a substitute for patching. Restricting outbound network access from the application server (egress firewall) limits the attacker's ability to reference remote external entities but does not block file:// URI exploitation of local files.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
RESTEasy is the JAX-RS (Jakarta RESTful Web Services) reference implementation shipped across numerous Red Hat enterprise products. Its SourceProvider class acts as a JAX-RS MessageBodyWriter/Reader responsible for marshalling javax.xml.transform.Source and StreamSource types. The root cause (CWE-611: Improper Restriction of XML External Entity Reference) is the absence of the standard SAXParser hardening flags - specifically failing to set XMLConstants.FEATURE_SECURE_PROCESSING or explicitly disabling the feature 'http://xml.org/sax/features/external-general-entities'. When an XML document containing a DOCTYPE declaration referencing a file:// or other URI scheme is parsed by the unhardened SAXParser, the entity expander fetches the referenced resource and splices its contents into the parsed document tree, which is then serialised back to the HTTP response. Affected CPE strings cover the entire Red Hat ecosystem that bundles RESTEasy: RHEL 8, Red Hat Build of Quarkus, Red Hat Build of Apache Camel 4 for Quarkus 3, Apicurio Registry 3, Debezium 3, and multiple Keycloak build variants.
Know when Red Hat Build Of Keycloak gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Network-reachable unauthenticated endpoint, no complexity barriers; impact is read-only file exfiltration with no integrity or availability effect.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
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.
Executive ViewAI
RESTEasy's XML endpoint processing contains an unauthenticated remote file read vulnerability (CVSS 7.5) that allows network attackers to exfiltrate arbitrary server-side files including configuration, credentials, and sensitive application data. Organizations using RESTEasy with XML-accepting endpoints face immediate risk of data breach without network segmentation or access controls. No vendor patch is currently available, requiring urgent mitigation deployment.
No vendor-released patch identified at time of analysis. Implement interim mitigations: disable or network-restrict XML-processing endpoints; deploy WAF rules blocking DOCTYPE and entity declarations; enforce strict XML schema validation with external entity resolution disabled at the application level; segment affected RESTEasy services from databases and file systems containing sensitive data; require mutual TLS authentication for XML endpoints where business logic permits; evaluate replacing XML processing with safer serialization formats if core functionality allows.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
XML External Entity (XXE) attacks exploit XML parsers that process Document Type Definitions (DTDs) without proper restrictions.
Affected Products (CPE)CVE.org
More in Red Hat Build Of Keycloak
View allAccount takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in
Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML
Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge
Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil
Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat
Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con
URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re
Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou
Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account ho
Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re
Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro
Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut
EUVD-2026-68654
GHSA-h82j-45qh-f65r
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB