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)
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| datadog-agent Product | >= 7.65.0, < 7.71.0 | 7.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| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jun 5 | Improper parsing of W3C baggage headers may lead to DoS | High7.5 | 5.100.0 |
| Jun 5 | Improper parsing of W3C baggage headers may lead to DoS | High7.5 | 3.43.0+1 more |
| Jun 5 | Improper parsing of W3C baggage headers may lead to DoS | High7.5 | 4.8.2 |
| Jun 5 | Improper parsing of W3C baggage headers may lead to DoS | High7.5 | 1.62.0 |
| Jun 5 | Improper parsing of W3C baggage headers may lead to DoS | High7.5 | 1.19.2 |
| Mar 23 | Unsafe deserialization in dd-trace-java RMI instrumentation may lead to remote code execution | Critical9.3 | 1.60.3 |