{"id":"CVE-2026-30246","state":"PUBLISHED","title":"github.com/gofiber/fiber/v3 cache middleware can mix responses across query parameters","description":"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.","publishedAt":"2026-05-05T12:40:19.813Z","updatedAt":"2026-05-05T15:04:02.984Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["gofiber fiber"],"affected":[{"vendor":"gofiber","product":"fiber","versions":[{"version":">= v3.0.0-beta.2, < 3.1.0","status":"affected"}]}],"references":["https://github.com/gofiber/fiber/security/advisories/GHSA-35hp-hqmv-8qg8","https://github.com/gofiber/fiber/blob/main/middleware/cache/cache_test.go#L599-L621","https://github.com/gofiber/fiber/blob/main/middleware/cache/config.go#L90-L92"],"weaknesses":["CWE-436"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/30xxx/CVE-2026-30246.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-30246","state":"PUBLISHED","datePublished":"2026-05-05T12:40:19.813Z","dateUpdated":"2026-05-05T15:04:02.984Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-04T17:23:59.799Z"},"containers":{"cna":{"title":"github.com/gofiber/fiber/v3 cache middleware can mix responses across query parameters","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"gofiber","product":"fiber","versions":[{"version":">= v3.0.0-beta.2, < 3.1.0","status":"affected"}]}],"references":[{"url":"https://github.com/gofiber/fiber/security/advisories/GHSA-35hp-hqmv-8qg8","name":"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","name":"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","name":"https://github.com/gofiber/fiber/blob/main/middleware/cache/config.go#L90-L92","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-436","lang":"en","description":"CWE-436: Interpretation Conflict","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-05T12:40:19.813Z"},"source":{"advisory":"GHSA-35hp-hqmv-8qg8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/gofiber/fiber/security/advisories/GHSA-35hp-hqmv-8qg8","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-05T15:03:58.218760Z","id":"CVE-2026-30246","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-05T15:04:02.984Z"}}]}}}