CVE-2026-30246
Fiber is a web framework for Go. In github.com/gofiber/fiber/v3 …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/gofiber/fiber/security/advisories/GHSA-35hp-hqmv-8qg8
- github.com/gofiber/fiber/commit/050ff1ff18511c1475b8ec627460216aaecddd4e
- github.com/gofiber/fiber/commit/9a0d12c07ed895b84c72987f9288b04137afe5de
- github.com/advisories/GHSA-35hp-hqmv-8qg8
- github.com/gofiber/fiber/blob/main/middleware/cache/cache_test.go#L599-L621
- github.com/gofiber/fiber/blob/main/middleware/cache/config.go#L90-L92
- nvd.nist.gov/vuln/detail/CVE-2026-30246
- nvd.nist.gov/vuln/detail/CVE-2026-30246
- cve.org/CVERecord?id=CVE-2026-30246
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.