CVE-2025-61667
published high CVSS 4.0 · 7.0Datadog Linux Host Agent affected by local privilege escalation due to insufficient pycache permissions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| DataDog | — | datadog-agent>= 7.65.0 , < 7.71.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| DataDog | datadog-agent | >= 7.65.0 , < 7.71.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-276 CWE-276: Incorrect Default Permissions
References
1Provider assertions
2GitHub_M · cna
Datadog Linux Host Agent affected by local privilege escalation due to insufficient pycache permissions
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c2fb419813b4d438cd27c53210a2230fedaa85fb66a22d7552fe7adbd66e8f97
- Ingested
- 23 Sep 2026, 08:55:13 UTC
- Source record
- Official CVE record