CyberRota Analysis
AI-GeneratedThe go-git library, used for Git operations in Go applications, is vulnerable to improper handling of symbolic links, allowing malicious repositories to manipulate files outside the intended working directory during worktree operations. This could lead to unauthorized file access or modification, posing significant security risks for applications relying on this library. Developers and organizations utilizing go-git versions prior to 5.19.2 and 6.0.0-alpha.5 should prioritize updating to mitigate potential exploitation.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
go-git is an extensible git implementation library written in pure Go. Prior to 5.19.2 and 6.0.0-alpha.5, worktree operations (including checkout, status, and add) resolve symbolic links inside the working tree without confining resolution to the worktree boundary, so a maliciously crafted repository containing a symlink can cause go-git to read from or write to files outside the intended working directory when the repository is cloned and its worktree operations are used. Versions 5.19.2 and 6.0.0-alpha.5.