{"id":23122,"date":"2026-09-16T00:31:21","date_gmt":"2026-09-15T16:31:21","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-50024"},"modified":"2026-09-16T00:31:21","modified_gmt":"2026-09-15T16:31:21","slug":"cve-2026-50024","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-50024","title":{"rendered":"CVE-2026-50024 [MEDIUM] &#8211; GitHacker is a tool that restores Git repositories from exposed .git directories. In 1.1.7"},"content":{"rendered":"<p>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&#8217;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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-23122","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/23122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=23122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=23122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=23122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}