Skip to main content
HIGH

CVE-2023-26125

CVSS v3

7.3

HIGH

EPSS Score

0.9 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for gin-gonic/gin.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • github.com/gin-gonic/ginGoall versions · fixed in 1.9.0

Vendor advisories

  • CVE-2023-26125 Red Hat Product Security9 products fixed · 15 known affected

    golang-github-gin-gonic-gin: Improper Input Validation

    mta/mta-admin-addon-rhel8 as a component of Migration Toolkit for Applications 6 · mta/mta-windup-addon-rhel8 as a component of Migration Toolkit for Applications 6 · migration-toolkit-virtualization/mtv-rhel8-operator as a component of Migration Toolkit for Virtualization

  • RHSA-2024:10813 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.13.54 bug fix and security update

  • RHSA-2024:8688 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.13.53 bug fix and security update

  • RHBA-2023:6078 Red Hat Product Security2 products fixed

    Red Hat Bug Fix Advisory: MTV 2.5.2 Images

  • RHSA-2023:4627 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Migration Toolkit for Applications security and bug fix update

  • RHSA-2023:4293 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Migration Toolkit for Containers (MTC) 1.7.11 security and bug fix update

Full record on NVD

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.

Technical details

Published
2023-05-04

Frequently asked questions

What is 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.

Is CVE-2023-26125 actively exploited?

Active exploitation of CVE-2023-26125 has not been confirmed. Its EPSS score was 0.9% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2023-26125?

CVE-2023-26125 has a CVSS v3 base score of 7.3 (HIGH severity).

Running gin-gonic/gin? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month