LowGO-2024-2959CVE-2024-38513GHSA-98j2-3j3p-fw2v

Session Middleware Token Injection Vulnerability in github.com/gofiber/fiber

Published 2 Jul 2024 · Updated 3 Mar 2026

Is your project on an affected github.com/gofiber/fiber?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
All versions
Fixed in
No fix released
Affected
<2.52.5
Fixed in
2.52.5
Update to the fixed version for your release line, for example:go get github.com/gofiber/fiber/v2@v2.52.5

Details

Session Middleware Token Injection Vulnerability in github.com/gofiber/fiber

Is GO-2024-2959 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/gofiber/fiber, and gives you the command that fixes it.

More advisories for github.com/gofiber/fiber

  • MediumCVE-2026-53624GoFiber never set HSTS header in helmet middleware due to incorrect protocol check · 6 Jul 2026
  • LowCVE-2025-66630Fiber has an insecure fallback in utils.UUIDv4() / utils.UUID() on crypto/rand failure in github.com/gofiber/fiber · 19 Feb 2026
  • LowCVE-2025-48075Fiber panics when fiber.Ctx.BodyParser parses invalid range index in github.com/gofiber/fiber · 27 May 2025
  • MediumCVE-2023-41338Fiber unauthorized access vulnerability in `ctx.IsFromLocal()` · 8 Sept 2023
  • LowCVE-2020-15111CRLF vulnerability in Fiber in github.com/gofiber/fiber · 28 Jul 2021
  • MediumCVE-2020-15111CRLF vulnerability in Fiber · 29 Jun 2021
github.com/gofiber/fiber security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.