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

Published Nov 12, 2025
·
Updated

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.

Affected Software

1 affected component
Datadog Linux Host Agent>=7.65.0<7.70.2

Event History

Nov 12, 2025
CVE Published
via MITRE·06:50 PM
Data Sourced
via MITRE·06:50 PM
DescriptionWeakness
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-61667?

CVE-2025-61667 is classified as a moderate severity vulnerability.

2

How do I fix CVE-2025-61667?

To fix CVE-2025-61667, ensure that proper permissions are set on the `opt/datadog-agent/python-scripts/__pycache__` directory.

3

Which versions of the Datadog Linux Host Agent are affected by CVE-2025-61667?

CVE-2025-61667 affects Datadog Linux Host Agent versions 7.65.0 through 7.70.2.

4

What impact does CVE-2025-61667 have on my system?

CVE-2025-61667 can lead to unauthorized access to sensitive data if exploited.

5

Is there a patch available for CVE-2025-61667?

Yes, Datadog has released a patch that addresses the permissions issue related to CVE-2025-61667.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203