LowGO-2025-3706CVE-2025-48075GHSA-hg3g-gphw-5hhm

Fiber panics when fiber.Ctx.BodyParser parses invalid range index in github.com/gofiber/fiber

Published 27 May 2025 · Updated 4 Feb 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.6 <2.52.7
Fixed in
2.52.7
Update to the fixed version for your release line, for example:go get github.com/gofiber/fiber/v2@v2.52.7

Details

Fiber panics when fiber.Ctx.BodyParser parses invalid range index in github.com/gofiber/fiber

Is GO-2025-3706 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-2024-38513Session Middleware Token Injection Vulnerability in github.com/gofiber/fiber · 2 Jul 2024
  • CriticalCVE-2024-38513Session Middleware Token Injection Vulnerability · 1 Jul 2024
  • 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
All 8 advisories for github.com/gofiber/fiber

References

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