The go command may execute unexpected commands when...
High severity
Unreviewed
Published
Jul 30, 2025
to the GitHub Advisory Database
•
Updated Aug 6, 2025
Description
Published by the National Vulnerability Database
Jul 29, 2025
Published to the GitHub Advisory Database
Jul 30, 2025
Last updated
Aug 6, 2025
The go command may execute unexpected commands when operating in untrusted VCS repositories. This occurs when possibly dangerous VCS configuration is present in repositories. This can happen when a repository was fetched via one VCS (e.g. Git), but contains metadata for another VCS (e.g. Mercurial). Modules which are retrieved using the go command line, i.e. via "go get", are not affected.
References