Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Java

CVE-2026-61581 — DataDog datadog-agent

High · CVSS 7.4EPSS 0.2% First seen November 18, 2026
JavaLinuxKubernetesOperating systemsCloud & containersVulnerabilities

Research article

Datadog Agent Vulnerability Enables Local Code Execution Through Predictable File Storage

CVECVE-2026-61581
Vendor and productDataDog datadog-agent
PublishedNovember 18, 2026 21:05 UTC
Research cut-offNovember 18, 2026 20:40 UTC
Sources reviewed2: NVD record (last modified 2026-11-18); CISA KEV catalog

Executive summary

The Datadog Agent has a vulnerability related to how it stores helper tools in a predictable directory, which could allow local attackers to execute code with higher privileges [1]. The CVSS 3.1 score for this vulnerability is 7.4, HIGH, assigned by security-advisories@github.com [1]. The affected versions are datadog-agent < 0.66.0 [1], and the reviewed sources do not mention any confirmed exploitation [2]. Updating to datadog-apm-inject 0.66.0, the version the record names as the fix [1].

Key points

  • The Datadog Agent is vulnerable due to insecure permissions on a predictable directory used for storing helper tools, which could allow local attackers to execute code with elevated privileges [1].
  • The CVSS 3.1 base score is 7.4, HIGH, scored by security-advisories@github.com [1].
  • Affected versions are datadog-agent < 0.66.0 [1], and the reviewed sources do not mention any confirmed exploitation [2].
  • The issue is resolved in datadog-apm-inject 0.66.0 [1].
  • The record names datadog-apm-inject 0.66.0 as the version that fixes the issue [1]. Updating to that version is general defensive guidance.

Vulnerability identification

CVE IDVendorProductCWECVSS 3.1PublishedLast-ModifiedRecord Status
CVE-2026-61581DataDogdatadog-agentCWE-3797.4 HIGH, scored by security-advisories@github.com2026-11-18T19:18:072026-11-18T19:18:07Received

Technical background

The reviewed sources do not provide detailed technical information about the product. The Datadog Agent is a tool used for gathering events and metrics from hosts and sending them to Datadog [1].

Vulnerability description

Before the release of datadog-apm-inject 0.66.0, the Datadog Agent stored helper tools in a directory that could be easily guessed. A local attacker who has shell access to the same machine could alter these tools and execute code with the permissions of the instrumented Java service, provided the system runs on Linux or Kubernetes and SSI is active with at least one Java service being monitored through SSI [1]. Services using dd-java-agent without SSI or non-Java runtimes are not impacted [1].

Root cause analysis

The reviewed sources identify the flaw as CWE-379 (Creation of Temporary File in Directory with Insecure Permissions) [1]. No further details about the root cause are provided.

Technical mechanics

The reviewed sources do not explain the technical steps of the vulnerability in detail. The flaw involves the insecure storage of helper tools in a predictable directory [1].

Attack surface and exploitation prerequisites

The CVSS vector indicates the attack requires local access (AV:L), high complexity (AC:H), and no user interaction (UI:N). The attacker must have shell access to the same host [1].

Exploitation scenarios and attack lifecycle

The reviewed sources do not describe specific exploitation scenarios or attack steps for this vulnerability.

Impact analysis

The CVSS vector shows the attack can affect confidentiality (C:H), integrity (I:H), and availability (A:H). The description states that a local unprivileged attacker with shell access could execute code with the permissions of the instrumented Java service [1].

Affected products and versions

Affected ProductAffected VersionFixed Version
DataDog datadog-agent< 0.66.0not listed

The reviewed sources do not list a fixed version for this vulnerability in the table. The issue is resolved in datadog-apm-inject 0.66.0 [1].

Exploitation and threat intelligence status

The reviewed sources do not report any confirmed exploitation. CVE-2026-61581 is not listed in the CISA KEV catalog as of 2026-11-18 [2].

Indicators of compromise

The reviewed sources do not provide any indicators of compromise.

Detection and exposure assessment

