{"id":"GHSA-xw7x-h9fj-p2c7","summary":"OpenTelemetry: Unsafe Deserialization in RMI Instrumentation may Lead to Remote Code Execution","details":"In versions prior to 2.26.1, the RMI instrumentation registered a custom endpoint that deserialized incoming data without applying serialization filters. 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:\n1. OpenTelemetry Java instrumentation is attached as a Java agent (`-javaagent`)\n2. An RMI endpoint is network-reachable (e.g. JMX remote port, an RMI registry, or any application-exported RMI service)\n3. A gadget-chain-compatible library is present on the classpath\n\n### Impact\nArbitrary remote code execution with the privileges of the user running the instrumented JVM.\n\n### Recommendation\nUpgrade to version 2.26.1 or later.\n\n### Workarounds\nSet the following system property to disable the RMI integration:\n\n```\n-Dotel.instrumentation.rmi.enabled=false\n```\n\n### Credits\nThis vulnerability was responsibly disclosed in coordination with Datadog.","aliases":["CVE-2026-33701"],"modified":"2026-07-29T16:00:52.574827364Z","published":"2026-03-25T21:27:43Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-03-25T21:27:43Z","nvd_published_at":"2026-03-27T01:16:19Z","cwe_ids":["CWE-502"],"severity":"CRITICAL"},"references":[{"type":"WEB","url":"https://github.com/open-telemetry/opentelemetry-java-instrumentation/security/advisories/GHSA-xw7x-h9fj-p2c7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33701"},{"type":"WEB","url":"https://github.com/open-telemetry/opentelemetry-java-instrumentation/commit/9cf4fbaaa9e79226142b2ed42a6f6b4ac0be2197"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-33701"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2452071"},{"type":"PACKAGE","url":"https://github.com/open-telemetry/opentelemetry-java-instrumentation"},{"type":"WEB","url":"https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v2.26.1"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33701.json"}],"affected":[{"package":{"name":"io.opentelemetry.javaagent:opentelemetry-javaagent","ecosystem":"Maven","purl":"pkg:maven/io.opentelemetry.javaagent/opentelemetry-javaagent"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.1"}]}],"versions":["0.12.0","0.12.1","0.13.0","0.13.1","0.14.0","0.15.0","0.15.1","0.16.0","0.16.1","0.17.0","1.0.0","1.0.1","1.1.0","1.10.0","1.10.1","1.11.0","1.11.1","1.12.0","1.12.1","1.13.0","1.13.1","1.14.0","1.15.0","1.16.0","1.17.0","1.18.0","1.19.0","1.19.1","1.19.2","1.2.0","1.20.0","1.20.1","1.20.2","1.21.0","1.22.0","1.22.1","1.23.0","1.24.0","1.25.0","1.25.1","1.26.0","1.27.0","1.28.0","1.29.0","1.3.0","1.3.1","1.30.0","1.31.0","1.32.0","1.32.1","1.33.0","1.33.1","1.33.2","1.33.3","1.33.4","1.33.5","1.33.6","1.4.0","1.4.1","1.5.0","1.5.1","1.5.2","1.5.3","1.6.0","1.6.1","1.6.2","1.7.0","1.7.1","1.7.2","1.8.0","1.9.0","1.9.1","1.9.2","2.0.0","2.1.0","2.10.0","2.11.0","2.12.0","2.13.0","2.13.1","2.13.2","2.13.3","2.14.0","2.15.0","2.16.0","2.17.0","2.17.1","2.18.0","2.18.1","2.19.0","2.2.0","2.20.0","2.20.1","2.21.0","2.22.0","2.23.0","2.24.0","2.25.0","2.26.0","2.3.0","2.4.0","2.5.0","2.6.0","2.7.0","2.8.0","2.9.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-xw7x-h9fj-p2c7/GHSA-xw7x-h9fj-p2c7.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"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"}]}