AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

DatadogGHSA-6852-76c5-6cmg

Datadog Linux Host Agent affected by local privilege escalation due to insufficient pycache permissions

Datadog

CVE-2025-61667 · Published Nov 11, 2025

High7.0
Fix: upgrade to 7.71.0 or later
GitHub advisory

A vulnerability within the Datadog Linux Host Agent versions >=7.65.0 to <=7.70.2 exists due to insufficient permissions being set on the opt/datadog-agent/python-scripts/__pycache__ directory during installation. Code in this directory is only run by the Agent during Agent install/upgrades. This could allow an attacker with local access to modify files in this directory, which would then subsequently be run when the Agent is upgraded, resulting in local privilege escalation. This issue requires local access to the host and a valid low privilege account to be vulnerable. Note that this vulnerability only impacts the Linux Host Agent. Other variations of the Agent including the container, kubernetes, windows host and other agents are not impacted.

References

  • [GHSA-6852-76c5-6cmg](https://github.com/DataDog/datadog-agent/security/advisories/GHSA-6852-76c5-6cmg)

Affected versions

PackageAffectedFixed in
datadog-agent
Product
>= 7.65.0, < 7.71.07.71.0
Details and references
CVSS 4.0
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Severity from
GitHub (reviewed advisory)
Weakness
CWE-276

More Datadog advisories

All Datadog