Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-30246 EUVD-2026-27313GHSA-35hp-hqmv-8qg8GO-2026-5069

github.com/gofiber/fiber/v3 cache middleware can mix responses across query parameters

Published May 5, 2026 · Updated May 5, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
gofiber fiber >= v3.0.0-beta.2, < 3.1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260727T201416-160000.1.1 SUSE-SU-2026:23227-1, SUSE-SU-2026:23216-1
SLES 16.0 govulncheck-vulndb 0.0.20260727T201416-160000.1.1 SUSE-SU-2026:23227-1, SUSE-SU-2026:23216-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260727T201416-160000.1.1 openSUSE-SU-2026:21551-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/gofiber/fiber/v3 < 3.2.0 3.2.0 GHSA-35hp-hqmv-8qg8

Advisories 3

References