Bug 2526224 - CVE-2026-45570 golang-github-git-5: go-git: Shell command injection in SSH transport [fedora-all]
Summary: CVE-2026-45570 golang-github-git-5: go-git: Shell command injection in SSH tr...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: golang-github-git-5
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Orphan Owner
QA Contact:
URL:
Whiteboard: {"flaws": ["775e7949-9b6d-4d76-8687-4...
Depends On:
Blocks: CVE-2026-45570
TreeView+ depends on / blocked
 
Reported: 2026-08-31 10:01 UTC by Marian Rehak
Modified: 2026-08-31 10:01 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2026-08-31 10:01:08 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

go-git is an extensible git implementation library written in pure Go. Prior to 5.19.1 and 6.0.0-alpha.4, go-git's SSH transport constructs the remote exec command by wrapping the repository path in single quotes without escaping single quotes embedded inside the path. A repository path containing a single quote can therefore break out of the quoted region in the exec command and be appended as additional shell tokens. This vulnerability is fixed in 5.19.1 and 6.0.0-alpha.4.


Note You need to log in before you can comment on or make changes to this bug.