← Vulnerability feed

Vulnerability record · CVE-2013-7285 · published 15 May 2019

CVE-2013-7285: XStream deserialization allows remote OS command injection

Oracle · Endeca Information Discovery Studio

XStream API versions up to 1.4.6 and version 1.4.10, when the security framework has not been initialized, allow a remote attacker to run arbitrary shell commands by manipulating the processed input stream during unmarshaling of XML or other supported formats such as JSON. The flaw is an OS command injection (CWE-78) reachable over the network without authentication, and it affects XStream itself plus products embedding it, including Apache ActiveMQ and Oracle Endeca Information Discovery Studio.

9.8 CVSS 3.1 Critical EPSS 84% · top 0.3% CWE-78 · OS command injection
9.8CVSS 3.1 base score, v2 7.5
84%EPSS exploitation probability, 30 days
NoNot in CISA KEV
3Affected product versions listed by NVD
18References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

Xstream API versions up to 1.4.6 and version 1.4.10, if the security framework has not been initialized, may allow a remote attacker to run arbitrary shell commands by manipulating the processed input stream when unmarshaling XML or any supported format. e.g. JSON.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityCVSS 9.8 with no authentication or user interaction, remote command execution impact, and a very high EPSS score with public exploit material make this an urgent fix despite the absence of KEV listing.

What it is

XStream API versions up to 1.4.6 and version 1.4.10, when the security framework has not been initialized, allow a remote attacker to run arbitrary shell commands by manipulating the processed input stream during unmarshaling of XML or other supported formats such as JSON. The flaw is an OS command injection (CWE-78) reachable over the network without authentication, and it affects XStream itself plus products embedding it, including Apache ActiveMQ and Oracle Endeca Information Discovery Studio.

Impact

An attacker gains arbitrary shell command execution on the host running the vulnerable XStream unmarshaling code, which can lead to full compromise of the application and its data. Because the CVSS vector rates confidentiality, integrity and availability all High, the practical outcome is complete loss of control over the affected system.

Attack surface

Reached remotely over the network by submitting a crafted XML or JSON stream to any endpoint that unmarshals untrusted input with a vulnerable XStream version. The CVSS vector shows no privileges and no user interaction required, so any exposed service that deserializes attacker-supplied data is a candidate.

Exploitation

CISA KEV does not list this CVE, but EPSS is very high at 0.84362 (99.7th percentile), and the vendor advisory reference is tagged Exploit, indicating public exploit material exists. No ransomware group is documented as using it.

What to do

  • Upgrade XStream to a fixed release beyond 1.4.6 and 1.4.10, and patch or upgrade embedded copies in Apache ActiveMQ and Oracle Endeca Information Discovery Studio per vendor advisories.
  • Initialize the XStream security framework and configure an explicit allowlist of permitted classes before unmarshaling any data.
  • Never unmarshal untrusted XML or JSON with XStream; treat all external input as hostile and validate or reject it at the boundary.
  • Where XStream cannot be removed, isolate the deserializing service with network segmentation and least-privilege process accounts to limit command execution impact.

Detection

  • Monitor application and web logs for XStream unmarshaling errors or unexpected class names in submitted XML/JSON payloads.
  • Alert on child processes spawned by Java application servers or services that embed XStream, especially shell interpreters such as sh, bash or cmd.exe.
  • Search code and dependency inventories for XStream versions up to 1.4.6 and 1.4.10, including shaded copies inside ActiveMQ and Endeca deployments.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://blog.diniscruz.com/2013/12/xstream-remote-code-execution-exploit.html Broken LinkNot ApplicableURL Repurposed
http://seclists.org/oss-sec/2014/q1/69 Mailing ListThird Party Advisory
http://web.archive.org/web/20140204133306/http://blog.diniscruz.com/2013/12/xstream-remote-code-execution-exploit.html Third Party Advisory
https://lists.apache.org/thread.html/6d3d34adcf3dfc48e36342aa1f18ce3c20bb8e4c458a97508d5bfed1%40%3Cissues.activemq.apach Mailing List
https://lists.apache.org/thread.html/dcf8599b80e43a6b60482607adb76c64672772dc2d9209ae2170f369%40%3Cissues.activemq.apach Mailing List
https://www.mail-archive.com/user%40xstream.codehaus.org/msg00604.html Third Party Advisory
https://www.mail-archive.com/user%40xstream.codehaus.org/msg00607.html Third Party Advisory
https://www.oracle.com/security-alerts/cpuoct2020.html Third Party Advisory
https://x-stream.github.io/CVE-2013-7285.html ExploitThird Party Advisory
http://blog.diniscruz.com/2013/12/xstream-remote-code-execution-exploit.html Broken LinkNot ApplicableURL Repurposed
http://seclists.org/oss-sec/2014/q1/69 Mailing ListThird Party Advisory
http://web.archive.org/web/20140204133306/http://blog.diniscruz.com/2013/12/xstream-remote-code-execution-exploit.html Third Party Advisory
https://lists.apache.org/thread.html/6d3d34adcf3dfc48e36342aa1f18ce3c20bb8e4c458a97508d5bfed1%40%3Cissues.activemq.apach Mailing List
https://lists.apache.org/thread.html/dcf8599b80e43a6b60482607adb76c64672772dc2d9209ae2170f369%40%3Cissues.activemq.apach Mailing List
https://www.mail-archive.com/user%40xstream.codehaus.org/msg00604.html Third Party Advisory
https://www.mail-archive.com/user%40xstream.codehaus.org/msg00607.html Third Party Advisory
https://www.oracle.com/security-alerts/cpuoct2020.html Third Party Advisory
https://x-stream.github.io/CVE-2013-7285.html ExploitThird Party Advisory

Track CVE-2013-7285 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed9.8CVE-2016-3088Apache ActiveMQ Fileserver unrestricted file upload to RCEThe Fileserver web application in Apache ActiveMQ 5.x before 5.14.0 accepts HTTP PUT uploads and HTTP MOVE requests without adequate validation, lett…KEVEPSS 99%analysed8.8CVE-2026-34197Apache ActiveMQ Jolokia JMX bridge code injection via broker config URIApache ActiveMQ Classic exposes the Jolokia JMX-HTTP bridge at /api/jolokia/ with a default policy that allows exec operations on all org.apache.acti…KEVEPSS 15%analysed8.5CVE-2021-39144XStream deserialization allows remote command executionXStream, a Java library that serializes objects to and from XML, can execute host commands when a remote attacker with sufficient rights manipulates …KEVEPSS 98%analysed9.9CVE-2021-21345XStream deserialization allows remote command executionXStream before 1.4.16 deserializes untrusted XML without adequate type restrictions, allowing code injection and OS command execution. The flaw is a …EPSS 72%analysed9.8CVE-2021-21347Netapp oncommand insight unrestricted file upload vulnerabilityXStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which may allow a re…EPSS 14%9.8CVE-2021-21350Netapp oncommand insight unrestricted file upload vulnerabilityXStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which may allow a re…EPSS 15%9.8CVE-2021-21344XStream deserialization allows remote code executionXStream before 1.4.16 deserializes untrusted XML without adequate type restrictions, letting a remote attacker craft a stream that loads and executes…EPSS 76%analysed

Source: NIST National Vulnerability Database (record CVE-2013-7285), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.