{"id":"CVE-2023-26125","published":"2023-05-04T05:00:01Z","modified":"2025-01-29T16:57:46Z","title":"Versions of the package github.com/gin-gonic/gin before 1.9.0 are vulnerable to Improper Input Validation by allowing…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00981,"percentile":0.61024,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285","tags":[]},{"url":"https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b","tags":[]},{"url":"https://github.com/gin-gonic/gin/pull/3500","tags":[]},{"url":"https://github.com/gin-gonic/gin/pull/3503","tags":[]},{"url":"https://github.com/gin-gonic/gin/releases/tag/v1.9.0","tags":[]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":12.2},{"name":"CVSS severity","points":3.92}]},"affectedVersions":[{"vendor":"n/a","product":"github.com/gin-gonic/gin","versions":["< 1.9.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-01-29T16:53:51.343143Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/gin-gonic/gin","vulnerableRanges":["<1.9.0"],"patched":["1.9.0"],"from":["GHSA-3vp4-m3rf-835h"],"provenance":"source"}],"summary":{"text":"The flaw is improper input validation in the gin-gonic/gin Go web framework (github.com/gin-gonic/gin) before version 1.9.0, where the X-Forwarded-Prefix request header is not properly validated. An attacker can send a specially crafted request with that header, potentially poisoning caches, though exploitation may depend on server configuration and on whether the application uses the header in its logic, and the issue can also serve as an input vector for other vulnerabilities.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:35Z"},"euvd":{"id":"EUVD-2023-1460","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-25211","published":"2024-06-28","fixed":"1.6.0","kev":false},{"cve":"CVE-2020-36567","published":"2022-12-27","fixed":"1.6.0","kev":false},{"cve":"CVE-2020-28483","published":"2021-01-20","fixed":"1.7.7","kev":false},{"cve":"CVE-2023-26125","published":"2023-05-04","fixed":"1.9.0","kev":false},{"cve":"CVE-2023-29401","published":"2023-06-08","fixed":"1.9.1","kev":false,"link":{"from":"CVE-2023-26125","to":"CVE-2023-29401","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/gin-gonic/gin","fromFixed":"1.9.0","toFixed":"1.9.1","daysApart":35}]}}],"package":"Go:github.com/gin-gonic/gin"}}