Skip to content
DatadogGHSA-6852-76c5-6cmg

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

High7.0CVE-2025-61667 · Published Nov 11, 2025

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)

GitHub advisory

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

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.