# CVE-2023-26125: golang-github-gin-gonic-gin: Versions of the package github.com/gin-gonic/gin before 1.9.0 are vulnerable to Improper Input Validation by allowing...

CVE-2023-26125 is fixed in golang-github-gin-gonic-gin on 1 platform, first by DEBIAN-CVE-2023-26125, released May 4, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-26125
- Priority: High
- CVSS: 7.3 (high)
- EPSS: 0.0091
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 4, 2023

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | golang-github-gin-gonic-gin Debian 13.5 (trixie) | 1.8.1-3 | [DEBIAN-CVE-2023-26125](https://patchblox.com/security/data/fix/linux/debian-cve-2023-26125.md) | May 4, 2023 |
| Linux | golang-github-gin-gonic-gin Debian 14 | 1.8.1-3 | [DEBIAN-CVE-2023-26125](https://patchblox.com/security/data/fix/linux/debian-cve-2023-26125.md) | May 4, 2023 |

---

Data as of 2026-11-09T13:31:49Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
