{"id":"CVE-2026-30246","aliases":["GHSA-35hp-hqmv-8qg8","GO-2026-5069"],"url":"https://o3.security/vulnerability/CVE-2026-30246","summary":"github.com/gofiber/fiber/v3 cache middleware can mix responses across query parameters","details":"Fiber is a web framework for Go. In github.com/gofiber/fiber/v3 versions through 3.1.0, the default key generator in the cache middleware uses only the request path and does not include the query string. As a result, requests for the same path with different query parameters can share a cache key and receive the wrong cached response. This can cause response mix-up for query-dependent endpoints and may expose data intended for a different request. This issue is fixed after version 3.1.0.","published":"2026-05-05T12:40:19.813Z","modified":"2026-07-24T19:11:27.190834244Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"},"epss":{"score":0.00251,"percentile":0.16494,"asOf":"2026-08-09"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/gofiber/fiber/v3","fixedVersion":"3.2.0"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/gofiber/fiber/blob/main/middleware/cache/cache_test.go#L599-L621"},{"type":"WEB","url":"https://github.com/gofiber/fiber/blob/main/middleware/cache/config.go#L90-L92"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30246.json"},{"type":"ADVISORY","url":"https://github.com/gofiber/fiber/security/advisories/GHSA-35hp-hqmv-8qg8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30246"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-24T19:11:27.190834244Z"}}