Read the docs
TI-2022-07587 Aliases CVE-2022-23530GHSA-78m5-jpmf-ch7v

GuardDog vulnerable to arbitrary file write when scanning a specially-crafted remote PyPI package

Priority MEDIUM 62CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.

Summary

GuardDog is a CLI tool to identify malicious PyPI packages. Versions prior to v0.1.8 are vulnerable to arbitrary file write when scanning a specially-crafted remote PyPI package. Extracting files using shutil.unpack_archive() from a potentially malicious tarball without validating that the destination file path is within the intended destination directory can cause files outside the destination directory to be overwritten. This issue is patched in version 0.1.8. Potential workarounds include using a safer module, like zipfile, and validating the location of the extracted files and discarding those with malicious paths.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00751 55th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Fixed guarddog (DataDog): 0.1.8guarddog (PyPI): 0.1.8

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
DataDogguarddogbefore 0.1.80.1.8Patch availableCNA
—guarddog (PyPI)before 0.1.80.1.8Patch availableGHSA-78m5-jpmf-ch7v
  • guarddog VendorDataDog Affected before 0.1.8 Fixed in 0.1.8 Patch available CNA
  • guarddog (PyPI) Vendor— Affected before 0.1.8 Fixed in 0.1.8 Patch available GHSA-78m5-jpmf-ch7v

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:datadoghq:guarddog:*:*:*:*:*:python:*:*before 0.1.8VulnerableDatadoghq
  • cpe:2.3:a:datadoghq:guarddog:*:*:*:*:*:python:*:* Versions before 0.1.8 Vulnerable ·Datadoghq

Remediation

  • Fix · CNA guarddog (DataDog) Fixed in 0.1.8
  • Fix · GHSA-78m5-jpmf-ch7v guarddog (PyPI) Fixed in 0.1.8 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-23530
  2. 2026-10-03 Alias added: GHSA-78m5-jpmf-ch7v

References

  • TI-2026-32833 GuardDog: Blind GitHub URL rewrite in remote project scanning causes SSRF and `GH_TOKEN` exfiltration CVSS 3.1HIGH 8.2
  • TI-2026-26107 dd-trace-java: Unsafe deserialization in RMI instrumentation may lead to remote code execution CVSS 4.0CRITICAL 9.3
  • TI-2026-81528 ReDoS in dd-trace URL query string obfuscation CVSS 4.0HIGH 8.7
  • TI-2026-80927 ReDoS in Datadog dd-trace-py URL query string obfuscation CVSS 4.0HIGH 8.7
  • TI-2023-20052 import-in-the-middle allows unsanitized user controlled input in module generation CVSS 3.1CRITICAL 9.8
  • TI-2026-80928 Datadog dd-trace-py IAST flaw lets attackers crash Python processes CVSS 4.0HIGH 8.2
See all 28 →

Sources