Vulnerabilities in pkg:maven/com.splunk/splunk-otel-javaagent
PACKAGEGHSA-h8w2-rv57-vc6f is a CRITICAL remote code execution vulnerability (CWE-502: Deserialization of Untrusted Data) affecting splunk-otel-javaagent libraries in the Maven ecosystem. The issue involves unsafe deserialization in rmi instrumentation may lead to remote code execution. Remediation is available by upgrading affected packages to version 2.26.1.
pkg:maven/com.splunk/splunk-otel-javaagent
Vulnerability advisories affecting package pkg:maven/com.splunk/splunk-otel-javaagent. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-h8w2-rv57-vc6f | - | CRITICAL | splunk-otel-javaagent: Unsafe deserialization in RMI instrumentation may lead to Remote Code Execution |
GHSA-h8w2-rv57-vc6f at a Glance
How to Fix GHSA-h8w2-rv57-vc6f
To remediate this vulnerability, upgrade all affected splunk-otel-javaagent dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>com.splunk</groupId>
<artifactId>splunk-otel-javaagent</artifactId>
<version>2.26.1</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.splunk
How to Check if You Are Affected
To determine whether your Java application is affected by GHSA-h8w2-rv57-vc6f, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.splunk
Analyze the terminal output to locate any version of splunk-otel-javaagent in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.26.1), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.splunk command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In splunk-otel-javaagent, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-h8w2-rv57-vc6f Affected splunk-otel-javaagent Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.splunk:splunk-otel-javaagent
|
Maven |
< 2.26.1
|
2.26.1
|
References
Frequently Asked Questions
What is GHSA-h8w2-rv57-vc6f?
Which splunk-otel-javaagent versions are affected?
What version fixes GHSA-h8w2-rv57-vc6f?
Is splunk-otel-javaagent affected?
What CWE is associated with GHSA-h8w2-rv57-vc6f?
How can I check Maven dependencies for GHSA-h8w2-rv57-vc6f?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-h8w2-rv57-vc6f",
"modified" : "2026-03-26T17:22:54Z",
"published" : "2026-03-26T17:22:53Z",
"aliases" : [ ],
"summary" : "splunk-otel-javaagent: 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. Splunk Distribution of OpenTelemetry Java 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### References\n[Advisory in OpenTelemetry Instrumentation for Java](https://github.com/open-telemetry/opentelemetry-java-instrumentation/security/advisories/GHSA-xw7x-h9fj-p2c7)",
"severity" : [ {
"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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.splunk:splunk-otel-javaagent"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.26.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/open-telemetry/opentelemetry-java-instrumentation/security/advisories/GHSA-xw7x-h9fj-p2c7"
}, {
"type" : "WEB",
"url" : "https://github.com/signalfx/splunk-otel-java/security/advisories/GHSA-h8w2-rv57-vc6f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/signalfx/splunk-otel-java"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1395", "CWE-502" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-26T17:22:53Z",
"nvd_published_at" : null
}
}