CVE-2026-30246
MEDIUMgithub.com/gofiber/fiber/v3 cache middleware can mix responses across query parameters
Title source: cnaDescription
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.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/gofiber/fiber/security/advisories/GHSA-35hp-hqmv-8qg8
X_Refsource_Misc x_refsource_misc
https://github.com/gofiber/fiber/blob/main/middleware/cache/cache_test.go#L599-L621
X_Refsource_Misc x_refsource_misc
https://github.com/gofiber/fiber/blob/main/middleware/cache/config.go#L90-L92
Scores
CVSS v3
6.5
EPSS
0.0025
EPSS Percentile
16.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-436
Status
published
Products (3)
gofiber/fiber
< 3.1.0
gofiber/fiber
0 - 3.2.0Go
gofiber/fiber
>= v3.0.0-beta.2, < 3.1.0
Published
May 05, 2026
Tracked Since
May 05, 2026