CVE-2026-22871
HIGH 8.7CVSS 4.0GuardDog Path Traversal Vulnerability Leads to Arbitrary File Overwrite and RCE
GuardDog is a CLI tool to identify malicious PyPI packages. Prior to 2.7.1, there is a path traversal vulnerability exists in GuardDog's safe_extract() function that allows malicious PyPI packages to write arbitrary files outside the intended extraction directory, leading to Arbitrary File Overwrite and Remote Code Execution on systems running GuardDog. This vulnerability is fixed in 2.7.1.
- Published
- 13 Jan 2026
- Last modified
- 7 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-xg9w-vg3g-6m68PYSEC-2026-1430
- Sources
- NVDJSONOSV GHSA-xg9w-vg3g-6m68JSONOSV PYSEC-2026-1430JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | datadoghq | guarddogcpe:2.3:a:datadoghq:guarddog:*:*:*:*:*:python:*:* |
< 2.7.1 | 2.7.1 |
| OSV | PyPI | guarddog | < 2.7.1 | 2.7.1 |
References
- https://github.com/DataDog/guarddog/commit/9aa6a725b2c71d537d3c18d1c15621395ebb879c · Patch, WEB
- https://github.com/DataDog/guarddog/security/advisories/GHSA-xg9w-vg3g-6m68 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-22871 · ADVISORY
- https://github.com/DataDog/guarddog · PACKAGE
- https://pypi.org/project/guarddog · PACKAGE
- https://github.com/advisories/GHSA-xg9w-vg3g-6m68 · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 13 Jan 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jan 2026)