Check installed versions against the affected versions [1]. Other steps are general guidance.

Immediate mitigation

The reviewed sources do not provide specific immediate mitigation steps. General guidance is recommended.

Permanent remediation

The reviewed sources list a fixed version: datadog-apm-inject 0.66.0 [1].

Workarounds and compensating controls

The reviewed sources do not give any workarounds or compensating controls. General guidance is recommended.

Validation and verification

Confirm the installed version after updating to ensure it is no longer affected.

Incident response

If exploitation is suspected, general guidance recommends isolating the affected system and reviewing logs for unusual activity.

Security hardening and prevention

General guidance for this kind of weakness includes securing temporary file storage and limiting access to sensitive directories.

Risk assessment

The CVSS 3.1 base score is 7.4, HIGH, scored by security-advisories@github.com [1]. The reviewed sources do not report exploitation [2].

Conclusion

The Datadog Agent is vulnerable due to insecure permissions on a predictable directory used for storing helper tools, which could allow local attackers to execute code with elevated privileges [1]. The issue is resolved in datadog-apm-inject 0.66.0 [1]. The record names datadog-apm-inject 0.66.0 as the version that fixes the issue [1]. Updating to that version is general defensive guidance.

Remediation checklist

  1. Update to datadog-apm-inject 0.66.0, the fixed version [1].
  2. Check installed versions against the affected versions [1].
  3. Verify that the system is not running any affected versions of the Datadog Agent [1].
  4. Review and update any related configurations to ensure secure file storage practices are in place.

Evidence gaps

  • The root cause is only described as CWE-379, without further technical details.
  • The complete version range is not provided, only the affected version is listed.
  • The fixed version is listed, but no additional details are provided.
  • Exploitation is not confirmed by any source, so the status remains unknown.
  • Indicators of compromise are not provided by the reviewed sources.

References

  1. CVE-2026-61581 record. NIST National Vulnerability Database (NVD), 2026-11-18. https://nvd.nist.gov/vuln/detail/CVE-2026-61581. Accessed 2026-11-18. CVE record, CVSS scores, CWE, affected versions, and fixed version information.
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-18. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-18. CISA KEV catalog status, indicating the vulnerability is not listed as exploited.

Written with AI assistance from the 2 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.4 CVSS 3.1 base score from the CNA (github.com)

An attacker without an account can exploit this with local access, without any user action, but only under specific conditions.

Attack from
local access (a logged-in user, or a malicious file opened on the device)
Attack complexity
high (only works under specific conditions)
Login needed
no
User action needed
no
Scope
stays within the vulnerable component
Impact
high on confidentiality, integrity and availability

Vector CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness

  • CWE-379: Creation of Temporary File in Directory with Insecure Permissions

Affected and fixed versions

ProductAffected versionsFixed in
DataDog datadog-agent< 0.66.0—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Details from NVD (public domain).

Affected

  • DataDog datadog-agent

Frequently asked questions

What is CVE-2026-61581?

The Datadog Agent has a vulnerability related to how it stores helper tools in a predictable directory, which could allow local attackers to execute code with higher privileges. The CVSS 3.1 score for this vulnerability is 7.4, HIGH, assigned by security-advisories@github.com. The affected versions are datadog-agent < 0.66.0, and the reviewed sources do not mention any confirmed exploitation. Weakness type: Creation of Temporary File in Directory with Insecure Permissions (CWE-379).

How severe is CVE-2026-61581?

CVE-2026-61581 has a CVSS 3.1 base score of 7.4 (high), from the CNA (github.com). An attacker without an account can exploit this with local access, without any user action, but only under specific conditions.

Is CVE-2026-61581 being exploited?

Not as far as is known: CVE-2026-61581 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-61581?

DataDog datadog-agent < 0.66.0.

How do I fix CVE-2026-61581?

Update to datadog-apm-inject 0.66.0, the fixed version. Check installed versions against the affected versions. Verify that the system is not running any affected versions of the Datadog Agent.

Timeline & sources

References

Related vulnerabilities & news