Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-61667
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 02:25 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 12 Nov 2025, 18:50 UTC

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.

osv:CVE-2025-61667
Complete source record
{
  "id": "effccd7e30635c7e656a6de212c30e8ef43c1d28ac18f2cddb8528f9320b4160",
  "url": "https://osv.dev/vulnerability/CVE-2025-61667",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Datadog Linux Host Agent affected by local privilege escalation due to insufficient pycache permissions",
    "summary": "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.",
    "evidence": "osv:CVE-2025-61667",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-61667",
      "aliases": [
        "CVE-2025-61667",
        "GHSA-6852-76c5-6cmg"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/datadog/datadog-agent",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6ce6e864fb1d16d5d492a8446b504449080a863e"
                },
                {
                  "fixed": "d3d73218dbd3706d3e51d2f0ff9fa5e9f01638d7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "7.65.0"
                      },
                      {
                        "fixed": "7.71.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "7.65.0"
                      },
                      {
                        "last_affected": "7.70.2"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-61667.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.443177Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/61xxx/CVE-2025-61667.json",
        "https://github.com/DataDog/datadog-agent/security/advisories/GHSA-6852-76c5-6cmg",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-61667"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-276"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/61xxx/CVE-2025-61667.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-61667",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499675,
  "published_at": "2025-11-12T18:50:02.94+00:00"
}