{"id":"CVE-2026-33701","published":"2026-03-27T00:01:12Z","modified":"2026-08-17T12:04:59Z","title":"OpenTelemetry: Unsafe Deserialization in RMI Instrumentation may Lead to Remote Code Execution","vendor":"open-telemetry","product":"opentelemetry-java-instrumentation","tier":"tail","description":{"text":"OpenTelemetry Java Instrumentation provides OpenTelemetry auto-instrumentation and instrumentation libraries for Java. In versions prior to 2.26.1, the RMI instrumentation registered a custom endpoint that deserialized incoming data without applying serialization filters. On JDK version 16 and earlier, an attacker with network access to a JMX or RMI port on an instrumented JVM could exploit this to potentially achieve remote code execution. All three of the following conditions must be true to exploit this vulnerability: First, OpenTelemetry Java instrumentation is attached as a Java agent (`-javaagent`) on Java 16 or earlier. Second, JMX/RMI port has been explicitly configured via `-Dcom.sun.management.jmxremote.port` and is network-reachable. Third, gadget-chain-compatible library is present on the classpath. This results in arbitrary remote code execution with the privileges of the user running the instrumented JVM. For JDK >= 17, no action is required, but upgrading is strongly encouraged. For JDK < 17, upgrade to version 2.26.1 or later. As a workaround, set the system property `-Dotel.instrumentation.rmi.enabled=false` to disable the RMI integration.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01048,"percentile":0.65064,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/open-telemetry/opentelemetry-java-instrumentation/security/advisories/GHSA-xw7x-h9fj-p2c7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/open-telemetry/opentelemetry-java-instrumentation/commit/9cf4fbaaa9e79226142b2ed42a6f6b4ac0be2197","tags":["x_refsource_MISC"]},{"url":"https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v2.26.1","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-33701","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2452071","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33701.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":24.5,"factors":[{"name":"EPSS percentile","points":13.01},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.51}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-04-04","earliestUrl":"https://github.com/pl4tyz/CVE-2026-33701-Unsafe-Deserialization-in-OpenTelemetry-Java-Agent-RMI-Instrumentation","repos":[{"name":"pl4tyz/CVE-2026-33701-Unsafe-Deserialization-in-OpenTelemetry-Java-Agent-RMI-Instrumentation","url":"https://github.com/pl4tyz/CVE-2026-33701-Unsafe-Deserialization-in-OpenTelemetry-Java-Agent-RMI-Instrumentation","stars":0,"created":"2026-04-04"}]},"first":{"date":"2026-04-04","source":"PoC-in-GitHub","url":"https://github.com/pl4tyz/CVE-2026-33701-Unsafe-Deserialization-in-OpenTelemetry-Java-Agent-RMI-Instrumentation"},"provenance":"source"},"vendorSlug":"open-telemetry","affectedVersions":[{"vendor":"open-telemetry","product":"opentelemetry-java-instrumentation","versions":["< 2.26.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-03-27T13:26:02.475553Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"io.opentelemetry.javaagent:opentelemetry-javaagent","vulnerableRanges":["<2.26.1"],"patched":["2.26.1"],"from":["GHSA-xw7x-h9fj-p2c7"],"provenance":"source"}],"summary":{"text":"The flaw is unsafe deserialization of incoming data in the RMI instrumentation of OpenTelemetry Java Instrumentation (opentelemetry-java-instrumentation), where a registered custom endpoint accepts data without serialization filters in versions prior to 2.26.1. An attacker with network access to a configured, network-reachable JMX/RMI port on an instrumented JVM running Java 16 or earlier could exploit it to achieve remote code execution with the privileges of the user running that JVM, provided the agent is attached via -javaagent and a gadget-chain-compatible library is on the classpath.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:19Z"},"euvd":{"id":"EUVD-2026-16498","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-open-telemetry-opentelemetry-java-instru-cve-2026-33701","children":[{"from":"CVE-2026-33701","to":"CVE-2026-54712","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:io.opentelemetry.javaagent:opentelemetry-javaagent","fromFixed":"2.26.1","toFixed":"2.27.0","daysApart":96},{"kind":"same-code","provenance":"machine","files":["instrumentation/rmi/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/rmi/context/ContextPayload.java"],"commits":["https://github.com/open-telemetry/opentelemetry-java-instrumentation/commit/9cf4fbaaa9e79226142b2ed42a6f6b4ac0be2197","https://github.com/open-telemetry/opentelemetry-java-instrumentation/commit/6ef18806d5daa4913619e4cb33d2d7ed6a853c22"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-33701","published":"2026-03-27","fixed":"2.26.1","kev":false},{"cve":"CVE-2026-54712","published":"2026-07-01","fixed":"2.27.0","kev":false},{"cve":"CVE-2026-54704","published":"2026-07-01","fixed":"2.28.0-alpha","kev":false}],"package":"Maven:io.opentelemetry.javaagent:opentelemetry-javaagent"}}