A severe flaw, CVE-2025-48384, has been discovered in the command-line interface of Git, which allows arbitrary file writes and remote code execution on Linux and macOS operating systems. The vulnerability affects users who run git clone recursive on hacked repositories. The vulnerability is a result of Git's erroneous processing of carriage return (\\r) characters in .gitmodules files. This can be attacked by creating submodule paths with terminal carriage returns, which Git correctly reads but misinterprets during parsing of configurations reading one path but writing another, enabling directory traversal. This inconsistency in parsing enables attackers to place Git hook scripts in the victim's .git/hooks/ directory. These run during normal Git operations like git commit or git merge, providing attackers with code execution functionality. The vulnerability is specifically risky in CI/CD pipelines and dev environments, where such hooks are likely to be silent. GitHub Desktop on macOS is also vulnerable because it has a default feature of recursively cloning repositories. Windows is not affected because of varying treatment of control characters in the file system and Git parser. The vulnerability has a CVSS score of 8.1 (High), and active proof-of-concept exploits are publicly available. Git has released patches as of July 8, 2025, and users are highly advised to update through their package manager. macOS users should use only the Git CLI until GitHub Desktop is patched. Security teams should actively scan .gitmodules files for malicious control characters and have monitoring in place for recursive clone commands, particularly from untrusted origins. This attack points to the absolute necessity of configuration validation and file path sanitization during software that processes untrusted data.
Researchers at Mysterium VPN have identified 12,088,677 IP addresses serving publicly accessible .env-style files, exposing credentials and tokens at massive scale. The United Stat...
The job search process has become a new attack surface for software engineers, as Microsoft Defender Experts uncovered a coordinated campaign leveraging malicious repositories disg...
Online home improvement marketplace ManoMano has reportedly suffered a significant data breach impacting approximately 38 million users. Threat actors claim to have accessed and ex...