Relative Path Traversal Affecting githacker package, versions [,1.1.10)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.45% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Relative Path Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-GITHACKER-20158935
  • published27 Sept 2026
  • disclosed9 Sept 2026
  • creditUnknown

Introduced: 9 Sep 2026

NewCVE-2026-50024  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-23  (opens in a new tab)

How to fix?

Upgrade githacker to version 1.1.10 or higher.

Overview

githacker is an A multiple threads tool to download the .git folder and rebuild git repository locally.

Affected versions of this package are vulnerable to Relative Path Traversal via the add_head_file_tasks function. An attacker can access arbitrary local files and exfiltrate fragments of their contents by tricking a user into running the application against a malicious server that returns crafted .git/HEAD responses. This is only exploitable if the victim runs the tool against a URL controlled by the attacker.

Workaround

This vulnerability can be mitigated by running the application inside a disposable container and avoiding use with untrusted URLs.

CVSS Base Scores

version 4.0
version 3.1