github.com/gofiber/fiber/v2 vulnerabilities

Registry
Go
Latest
2.52.16

24 known advisories

The latest version, 2.52.16, is not affected by any of them. Projects on older versions may be.

Update to the latest version:go get github.com/gofiber/fiber/v2@v2.52.16

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

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

Security advisories for github.com/gofiber/fiber/v2

  • LowCVE-2026-119285GO-2026-68965 Nov 2026

    Fiber: CORS wildcard origins matched without a dot boundary, allowing credentialed cross-origin reads in github.com/gofiber/fiber

    Affected
    >=2.52.1 <2.52.3
    Fixed in
    2.52.3
  • MediumCVE-2026-119285GHSA-g5jq-qmqr-qrwf30 Oct 2026

    Fiber: CORS wildcard origins matched without a dot boundary, allowing credentialed cross-origin reads

    Affected
    >=2.52.1 <2.52.3
    Fixed in
    2.52.3
  • LowCVE-2026-42554GO-2026-558524 Jul 2026

    Fiber vulnerable to XSS in AutoFormat Content Negotiation in github.com/gofiber/fiber

    Affected
    <2.52.13
    Fixed in
    2.52.13
  • MediumCVE-2026-45045GHSA-gcfq-8gqf-48762 Jul 2026

    GoFiber Vulnerable to X-Real-IP Spoofing via Header.Add() in BalancerForward

    Affected
    <2.52.14
    Fixed in
    2.52.14
  • MediumCVE-2026-42554GHSA-qjv7-627w-8qjv5 May 2026

    Fiber vulnerable to XSS in AutoFormat Content Negotiation

    Affected
    <2.52.13
    Fixed in
    2.52.13
  • LowCVE-2026-25882GO-2026-454326 Feb 2026

    Fiber has a Denial of Service Vulnerability via Route Parameter Overflow in github.com/gofiber/fiber

    Affected
    <2.52.12
    Fixed in
    2.52.12
  • MediumCVE-2026-25882GHSA-mrq8-rjmw-wpq324 Feb 2026

    Fiber has a Denial of Service Vulnerability via Route Parameter Overflow

    Affected
    <2.52.12
    Fixed in
    2.52.12
  • LowCVE-2025-66630GO-2026-447119 Feb 2026

    Fiber has an insecure fallback in utils.UUIDv4() / utils.UUID() on crypto/rand failure in github.com/gofiber/fiber

    Affected
    <2.52.11
    Fixed in
    2.52.11
  • CriticalCVE-2025-66630GHSA-68rr-p4fp-j59v9 Feb 2026

    Fiber has an insecure fallback in utils.UUIDv4() / utils.UUID() — predictable / zero‑UUID on crypto/rand failure

    Affected
    <2.52.11
    Fixed in
    2.52.11
  • LowCVE-2025-54801GO-2025-384511 Aug 2025

    Fiber Crashes in BodyParser Due to Unvalidated Large Slice Index in Decoder in github.com/gofiber/fiber

    Affected
    <2.52.9
    Fixed in
    2.52.9
  • HighCVE-2025-54801GHSA-qx2q-88mx-vhg75 Aug 2025

    Fiber Crashes in BodyParser Due to Unvalidated Large Slice Index in Decoder

    Affected
    <2.52.9
    Fixed in
    2.52.9
  • LowCVE-2025-48075GO-2025-370627 May 2025

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

    Affected
    >=2.52.6 <2.52.7
    Fixed in
    2.52.7
  • HighCVE-2025-48075GHSA-hg3g-gphw-5hhm22 May 2025

    Fiber panics when fiber.Ctx.BodyParser parses invalid range index

    Affected
    >=2.52.6 <2.52.7
    Fixed in
    2.52.7
  • LowCVE-2024-38513GO-2024-29592 Jul 2024

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

    Affected
    <2.52.5
    Fixed in
    2.52.5
  • CriticalCVE-2024-38513GHSA-98j2-3j3p-fw2v1 Jul 2024

    Session Middleware Token Injection Vulnerability

    Affected
    <2.52.5
    Fixed in
    2.52.5
  • LowCVE-2024-25124GO-2024-257420 May 2024

    Insecure CORS Configuration allowing wildcard origin with credentials in github.com/gofiber/fiber/v2

    Affected
    <2.52.1
    Fixed in
    2.52.1
  • CriticalCVE-2024-25124GHSA-fmg4-x8pw-hjhg22 Feb 2024

    Fiber has Insecure CORS Configuration, Allowing Wildcard Origin with Credentials

    Affected
    <2.52.1
    Fixed in
    2.52.1
  • LowCVE-2023-45141GO-2023-211624 Oct 2023

    CSRF token validation vulnerability in github.com/gofiber/fiber/v2

    Affected
    <2.50.0
    Fixed in
    2.50.0
  • LowCVE-2023-45128GO-2023-211524 Oct 2023

    CSRF token reuse vulnerability in github.com/gofiber/fiber/v2

    Affected
    <2.50.0
    Fixed in
    2.50.0
  • HighCVE-2023-45141GHSA-mv73-f69x-444p17 Oct 2023

    Go Fiber CSRF Token Validation Vulnerability

    Affected
    <2.50.0
    Fixed in
    2.50.0
  • CriticalCVE-2023-45128GHSA-94w9-97p3-p36817 Oct 2023

    CSRF Token Reuse Vulnerability

    Affected
    <2.50.0
    Fixed in
    2.50.0
  • LowCVE-2023-41338GO-2023-205212 Sept 2023

    IsFromLocal local address check can be circumvented in github.com/gofiber/fiber/v2

    Affected
    <2.49.2-0.20230906112033-b8c9ede6efa2
    Fixed in
    2.49.2-0.20230906112033-b8c9ede6efa2
  • MediumCVE-2023-41338GHSA-3q5p-3558-364f8 Sept 2023

    Fiber unauthorized access vulnerability in `ctx.IsFromLocal()`

    Affected
    <2.49.2
    Fixed in
    2.49.2
  • MediumCVE-2018-20744GHSA-927h-x4qj-r24214 May 2022

    github.com/gofiber/fiber/v2 vulnerable to Origin Validation Error

    Affected
    >=2.0.0 <2.43.0
    Fixed in
    2.43.0

Is your github.com/gofiber/fiber/v2 version vulnerable?

Which of your client projects still run an old github.com/gofiber/fiber/v2?

NPMscan reads the go.mod in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Go packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Go registry.