Advisory

GO-2026-5496

Also known as: CVE-2026-45570, GHSA-m7cr-m3pv-hgrp

Summary

Improper single-quote escaping in go-git SSH transport in github.com/go-git/go-git

Details

Improper single-quote escaping in go-git SSH transport in github.com/go-git/go-git

Severity

Not rated by the source.

Dates

Published
2026-07-07 16:52 UTC
Modified
2026-07-10 05:44 UTC

Affected packages and fixes

github.com/go-git/go-git

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/go-git/go-git/v5

Go · All systems

Affected

  • introduced 0, fixed 5.19.1 (semver)

Fixed versions

5.19.1

Fix

github.com/go-git/go-git/v6

Go · All systems

Affected

  • introduced 0, fixed 6.0.0-alpha.4 (semver)

Fixed versions

6.0.0-alpha.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences