CVE Explorer
CVE-2026-22871
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"guarddog","vendor":"DataDog","versions":[{"status":"affected","version":"< 2.7.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:85e9a5cefaac1e47a541947c48c06f41c6a526b6d00a4ee094951475c9f488f6 · sha256:4829c3f6e73c6ffb… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.7,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:85e9a5cefaac1e47a541947c48c06f41c6a526b6d00a4ee094951475c9f488f6 · sha256:4829c3f6e73c6ffb… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:85e9a5cefaac1e47a541947c48c06f41c6a526b6d00a4ee094951475c9f488f6 · sha256:4829c3f6e73c6ffb… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/DataDog/guarddog/commit/9aa6a725b2c71d537d3c18d1c15621395ebb879c","tags":["x_refsource_MISC"],"url":"https://github.com/DataDog/guarddog/commit/9aa6a725b2c71d537d3c18d1c15621395ebb879c"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:85e9a5cefaac1e47a541947c48c06f41c6a526b6d00a4ee094951475c9f488f6 · sha256:4829c3f6e73c6ffb… · /containers/cna/references/1
{"name":"https://github.com/DataDog/guarddog/security/advisories/GHSA-xg9w-vg3g-6m68","tags":["x_refsource_CONFIRM"],"url":"https://github.com/DataDog/guarddog/security/advisories/GHSA-xg9w-vg3g-6m68"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:85e9a5cefaac1e47a541947c48c06f41c6a526b6d00a4ee094951475c9f488f6 · sha256:4829c3f6e73c6ffb… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.