Skip to main content

Datadog SSI Injector CVE-2026-61581

| EUVDEUVD-2026-129145 HIGH
Creation of Temporary File in Directory with Insecure Permissions (CWE-379)
2026-11-18 GitHub_M
7.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain unprivileged local shell on host
  2. Exploit
    Write to predictable SSI helper tooling directory
  3. Execution
    Instrumented Java service loads the tooling
  4. Impact
    Execute 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).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

datadog-agent < 0.66.0

Affected Packages

euvd datadog_agent fix: 0.66.0

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

Vendor (GitHub_M) PRIMARY 7.4 HIGH
AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.4 HIGH

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.

3.1 AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 18, 2026 - 20:03 EUVD
CVE Published
Nov 18, 2026 - 18:49 cve.org
HIGH 7.4

DescriptionCVE.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.

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

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

EPSS Score
0.1%
Top 97% exploitable
Prevalence
High
Datadog Agent is widely deployed enterprise observability tooling; SSI+Java narrows actual exposure
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy