{"cve":"CVE-2023-26125","nvd":{"published":"2023-05-04T05:15:09.163","modified":"2026-06-17T05:42:43.873","status":"Modified","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.\r\r**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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3},"cwes":["CWE-20","CWE-77"],"references":["https://github.com/gin-gonic/gin/pull/3500","https://github.com/gin-gonic/gin/pull/3503","https://github.com/gin-gonic/gin/releases/tag/v1.9.0","https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b","https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285"],"products":["gin-gonic:gin"],"source":"nvd","synced_at":"2026-10-19T21:38:18.424950729+00:00"},"epss":{"cve":"CVE-2023-26125","score":0.00905,"percentile":0.59843,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-3vp4-m3rf-835h","url":"https://osv.dev/vulnerability/GHSA-3vp4-m3rf-835h","summary":"Improper input validation in github.com/gin-gonic/gin","modified":"2023-11-08T04:11:58.943766Z","packages":[{"ecosystem":"Go","name":"github.com/gin-gonic/gin","purl":"pkg:golang/github.com/gin-gonic/gin","ranges":["<1.9.0"],"fixed":["1.9.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}