CVE-2026-61581: Datadog Agent: Datadog SSI Injector Contains Local Privilege Escalation Vulnerability
The Datadog Agent collects events and metrics from hosts and sends them to Datadog. Prior to datadog-apm-inject 0.66.0, the Datadog Single Step Instrumentation injector stores helper tooling in a predictable host directory. On Linux or Kubernetes systems with SSI enabled and at least one Java service instrumented through SSI, a local unprivileged attacker with shell access to the same host can influence that tooling and execute code with the privileges of the instrumented Java service. Services that use dd-java-agent without SSI and non-Java language runtimes are not affected. This issue is fixed in datadog-apm-inject 0.66.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
datadog-apm-injectto a version that resolves this vulnerability.Fixed in 0.66.0
Event History
Frequently Asked Questions
Which deployments are exposed?
Affected deployments are Linux or Kubernetes systems with Datadog Single Step Instrumentation enabled and at least one Java service instrumented through SSI. Services using dd-java-agent without SSI and non-Java runtimes are not affected.
What does an attacker need to exploit this issue?
An attacker needs local unprivileged shell access to the same host as an SSI-instrumented Java service. They can then influence helper tooling in a predictable host directory to execute code with that Java service's privileges.
What version contains the fix?
The issue is fixed in datadog-apm-inject 0.66.0. Versions earlier than 0.66.0 are affected under the stated SSI and Java-service conditions.