Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain unprivileged local shell on host
-
ExploitWrite to predictable SSI helper tooling directory
-
ExecutionInstrumented Java service loads the tooling
-
ImpactExecute code as the Java service process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Temp file permissions
|
| Exploitation Conditions | Exploitation requires ALL of: (1) Datadog Single Step Instrumentation (SSI) enabled on a Linux or Kubernetes host; (2) at least one Java service instrumented via SSI; (3) datadog-apm-inject version below 0.66.0; and (4) a local unprivileged attacker with shell access to the same host/node, because the injector stores helper tooling in a predictable host directory the attacker can influence. Limiting factors that reduce real-world risk: no remote vector (local access mandatory, CVSS AV:L); services using dd-java-agent WITHOUT SSI are not affected; non-Java runtimes (Python, Ruby, Go, Node.js, .NET, PHP, Rust) are not affected; and the CVSS AC:H reflects that the vulnerable configuration must be present. In Kubernetes, shared /tmp volumes across pods on the same node increase exposure; filesystem isolation and removal of other local shell users mitigate it. |
| Impact | This is a genuine but conditional local privilege-escalation issue, not a drop-everything internet-facing emergency. The CVSS 3.1 vector (AV:L/AC:H/PR:N/UI:N/S:U, C:H/I:H/A:H, base 7.4 HIGH) is internally consistent with the narrative: exploitation is local only (AV:L), requires a specific configuration to line up (AC:H), and needs no application privileges beyond an unprivileged shell (PR:N), but yields full code execution - and thus high confidentiality, integrity and availability impact - within the context of the instrumented Java service. Not in CISA KEV, so this is NOT confirmed actively exploited; no EPSS score was provided in the input, and no public exploit was identified at time of analysis (the three references are the vendor GHSA advisory, the fix PR, and the v0.66.0 release notes - none is a weaponized PoC). The vuln.today decision label is 'this_week', which aligns with a serious-but-non-emergency LPE requiring local access. The signals are consistent rather than conflicting: a HIGH severity driven by impact, tempered by a real-world precondition of co-located local shell access on a host where SSI is instrumenting Java. Priority should be scoped to multi-tenant or shared hosts/nodes; single-tenant hosts with no untrusted local users carry materially lower real risk. |
| Exploit ScenarioDerived | On a Linux or Kubernetes host where Datadog Single Step Instrumentation is enabled and at least one Java service is instrumented, a local unprivileged attacker with shell access writes to or influences the helper tooling that the injector stores in a predictable host directory. When the instrumented Java service loads that tooling, the attacker's code executes with the privileges of that Java service process. No public exploit code was identified; the attack requires local access and the specific SSI+Java configuration (CVSS AC:H). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Local privilege escalation in Datadog's Single Step Instrumentation injector (datadog-apm-inject below 0.66.0) allows an unprivileged local user with shell access on a Linux or Kubernetes host to place or influence helper tooling in a predictable, world-writable host directory and thereby execute code with the privileges of an instrumented Java service process. Exposure is strictly conditional: SSI must be enabled, at least one Java service must be instrumented through SSI, and the injector must be older than 0.66.0; services using dd-java-agent without SSI and all non-Java runtimes (Python, Ruby, Go, Node.js, .NET, PHP, Rust) are unaffected, and there is no remote vector. There is no CISA KEV listing and no public exploit identified at time of analysis; the CVSS 7.4 score (AV:L/AC:H/PR:N) reflects the mandatory local foothold and the specific configuration precondition, and the vendor rates this as a this_week-priority fix rather than an internet-facing emergency.
RemediationAI
Vendor-released patch: datadog-apm-inject 0.66.0 or later; upgrade and then restart every instrumented Java service so the new injector is picked up. On Kubernetes with the Helm chart, upgrade to a recent chart release (latest recommended), remove any cluster-level pinning in datadog.apm.instrumentation.injector.imageTag, remove any pod-level admission.datadoghq.com/apm-inject.version or admission.datadoghq.com/apm-inject.custom-image annotation holding the injector below 0.66.0, and restart the affected Java deployments. With the Datadog Operator, upgrade the Operator to a recent release, clear spec.features.apm.instrumentation.injector.imageTag and any pod-level annotations pinning an older injector, and restart the affected deployments. On Linux, upgrade the Datadog Agent and SSI components to the latest version via the install script (https://app.datadoghq.com/fleet/install-agent/latest?platform=linux) or Fleet Automation (https://docs.datadoghq.com/agent/fleet_automation/upgrade_agents), and verify with cat /opt/datadog-packages/datadog-apm-inject/stable/version. If an immediate upgrade is not possible, the vendor's compensating controls are to ensure the host or container running Java services has no other local users with shell access, and in Kubernetes to enforce pod-level filesystem isolation and avoid shared /tmp volumes across pods on the same node - both reduce but do not remove the exposure, since the insecure helper directory remains in place until the injector is upgraded.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is classified CWE-379 (creation of a temporary file in a directory with insecure permissions) and lives in datadog-apm-inject, the component that Datadog's Single Step Instrumentation injects into application pods and processes to auto-configure APM tracing. The v0.66.0 release notes identify the concrete insecure path: SSI previously laid down world-writable crash-tracking directories under /tmp/datadog/java/ and passed JVM flags such as -XX:OnError, -XX:OnOutOfMemoryError and -XX:ErrorFile pointing at them, so a local user able to write into that predictable location could influence artefacts the JVM later executes on behalf of the instrumented Java service. The fix eliminates those world-writable paths: for Datadog Java tracer v1.52.0 and later SSI no longer sets the crash-handling JVM flags at all (the tracer configures crash tracking itself under a safe temporary directory), and for older tracers SSI now creates a dedicated /tmp/ddprof_<uid>_<random>/ directory with mode 0700, omitting the crash flags entirely if that directory cannot be created rather than falling back to the insecure path. The referenced upstream pull request contains only test-fixture churn (the pinned injector version in installer e2e package definitions moving from 0.59.0-1 to 0.67.2-1), so the operative fix is the tagged 0.66.0 release rather than a code commit alone. The exact exploitation primitive beyond influence over the predictable helper directory is not described in the available sources; the CVSS AC:H metric reflects the requirement that the vulnerable SSI configuration be present rather than an attacker-uncontrolled timing condition.
Know when Datadog gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Local shell access is required (AV:L); the SSI-plus-Java configuration must be present (AC:H); the attacker needs no application privileges (PR:N); code execution as the Java service yields full C:H/I:H/A:H.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 4
Technical POC Analysis
CWE-379 (Creation of Temporary File in Directory with Insecure Permissions).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-61581 is a high-severity local privilege escalation in Datadog's Single Step Instrumentation (SSI) injector (datadog-apm-inject <0.66.0). The flaw allows an unprivileged local user with shell access to escalate to the privileges of an instrumented Java service, but only if SSI is enabled, a Java service is instrumented via SSI, and the injector version is outdated. Leadership should prioritize remediation within the week, as the attack requires an existing local foothold and specific conditions, reducing organizational impact to medium.
No vendor-released patch identified at time of analysis. Interim mitigations: disable SSI for Java services, restrict local shell access to trusted users, monitor the world-writable host directory for unauthorized changes, and apply least-privilege principles to service accounts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
A regular-expression denial of service exists in the Datadog APM client for Node.js (dd-trace-js) versions 2.0.0 through
Metric and tag injection in the Perl DataDog::DogStatsd client (versions through 0.07) allows attackers who control even
Metric injection in the Perl DataDog::DogStatsd client (versions through 0.07) allows remote attackers to forge or manip
Regular expression denial of service in the Datadog dd-trace-py Python APM client allows unauthenticated remote attacker
Denial of service in the Datadog dd-trace-py Python APM client, versions 3.13.0 through 4.15.4, where the IAST instrumen
Denial of service in Datadog's dd-trace-cpp distributed tracing library prior to 2.1.0: the W3C baggage extraction path
Unbounded CPU and memory consumption in the Datadog PHP Tracer (dd-trace-php) before 1.19.2 allows remote, unauthenticat
A missing permission check in Jenkins Datadog Plugin 5.4.1 and earlier allows attackers with Overall/Read permission to
The Datadog Plugin stores an API key to access the Datadog service in the global Jenkins configuration. Rated low severi
EUVD-2026-129145
NVD
CVE.org
EPSS
GitHub
Exploit-DB