CVE-2026-22871CWE-22

GuardDog Path Traversal Vulnerability Leads to Arbitrary File Overwrite and RCE

High · published January 13, 2026

CVSS v4.0
8.7
EPSS
1%
Percentile
64.4
In the wild
Unconfirmed
What it is

⚡ A sneaky path traversal vulnerability lurks in GuardDog's safe_extract() function! This could let malicious PyPI packages write files anywhere – outside the safety of their intended home. 🏠 Think of it like a pizza delivery driver who reads the wrong address—delivering your pizza to a neighbor instead of you! In this case, the files are getting delivered to places they shouldn't be, potentially causing chaos. 🍕 An attacker can exploit this flaw to overwrite arbitrary files on your system, leading to devastating consequences like remote code execution. Imagine someone not just breaking into your home, but taking over your entire house while you're away! This is a serious risk that needs addressing!

Put simply

Think of it like a pizza delivery driver who reads the wrong address—delivering your pizza to a neighbor instead of you! In this case, the files are getting delivered to places they shouldn't be, potentially causing chaos. 🍕 This vulnerability allows malicious PyPI packages to manipulate the path during extraction, enabling them to write files outside the intended directory. This leads to arbitrary file overwrite and potential remote code execution on systems running GuardDog versions prior to 2.7.1.

What to do

An attacker can exploit this flaw to overwrite arbitrary files on your system, leading to devastating consequences like remote code execution. Imagine someone not just breaking into your home, but taking over your entire house while you're away! This is a serious risk that needs addressing! Update GuardDog to version 2.7.1 immediately to close off this security hole. Always ensure your packages come from trusted sources, and consider running security audits on your dependencies regularly. 🛡️ You've got this! Follow these steps and tighten your defenses—security hero status: activated! 🦸‍♂️

The record
Technical detail
CVSS v4.0
8.7 · HIGH
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
EPSS
0.01064 · 64.4th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-01-13T20:46Z
EPSS history
Timeline
  • 13 JAN 20:46Z
    GuardDog Path Traversal Vulnerability Leads to Arbitrary File Overwrite and RCE
    cvelistv5