{"id":"CVE-2026-30246","published":"2026-05-05T12:40:19Z","modified":"2026-05-05T15:04:02Z","title":"github.com/gofiber/fiber/v3 cache middleware can mix responses across query parameters","vendor":"gofiber","product":"fiber","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00251,"percentile":0.16822,"provenance":"source"},"cwes":[{"id":"CWE-436","name":"Interpretation Conflict"}],"references":[{"url":"https://github.com/gofiber/fiber/security/advisories/GHSA-35hp-hqmv-8qg8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gofiber/fiber/blob/main/middleware/cache/cache_test.go#L599-L621","tags":["x_refsource_MISC"]},{"url":"https://github.com/gofiber/fiber/blob/main/middleware/cache/config.go#L90-L92","tags":["x_refsource_MISC"]}],"priority":{"score":7.9,"factors":[{"name":"EPSS percentile","points":3.36},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"gofiber","affectedVersions":[{"vendor":"gofiber","product":"fiber","versions":[">= v3.0.0-beta.2, < 3.1.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-05T15:03:58.218760Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/gofiber/fiber/v3","vulnerableRanges":["<3.2.0"],"patched":["3.2.0"],"from":["GHSA-35hp-hqmv-8qg8","GO-2026-5069"],"provenance":"source"}],"summary":{"text":"The default key generator in Fiber's cache middleware (github.com/gofiber/fiber/v3, the Go web framework) builds cache keys from the request path alone and ignores the query string. An unauthenticated remote attacker can exploit this with ordinary network access and no user interaction by sending requests to a query-dependent endpoint, causing them to receive cached responses intended for different query parameters and potentially exposing another request's data.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:12Z"},"euvd":{"id":"EUVD-2026-27313","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-25882","published":"2026-02-24","fixed":"3.1.0","kev":false,"link":{"from":"CVE-2026-25882","to":"CVE-2026-30246","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/gofiber/fiber/v3","fromFixed":"3.1.0","toFixed":"3.2.0","daysApart":70}]}},{"cve":"CVE-2026-25891","published":"2026-02-24","fixed":"3.1.0","kev":false},{"cve":"CVE-2026-25899","published":"2026-02-24","fixed":"3.1.0","kev":false},{"cve":"CVE-2026-30246","published":"2026-05-05","fixed":"3.2.0","kev":false},{"cve":"CVE-2026-42554","published":"2026-05-11","fixed":"3.2.0","kev":false},{"cve":"CVE-2026-44332","published":"2026-07-08","fixed":"3.3.0","kev":false},{"cve":"CVE-2026-45045","published":"2026-07-08","fixed":"3.3.0","kev":false}],"package":"Go:github.com/gofiber/fiber/v3"}}