CVE-2023-26125
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 snykCVSS: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
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:56:51.923Z | CVE Program |
| epss | verified | 2026-11-19T18:27:09.434Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:38.102Z | OSV |
| affected | verified | 2026-11-19T12:56:51.923Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:56:51.923Z | CVE 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 JSONOSV · 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 JSONCorrection 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 type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Go / package | github.com/gin-gonic/gin | Not a distribution channel | 1.9.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:38.102ZArchived source JSON
Source publication: 2023-05-04T06:30:12.000Z
Source modification: 2023-11-08T04:11:58.943ZDocument fingerprint
6a97659d850c8b1725117e5df66da0d1d5cd862adca961f8e0d12fa93a0cf194 - CVE ProgramConsulted: 2026-11-19T12:56:51.923ZArchived source JSON
Source publication: 2023-05-04T05:00:01.441Z
Source modification: 2025-01-29T16:57:46.620ZDocument fingerprint
0e386a9c62f56568330b1acf2f2f9133c605da6b6af026070c9d015496b70117 - FIRST EPSSConsulted: 2026-11-19T18:27:09.434ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
0c875ba91052125bcb356c03548d1c287ff4ab51d3765c264c5197cc9bbac9da - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56
Official status history
- UNKNOWN → PUBLISHED · · evidence