{"api_version":"1","generated_at":"2026-05-12T13:31:58+00:00","cve":"CVE-2026-30246","urls":{"html":"https://cve.report/CVE-2026-30246","api":"https://cve.report/api/cve/CVE-2026-30246.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-30246","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-30246"},"summary":{"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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-05-05 13:16:28","updated_at":"2026-05-07 15:52:00"},"problem_types":["CWE-436","CWE-436 CWE-436: Interpretation Conflict"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","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","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","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","data":{"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"}}],"references":[{"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","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/gofiber/fiber/security/advisories/GHSA-35hp-hqmv-8qg8","name":"https://github.com/gofiber/fiber/security/advisories/GHSA-35hp-hqmv-8qg8","refsource":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"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","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-30246","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30246","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"gofiber","product":"fiber","version":"affected >= v3.0.0-beta.2, < 3.1.0","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"30246","cve":"CVE-2026-30246","epss":"0.000360000","percentile":"0.106610000","score_date":"2026-05-11","updated_at":"2026-05-12 00:01:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-30246","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-05-05T15:03:58.218760Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-05-05T15:04:02.984Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"references":[{"tags":["exploit"],"url":"https://github.com/gofiber/fiber/security/advisories/GHSA-35hp-hqmv-8qg8"}],"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"fiber","vendor":"gofiber","versions":[{"status":"affected","version":">= v3.0.0-beta.2, < 3.1.0"}]}],"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."}],"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","description":"CWE-436: Interpretation Conflict","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-05-05T12:40:19.813Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/gofiber/fiber/security/advisories/GHSA-35hp-hqmv-8qg8","tags":["x_refsource_CONFIRM"],"url":"https://github.com/gofiber/fiber/security/advisories/GHSA-35hp-hqmv-8qg8"},{"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/cache_test.go#L599-L621"},{"name":"https://github.com/gofiber/fiber/blob/main/middleware/cache/config.go#L90-L92","tags":["x_refsource_MISC"],"url":"https://github.com/gofiber/fiber/blob/main/middleware/cache/config.go#L90-L92"}],"source":{"advisory":"GHSA-35hp-hqmv-8qg8","discovery":"UNKNOWN"},"title":"github.com/gofiber/fiber/v3 cache middleware can mix responses across query parameters"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-30246","datePublished":"2026-05-05T12:40:19.813Z","dateReserved":"2026-03-04T17:23:59.799Z","dateUpdated":"2026-05-05T15:04:02.984Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-05 13:16:28","lastModifiedDate":"2026-05-07 15:52:00","problem_types":["CWE-436","CWE-436 CWE-436: Interpretation Conflict"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":2.5}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"30246","Ordinal":"1","Title":"github.com/gofiber/fiber/v3 cache middleware can mix responses a","CVE":"CVE-2026-30246","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"30246","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"github.com/gofiber/fiber/v3 cache middleware can mix responses a"}]}}}