Is gopkg.in/src-d/go-git.v4 4.13 vulnerable?

Go · 2 releases from 4.13.0 to 4.13.1 · latest gopkg.in/src-d/go-git.v4 is 4.13.1 · checked 18 Nov 2026

Yes: 8 known advisories

Yes. gopkg.in/src-d/go-git.v4 4.13.1, the last 4.13 release, is affected by 8 known security advisories (2 critical, 2 high, 4 low), including CVE-2025-21613, CVE-2023-49569, CVE-2025-21614. At least one has no fixed release yet.

Is your project on an affected gopkg.in/src-d/go-git.v4?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting gopkg.in/src-d/go-git.v4 4.13.1

  • LowCVE-2025-21613GO-2025-33687 Jan 2025

    Argument Injection via the URL field in github.com/go-git/go-git

    Affected
    >=4.0.0
    Fixed in
    No fix released
  • LowCVE-2025-21614GO-2025-33677 Jan 2025

    Clients vulnerable to DoS via maliciously crafted Git server replies in github.com/go-git/go-git

    Affected
    >=4.0.0
    Fixed in
    No fix released
  • HighCVE-2025-21614GHSA-r9px-m959-cxf46 Jan 2025

    go-git clients vulnerable to DoS via maliciously crafted Git server replies

    Affected
    >=4.0.0 <=4.13.1
    Fixed in
    No fix released
  • CriticalCVE-2025-21613GHSA-v725-9546-7q7m6 Jan 2025

    go-git has an Argument Injection via the URL field

    Affected
    >=4.0.0 <=4.13.1
    Fixed in
    No fix released
  • LowCVE-2023-49568GO-2024-246623 Jan 2024

    Denial of service in github.com/go-git/go-git/v5 and gopkg.in/src-d/go-git.v4

    Affected
    >=4.7.1
    Fixed in
    No fix released
  • LowCVE-2023-49569GO-2024-245623 Jan 2024

    Path traversal and RCE in github.com/go-git/go-git/v5 and gopkg.in/src-d/go-git.v4

    Affected
    >=4.7.1
    Fixed in
    No fix released
  • CriticalCVE-2023-49569GHSA-449p-3h89-pw8810 Jan 2024

    Maliciously crafted Git server replies can lead to path traversal and RCE on go-git clients

    Affected
    >=4.0.0 <=4.13.1
    Fixed in
    No fix released
  • HighCVE-2023-49568GHSA-mw99-9chc-xw7r27 Dec 2023

    Maliciously crafted Git server replies can cause DoS on go-git clients

    Affected
    >=4.7.1 <=4.13.1
    Fixed in
    No fix released

Every gopkg.in/src-d/go-git.v4 4.13.x release

Affected: 4.13.0 to 4.13.1.

VersionKnown advisories
gopkg.in/src-d/go-git.v4 4.13.1CVE-2025-21613, CVE-2025-21614, CVE-2025-21614, CVE-2025-21613, CVE-2023-49568, CVE-2023-49569, CVE-2023-49569, CVE-2023-49568
gopkg.in/src-d/go-git.v4 4.13.0CVE-2025-21613, CVE-2025-21614, CVE-2025-21614, CVE-2025-21613, CVE-2023-49568, CVE-2023-49569, CVE-2023-49569, CVE-2023-49568

Which of your client projects are still on gopkg.in/src-d/go-git.v4 4.13?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact gopkg.in/src-d/go-git.v4 version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other gopkg.in/src-d/go-git.v4 versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Go registry. Refreshed daily.