CVEMETERBack to radar
OFFICIAL RECORD · Go packages

CVE-2023-26125

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 5.6 · medium

Go packages · CVE-2023-26125

Versions of the package github.com/gin-gonic/gin before 1.9.0 are vulnerable to Improper Input Validation by allowing an attacker to use a specially crafted request via the X-Forwarded-Prefix header, potentially leading to cache poisoning. **Note:** Although this issue does not pose a significant threat on its own it can serve as an input vector for other more impactful vulnerabilities. However, successful exploitation may depend on the server configuration and whether the header is used in the application logic.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.905% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 5.6 · published by snyk
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Assessment source · checked 2026-11-19T12:56:51.923Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssverified2026-11-19T12:56:51.923ZCVE Program
epssverified2026-11-19T18:27:09.434ZFIRST EPSS
patchesverified2026-11-19T12:52:38.102ZOSV
affectedverified2026-11-19T12:56:51.923ZCVE Program
lifecycleverified2026-11-19T12:56:51.923ZCVE Program

Affected versions and configuration

n/a github.com/gin-gonic/gin; default status: unknown: 0 to < 1.9.0 [affected; scheme: semver]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "n/a",
      "product": "github.com/gin-gonic/gin",
      "versions": [
        {
          "status": "affected",
          "version": "0",
          "lessThan": "1.9.0",
          "versionType": "semver"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/gin-gonic/gin/pull/3500",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/gin-gonic/gin/pull/3503",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/gin-gonic/gin/releases/tag/v1.9.0",
          "tags": [
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-02T11:39:06.575Z"
      }
    },
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "cvssV3_1": {
            "scope": "UNCHANGED",
            "version": "3.1",
            "baseScore": 7.3,
            "attackVector": "NETWORK",
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
            "integrityImpact": "LOW",
            "userInteraction": "NONE",
            "attackComplexity": "LOW",
            "availabilityImpact": "LOW",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "LOW"
          }
        },
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2023-26125",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "poc"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2025-01-29T16:53:51.343143Z"
            }
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "type": "CWE",
              "cweId": "CWE-77",
              "description": "CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2025-01-29T16:57:46.620Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-3vp4-m3rf-835h",
  "aliases": [
    "CVE-2023-26125"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.9.0"
            }
          ]
        }
      ],
      "package": {
        "name": "github.com/gin-gonic/gin",
        "purl": "pkg:golang/github.com/gin-gonic/gin",
        "ecosystem": "Go"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/05/GHSA-3vp4-m3rf-835h/GHSA-3vp4-m3rf-835h.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-26125",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/gin-gonic/gin/pull/3500",
      "type": "WEB"
    },
    {
      "url": "https://github.com/gin-gonic/gin/pull/3503",
      "type": "WEB"
    },
    {
      "url": "https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b",
      "type": "WEB"
    },
    {
      "url": "https://github.com/gin-gonic/gin",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/gin-gonic/gin/releases/tag/v1.9.0",
      "type": "WEB"
    },
    {
      "url": "https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-20",
      "CWE-77"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "nvd_published_at": "2023-05-04T05:15:09Z",
    "github_reviewed_at": "2023-05-05T02:20:00Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryGo / packagegithub.com/gin-gonic/ginNot a distribution channel1.9.0Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history