{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-61667 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-61667 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-61667 is a high-severity vulnerability in datadog-agent, published on 12 Nov 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-61667 and fix it if it is affected.\n\nWhat it is: CVE-2025-61667 is a high-severity vulnerability in datadog-agent, published on 12 Nov 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-61667 in the wild and no public exploit code.\n\nAffected product: datadog-agent. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-61667/ (Markdown: https://insights.sbomify.com/CVE-2025-61667/index.md)","id":"CVE-2025-61667","markdown":"https://insights.sbomify.com/CVE-2025-61667/index.md","name":"CVE-2025-61667","record":{"aliases":["GHSA-6852-76c5-6cmg"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Datadog Linux Agent","requires_auth":"low_privilege","summary":"Local attackers can escalate privileges by modifying cached Python scripts executed during Datadog Agent upgrades.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-276","name":"Incorrect Default Permissions"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Datadog Linux Host Agent affected by local privilege escalation due to insufficient pycache permissions","id":"CVE-2025-61667","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2025"},"n_packages":0,"n_references":1,"next":{"headline":"@plone/volto vulnerable to potential DoS by invoking specific URL by anonymous user","id":"CVE-2025-61668"},"packages":[],"prev":{"headline":"Traccar Unauthenticated Local File Inclusion on Windows - Leakage of Traccar Config File","id":"CVE-2025-61666"},"products":["datadog-agent"],"published":"2025-11-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-11-12","vendors":["DataDog"]},"summary":"Local attackers can escalate privileges by modifying cached Python scripts executed during Datadog Agent upgrades.","url":"https://insights.sbomify.com/CVE-2025-61667/"}