ADVISORIES

Vulnerability

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.

3 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 1Go 1Ubuntu 1

Advisories

  • DEBIAN-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…

    CVE-2023-26125 Debian Updated 26 October 2026
  • GHSA-3vp4-m3rf-835h

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

    Moderate CVE-2023-26125 Go Updated 8 November 2023
  • UBUNTU-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…

    CVE-2023-26125 Ubuntu Updated 17 October 2026

References