Home / DataDog / guarddog / CVE-2022-23530
CVE-2022-23530: is it exploited, and which versions of DataDog guarddog are affected and fixed?
CVE-2022-23530 is a path traversal (reading or writing files outside the intended folder) vulnerability in DataDog guarddog. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: guarddog before 0.1.8 (GitHub advisory GHSA-78m5-jpmf-ch7v). Fixed in 0.1.8 (GitHub advisory GHSA-78m5-jpmf-ch7v). Severity: Medium (5.8, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:43 UTC.
What is CVE-2022-23530?
GuardDog vulnerable to arbitrary file write when scanning a specially-crafted remote PyPI package
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.
From the CVE record by GitHub_M, last updated April 17, 2025, 14:34 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| DataDog | guarddog | < 0.1.8 |
As the CVE record by GitHub_M states it, last updated April 17, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | guarddog | < 0.1.8 | 0.1.8 | GHSA-78m5-jpmf-ch7v |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 18, 2024. Summary: GuardDog vulnerable to arbitrary file write when scanning a specially-crafted remote PyPI package.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| datadoghq | guarddog | before 0.1.8 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:30 UTC.
How severe is CVE-2022-23530?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L | GitHub_M |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-23530 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, April 17, 2025)
- EPSS
- 0.78% probability of exploitation activity in the next 30 days, percentile 57.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/DataDog/guarddog/security/advisories/GHSA-78m5-jpmf-ch7v x_refsource_CONFIRM
- https://github.com/DataDog/guarddog/commit/37c7d0767ba28f4df46117d478f97652594c491c x_refsource_MISC
- https://github.com/DataDog/guarddog/blob/a1d064ceb09d39bb28deb6972bc0a278756ea91f/guarddog/scanners/package_scanner.py#L153..158 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 19, 2022
- Published
- December 16, 2022, 22:56 UTC
- CVE record updated
- April 17, 2025, 14:34 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 04:30 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:43 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect guarddog?
- May 27, 2026CVE-2026-44971 DataDog guarddog: server-side request forgery (SSRF)
- May 27, 2026CVE-2026-44972 DataDog guarddog: improper output encoding
- Jan 13, 2026CVE-2026-22871 DataDog guarddog: path traversal (reading or writing files outside the intended folder)
- Jan 13, 2026CVE-2026-22870 DataDog guarddog: improper Handling of Highly Compressed Data (Data Amplification)
- Dec 16, 2022CVE-2022-23531 DataDog guarddog: path traversal
Questions about CVE-2022-23530
Is CVE-2022-23530 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.78% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of DataDog guarddog are affected by CVE-2022-23530?
guarddog before 0.1.8, per the GitHub advisory GHSA-78m5-jpmf-ch7v. The tables above give every range the sources list.
Which version fixes CVE-2022-23530?
0.1.8, per the GitHub advisory GHSA-78m5-jpmf-ch7v. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-23530?
Medium (5.8, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2022-23530?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.