Path Traversal in githacker
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-50024 has been found in githacker.
Attackers can target a specific entry point like GET over the network to misuse the product.
Risk of unauthorized operations or information disclosure. CVSS score: 5.3/10.
What to do: upgrade githacker to 1.1.8 or later.
If unsure, ask your IT team or search "githacker CVE-2026-50024" on the vendor's site.
CVE-2026-50024 (githacker) — CWE-22 / CVSS v3 5.3
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: GET / temp_dst / add_head_file_tasks / add_hashes_parsed
Patched: 1.1.8 — apply immediately
Workaround: Run GitHacker inside a disposable container.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Path traversal (CWE-22) exists in githacker. Attackers reach the vulnerable code path via GET without authentication.
Check the vendor advisory for the affected versions of githacker. Attack surface: GET / temp_dst / add_head_file_tasks / add_hashes_parsed.
Severity: Medium (CVSS 5.3/10). Risk of unauthorized operations or information disclosure.
Update to 1.1.8.
Workaround: Run GitHacker inside a disposable container.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'githacker' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'githacker' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
githackerを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply temporary workaroundmitigate
Run GitHacker inside a disposable container.パッチが適用されるまでの応急処置として、Run GitHacker inside a disposable container. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3
Apply patchpatch
Upgrade githacker to 1.1.8ステージング環境で 1.1.8 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| pipgithacker |
< 1.1.8→ 1.1.8 |
1.1.8 |
Original description The description as published by the source.
GitHacker is a tool that restores Git repositories from exposed .git directories. In 1.1.7 and earlier, add_head_file_tasks parses an attacker-controlled ref path from .git/HEAD and joins unvalidated path segments onto temp_dst/.git/logs/, allowing a malicious server to make GitHacker read an arbitrary local file when a victim runs the tool against the server's URL. add_hashes_parsed then scans the file for 40-character hexadecimal substrings and requests each match through .git/objects using the first two characters and remaining characters as path components, creating an attacker-observable existence oracle and disclosing matching hexadecimal fragments. Complete file contents are not returned, and the add_folder and add_task write path in shipped version 1.1.7 does not permit an escape. This issue is fixed in repository version 1.1.9.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com