
CVE catalog
CVE-2026-41506
go-git is an extensible git implementation library written in pure Go. Prior to versions 5.18.0 and 6.0.0-alpha.2, go-git may leak HTTP authentication credentials when following redirects during smart
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.26% · Oct 25, 2026
go-git is an extensible git implementation library written in pure Go. Prior to versions 5.18.0 and 6.0.0-alpha.2, go-git may leak HTTP authentication credentials when following redirects during smart-HTTP clone and fetch operations. This issue has been patched in versions 5.18.0 and 6.0.0-alpha.2.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | golang-github-go-git-go-git | sid | 5.19.2-2 | fixed |
| Debian | golang-github-go-git-go-git | forky | 5.19.2-2 | fixed |
| Debian | golang-github-go-git-go-git | trixie | 5.14.0-1 | vulnerable |
| Debian | golang-github-go-git-go-git | bookworm | 5.4.2-3 | vulnerable |
| Cpe | golang-github-go-git-go-git | Not reported | Not reported | vulnerable |
| Cpe | go-git | Not reported | 5.18.0 | fixed |
| Cpe | go-git | Not reported | Not reported | unknown |
| Go | github.com/go-git/go-git/v5 | Not reported | 5.18.0 | fixed |
| Opensuse | amazon-ssm-agent | tumbleweed | 3.3.4268.0-2.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | golang-github-go-git-go-git | source | sid | 5.19.1-1 | not yet assigned | Not reported | [1136095] |
| Debian | golang-github-go-git-go-git | source | forky | 5.19.1-1 | not yet assigned | Not reported | [1136095] |
| Debian | golang-github-go-git-go-git | source | trixie | (unfixed) | not yet assigned | Not reported | [1136095] |
| Debian | golang-github-go-git-go-git | source | bookworm | (unfixed) | not yet assigned | Not reported | [1136095] |
| Cpe | go-git | cpe | Not reported | 5.18.0 | Not reported | Not reported | Not reported |
| Go | github.com/go-git/go-git/v5 | Go | Not reported | 5.18.0 | Not reported | Not reported | Not reported |
| Opensuse | amazon-ssm-agent | rpm | tumbleweed | 3.3.4268.0-2.1 | Not reported | OPENSUSE-SU-2026:10765-1 | Not reported |
Notes
[trixie] golang-github-go-git-go-git: Minor issue [bookworm] golang-github-go-git-go-git: Limited support, minor issue; credential leak on cross-host redirect
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [go-git]Affected
Source package: [golang-github-go-git-go-git]
Details (2)
5.4.2-3+b7· amd64 · bookwormAffected
nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12
5.4.2-3+b7· arm64 · bookwormAffected
nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12
- [golang-github-go-git-go-git-dev]Affected
Source package: [golang-github-go-git-go-git]
Details (2)
5.4.2-3· all · bookwormAffected
nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12
5.4.2-3· all · bookwormAffected
nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12
[Debian 13 (Trixie)]
- [go-git]Affected
Source package: [golang-github-go-git-go-git]
Details (2)
5.14.0-1+b3· amd64 · trixieAffected
nvd · golang-github-go-git-go-git · debian · 13
5.14.0-1+b3· arm64 · trixieAffected
nvd · golang-github-go-git-go-git · debian · 13
- [golang-github-go-git-go-git-dev]Affected
Source package: [golang-github-go-git-go-git]
Details (2)
5.14.0-1· all · trixieAffected
nvd · golang-github-go-git-go-git · debian · 13
5.14.0-1· all · trixieAffected
nvd · golang-github-go-git-go-git · debian · 13
[openSUSE Tumbleweed]
- [amazon-ssm-agent]Fixed
Source package: [amazon-ssm-agent]
Details (1)
3.3.4851.0-1.1· x86_64 · tumbleweedFixed · Fixed:
3.3.4268.0-2.1nvd · amazon-ssm-agent · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_21210-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-41506]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-41506]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10765-1]
- [https://pkg.go.dev/vuln/GO-2026-5105]
- [https://security-tracker.debian.org/tracker/CVE-2026-41506]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41506.json]
[Debian Security Tracker] · [FIRST EPSS] · [Go Vulnerability Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]