Use of Cache Containing Sensitive Information Affecting github.com/gofiber/fiber/middleware/cache package, versions >=0.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOFIBERFIBERMIDDLEWARECACHE-16321413
  • published29 Apr 2026
  • disclosed28 Apr 2026
  • creditxeloxa

Introduced: 28 Apr 2026

CVE-2026-30246  (opens in a new tab)
CWE-524  (opens in a new tab)

How to fix?

There is no fixed version for github.com/gofiber/fiber/middleware/cache.

Overview

Affected versions of this package are vulnerable to Use of Cache Containing Sensitive Information due to the default KeyGenerator process in the cache middleware not including query parameters when generating cache keys. An attacker can access or cause exposure of user-specific or sensitive response data by sending requests with different query parameters that are incorrectly mapped to the same cache entry.

CVSS Base Scores

version 4.0
version 3.1