David Leadbeater personal blog

Breaking Git with a carriage return and cloning RCE

tl;dr: On Unix-like platforms, if you use git clone --recursive on an untrusted repo, it could achieve remote code execution. Update to a fixed version of Git and other software that embeds Git (including GitHub Desktop).
Points
373
HN comments
162
Submissions
1
Cited by
0 commenters

Security & PrivacySoftware Engineering2025

On Hacker News

SubmittedTitle on HNPointsComments
Jul 8, 2025Breaking Git with a carriage return and cloning RCE by dgl373162

More from David Leadbeater

All 6 posts →

Related posts from the same era