Is github.com/gin-gonic/gin 1.6 vulnerable?

Go · 4 releases from 1.6.0 to 1.6.3 · latest github.com/gin-gonic/gin is 1.12.0 · checked 18 Nov 2026

Yes: 5 known advisories

Yes. github.com/gin-gonic/gin 1.6.3, the last 1.6 release, is affected by 5 known security advisories (1 high, 2 medium, 2 low), including CVE-2020-28483, CVE-2023-29401, CVE-2023-26125. Upgrade to 1.9.1 or later to fix all of them.

Upgrade with:go get github.com/gin-gonic/gin@v1.9.1

Is your project on an affected github.com/gin-gonic/gin?

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 github.com/gin-gonic/gin 1.6.3

  • MediumCVE-2023-29401GHSA-2c4m-59x9-fr2g12 May 2023

    Gin Web Framework does not properly sanitize filename parameter of Context.FileAttachment function

    Affected
    >=1.3.1-0.20190301021747-ccb9e902956d <1.9.1
    Fixed in
    1.9.1
  • LowCVE-2023-29401GO-2023-173711 May 2023

    Improper handling of filenames in Content-Disposition HTTP header in github.com/gin-gonic/gin

    Affected
    >=1.3.1-0.20190301021747-ccb9e902956d <1.9.1
    Fixed in
    1.9.1
  • MediumCVE-2023-26125GHSA-3vp4-m3rf-835h4 May 2023

    Improper input validation in github.com/gin-gonic/gin

    Affected
    <1.9.0
    Fixed in
    1.9.0
  • HighCVE-2020-28483GHSA-h395-qcrw-5vmq23 Jun 2021

    Inconsistent Interpretation of HTTP Requests in github.com/gin-gonic/gin

    Affected
    <1.7.7
    Fixed in
    1.7.7
  • LowCVE-2020-28483GO-2021-005214 Apr 2021

    Inconsistent interpretation of HTTP Requests in github.com/gin-gonic/gin

    Affected
    <1.7.7
    Fixed in
    1.7.7

Every github.com/gin-gonic/gin 1.6.x release

Affected: 1.6.0 to 1.6.3. Latest github.com/gin-gonic/gin: 1.12.0.

VersionKnown advisories
github.com/gin-gonic/gin 1.6.3CVE-2023-29401, CVE-2023-29401, CVE-2023-26125, CVE-2020-28483, CVE-2020-28483
github.com/gin-gonic/gin 1.6.2CVE-2023-29401, CVE-2023-29401, CVE-2023-26125, CVE-2020-28483, CVE-2020-28483
github.com/gin-gonic/gin 1.6.1CVE-2023-29401, CVE-2023-29401, CVE-2023-26125, CVE-2020-28483, CVE-2020-28483
github.com/gin-gonic/gin 1.6.0CVE-2023-29401, CVE-2023-29401, CVE-2023-26125, CVE-2020-28483, CVE-2020-28483

Which of your client projects are still on github.com/gin-gonic/gin 1.6?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact github.com/gin-gonic/gin version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other github.com/gin-gonic/gin 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.