CVE 7 HIGH

Datadog Linux Host Agent affected by local privilege escalation due to insufficient pycache permissions_CVE-2025-61667

7 / 10
HIGH
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

Description

The Datadog Agent collects events and metrics from hosts and sends them to Datadog. A vulnerability within the Datadog Linux Host Agent versions 7.65.0 through 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. Version 7.71.0 contains a patch for the issue.

Basic Information

ID CVE-2025-61667
Source GitHub_M
Published Nov 12, 2025 at 18:50
Modified Nov 12, 2025 at 21:04

Affected Product

Vendor DataDog
Product datadog-agent
Version >= 7.65.0 , < 7.71.0
Affected Versions DataDog datadog-agent >= 7.65.0 , < 7.71.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.