CVE-2026-30246 Details
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.
A cache key generation vulnerability has been identified in the Fiber web framework for Go, specifically in versions through 3.1.0. The issue arises in the cache middleware, where the default key generator relies solely on the request path, excluding the query string. This oversight allows requests with identical paths but different query parameters to share a cache key, leading to incorrect cached responses. Such a flaw can cause response mix-ups for endpoints sensitive to query parameters, potentially exposing data meant for different requests.
Users can update to Fiber version 3.1.1 or later, where this vulnerability is fixed. Additionally, for those using the cache middleware, it's recommended to set a custom key generator that includes the query string or to use a version of Fiber that has this issue addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-436 | Interpretation Conflict | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gofiber fiber | <= 3.1.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 12, 2026 | Initial Analysis | [email protected] |
| May 5, 2026 | CVE Modified | CISA-ADP |
| May 5, 2026 | New CVE Received | [email protected] |