gbhackers.comยท15 july 2025

PoC Released for High-Severity Git CLI Vulnerability Allowing Arbitrary File Writes

Image for the article: PoC Released for High-Severity Git CLI Vulnerability Allowing Arbitrary File Writes
Image via gbhackers.com

A critical vulnerability in Git's command-line interface, CVE-2025-48384, allows arbitrary file writes and remote code execution on Linux and macOS systems. The flaw affects Git installations using git clone --recursive on weaponized repositories, exploiting improper handling of carriage return characters in .gitmodules files. Public proof-of-concept exploits are available. This vulnerability poses a significant risk to developers and organizations using Git, potentially leading to unauthorized access and data breaches.