Medium severity · published May 5, 2026
CVE-2026-30246
github.com/gofiber/fiber/v3 cache middleware can mix responses across query parameters
6.5
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 16% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FI
fiber · gofiber
>= v3.0.0-beta.2, < 3.1.0 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-30246
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-30246
Product
https://github.com/gofiber/fiber/blob/main/middleware/cache/cache_test.go#L599-L621
Product
https://github.com/gofiber/fiber/blob/main/middleware/cache/config.go#L90-L92
Exploit
https://github.com/gofiber/fiber/security/advisories/GHSA-35hp-hqmv-8qg8
More from fiber
9.8
CVE-2024-38513
Fiber is an Express-inspired web framework written in Go A vulnerability present in versions prior to 2.52.5 is a session middleware issue in GoFiber versions 2 and above
9.8
CVE-2024-25124
Fiber is a web framework written in go
9.4
CVE-2025-66630
Fiber insecurely fallsback in utils.UUIDv4() / utils.UUID() — predictable / zero‑UUID on crypto/rand failure
8.8
CVE-2023-45141
Fiber is an express inspired web framework written in Go
8.8
CVE-2023-45128
Fiber is an express inspired web framework written in Go
