{"cve":"CVE-2026-22871","nvd":{"published":"2026-01-13T21:15:55.210","modified":"2026-06-17T10:20:32.513","status":"Analyzed","description":"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.","cvss_v4":{"vector":"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","score":8.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-22"],"references":["https://github.com/DataDog/guarddog/commit/9aa6a725b2c71d537d3c18d1c15621395ebb879c","https://github.com/DataDog/guarddog/security/advisories/GHSA-xg9w-vg3g-6m68"],"products":["datadoghq:guarddog"],"source":"nvd","synced_at":"2026-10-19T22:19:41.481987139+00:00"},"epss":{"cve":"CVE-2026-22871","score":0.01064,"percentile":0.64696,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-xg9w-vg3g-6m68","url":"https://osv.dev/vulnerability/GHSA-xg9w-vg3g-6m68","summary":"GuardDog Path Traversal Vulnerability Leads to Arbitrary File Overwrite and RCE","modified":"2026-07-07T17:57:32.657033107Z","packages":[{"ecosystem":"PyPI","name":"guarddog","purl":"pkg:pypi/guarddog","ranges":["<2.7.1"],"fixed":["2.7.1"]}]},{"id":"PYSEC-2026-1430","url":"https://osv.dev/vulnerability/PYSEC-2026-1430","summary":"GuardDog Path Traversal Vulnerability Leads to Arbitrary File Overwrite and RCE","modified":"2026-07-07T17:47:38.871040180Z","packages":[{"ecosystem":"PyPI","name":"guarddog","purl":"pkg:pypi/guarddog","ranges":["<2.7.1"],"fixed":["2.7.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}