CVE-2026-44971
Deferred Deferred - Pending Action
Remote Code Execution in GuardDog CLI Tool

Publication date: 2026-05-27

Last updated on: 2026-06-01

Assigner: GitHub, Inc.

Description
GuardDog is a CLI tool to identify malicious PyPI packages. From 1.0.0 to 2.9.0, the programmatic remote project scanning path rewrites attacker-controlled repository URLs using a blind string replacement and then sends the caller's GitHub credentials with the resulting request. This allows an attacker who can influence the scanned repository URL to trigger SSRF and capture the GH_TOKEN used by GuardDog. This vulnerability is fixed in .
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-27
Last Modified
2026-06-01
Generated
2026-06-16
AI Q&A
2026-05-27
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
guarddog guarddog From 1.0.0 (inc) to 2.9.0 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-918 The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Compliance Impact

The vulnerability in GuardDog allows an attacker to exfiltrate GitHub Personal Access Tokens (PATs) and perform Server-Side Request Forgery (SSRF) attacks against internal services. This unauthorized access to sensitive credentials and internal infrastructure could lead to data breaches or unauthorized data access.

Such breaches or unauthorized access may impact compliance with common standards and regulations like GDPR or HIPAA, which require protection of sensitive data and credentials. Exposure of authentication tokens and internal services could result in violations of data protection and security requirements mandated by these regulations.

Detection Guidance

This vulnerability can be detected by monitoring network traffic for unexpected outbound requests from GuardDog to non-GitHub hosts, especially internal or localhost IP addresses.

Specifically, look for HTTP requests that include GitHub credentials (such as the GH_TOKEN) being sent to IP addresses or domains other than github.com.

You can use network monitoring tools or commands to detect such suspicious requests.

  • Use tcpdump or Wireshark to capture outgoing HTTP requests from the system running GuardDog, filtering for requests containing 'Authorization' headers or targeting unusual IP addresses.
  • Example tcpdump command: sudo tcpdump -i any -A 'tcp port 80 or tcp port 443' | grep -i 'Authorization'
  • Check GuardDog logs for any remote scanning URLs that do not resolve to github.com or that contain suspicious IP addresses.
Mitigation Strategies

The immediate mitigation step is to upgrade GuardDog to a version where this vulnerability is fixed (a version later than 2.9.0).

Until the upgrade is applied, avoid scanning remote projects with untrusted or attacker-controlled repository URLs to prevent SSRF and token leakage.

Additionally, consider revoking and regenerating the GitHub Personal Access Token (GH_TOKEN) used by GuardDog if you suspect it may have been compromised.

Implement network-level restrictions to prevent GuardDog from making HTTP requests to internal or localhost IP addresses.

Executive Summary

The vulnerability exists in GuardDog, a CLI tool used to identify malicious PyPI packages. From versions 1.0.0 to 2.9.0, the tool rewrites attacker-controlled repository URLs using a blind string replacement method. When doing so, it sends the caller's GitHub credentials along with the request. This flaw allows an attacker who can influence the scanned repository URL to trigger a Server-Side Request Forgery (SSRF) attack and capture the GitHub token (GH_TOKEN) used by GuardDog.

Impact Analysis

This vulnerability can lead to unauthorized access to your GitHub credentials (GH_TOKEN) if an attacker can manipulate the repository URL being scanned. With the stolen token, an attacker could potentially access or manipulate your GitHub resources, leading to compromised code repositories, unauthorized actions, or data exposure.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-44971. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart