CISA list

● Go module family

github.com/gofiber/fiber/v2

Github.com/gofiber/fiber/v2 has 19 security advisories.

As of , github.com/gofiber/fiber/v2 has 19 security advisories.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
PackageIf you runUpgrade toAdvisories
github.com/gofiber/fiberAll versionsNone in this row; 3 of its 6 advisories name a fixed version6 advisories
github.com/gofiber/fiber/v2Before 2.52.142.52.1413 advisories
github.com/gofiber/fiber/v2/middleware/sessionBefore 2.52.52.52.51 advisory
github.com/gofiber/fiber/v3Before 3.4.03.4.08 advisories

1 advisory is listed by two databases that disagree: one gives no end to the affected versions and the other names a fix, so the rows follow the one that names a fix. 1 of the 4 packages has no row that names a version to upgrade to, because an advisory lists its newer releases as affected and names no fix for them. 3 of its 6 advisories name a fixed version that this page reads; the list of advisories below gives them.

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-119285GHSA-g5jq-qmqr-qrwf, GO-2026-6896Fiber: CORS wildcard origins matched without a dot boundary, allowing credentialed cross-origin readsModerate severity. github.com/gofiber/fiber/v2github.com/gofiber/fiber/v2: From 2.52.1 before 2.52.32.52.3
CVE-2026-53624GHSA-gv83-gqw6-9j2c, GO-2026-5912GoFiber never set HSTS header in helmet middleware due to incorrect protocol checkModerate severity. github.com/gofiber/fiber, github.com/gofiber/fiber/v3github.com/gofiber/fiber: Before 3.4.0 / github.com/gofiber/fiber/v3: Before 3.4.03.4.0
CVE-2026-45045GHSA-gcfq-8gqf-4876, GO-2026-5887GoFiber Vulnerable to X-Real-IP Spoofing via Header.Add() in BalancerForwardModerate severity. github.com/gofiber/fiber/v2, github.com/gofiber/fiber/v3github.com/gofiber/fiber/v2: Before 2.52.14 / github.com/gofiber/fiber/v3: Before 3.3.02.52.14, 3.3.0
CVE-2026-44332GHSA-g5vh-55hw-rxm8, GO-2026-5886GoFiber Vulnerable to Username Enumeration via Timing Oracle in BasicAuth Default AuthorizerModerate severity. github.com/gofiber/fiber/v3github.com/gofiber/fiber/v3: Before 3.3.03.3.0
CVE-2026-42554GHSA-qjv7-627w-8qjv, GO-2026-5585Fiber vulnerable to XSS in AutoFormat Content NegotiationModerate severity. github.com/gofiber/fiber/v2, github.com/gofiber/fiber/v3github.com/gofiber/fiber/v2: Before 2.52.13 / github.com/gofiber/fiber/v3: Before 3.2.02.52.13, 3.2.0
CVE-2026-30246GHSA-35hp-hqmv-8qg8, GO-2026-5069Fiber's cache middleware default key generator ignores query string, causing response mix-up across distinct query parametersModerate severity. github.com/gofiber/fiber/v3github.com/gofiber/fiber/v3: Before 3.2.03.2.0
CVE-2026-25882GHSA-mrq8-rjmw-wpq3, GO-2026-4543Fiber has a Denial of Service Vulnerability via Route Parameter OverflowModerate severity. github.com/gofiber/fiber/v2, github.com/gofiber/fiber/v3github.com/gofiber/fiber/v2: Before 2.52.12 / github.com/gofiber/fiber/v3: Before 3.1.02.52.12, 3.1.0
CVE-2026-25899GHSA-2mr3-m5q5-wgp6, GO-2026-4534Fiber is Vulnerable to Denial of Service via Flash Cookie Unbounded AllocationHigh severity. github.com/gofiber/fiber/v3github.com/gofiber/fiber/v3: Before 3.1.03.1.0
CVE-2026-25891GHSA-m3c2-496v-cw3v, GO-2026-4540Fiber has an Arbitrary File Read in Static Middleware on WindowsHigh severity. github.com/gofiber/fiber/v3github.com/gofiber/fiber/v3: Before 3.1.03.1.0
CVE-2025-66630GHSA-68rr-p4fp-j59v, GO-2026-4471Fiber has an insecure fallback in utils.UUIDv4() / utils.UUID(), predictable / zero‑UUID on crypto/rand failureCritical severity. github.com/gofiber/fiber, github.com/gofiber/fiber/v2github.com/gofiber/fiber: All versions / github.com/gofiber/fiber/v2: Before 2.52.112.52.11
CVE-2025-54801GHSA-qx2q-88mx-vhg7, GO-2025-3845Fiber Crashes in BodyParser Due to Unvalidated Large Slice Index in DecoderHigh severity. github.com/gofiber/fiber/v2github.com/gofiber/fiber/v2: Before 2.52.92.52.9
CVE-2025-48075GHSA-hg3g-gphw-5hhm, GO-2025-3706Fiber panics when fiber.Ctx.BodyParser parses invalid range indexHigh severity. github.com/gofiber/fiber, github.com/gofiber/fiber/v2github.com/gofiber/fiber: All versions / github.com/gofiber/fiber/v2: From 2.52.6 before 2.52.72.52.7
CVE-2024-38513GHSA-98j2-3j3p-fw2v, GO-2024-2959Session Middleware Token Injection VulnerabilityCritical severity. github.com/gofiber/fiber, github.com/gofiber/fiber/v2, github.com/gofiber/fiber/v2/middleware/sessiongithub.com/gofiber/fiber: Before 2.52.5 / github.com/gofiber/fiber/v2: Before 2.52.5 / github.com/gofiber/fiber/v2/middleware/session: Before 2.52.52.52.5
CVE-2024-25124GHSA-fmg4-x8pw-hjhg, GO-2024-2574Fiber has Insecure CORS Configuration, Allowing Wildcard Origin with CredentialsCritical severity. github.com/gofiber/fiber/v2github.com/gofiber/fiber/v2: Before 2.52.12.52.1
CVE-2023-45141GHSA-mv73-f69x-444p, GO-2023-2116Go Fiber CSRF Token Validation VulnerabilityHigh severity. github.com/gofiber/fiber/v2github.com/gofiber/fiber/v2: Before 2.50.02.50.0
CVE-2023-45128GHSA-94w9-97p3-p368, GO-2023-2115CSRF Token Reuse VulnerabilityCritical severity. github.com/gofiber/fiber/v2github.com/gofiber/fiber/v2: Before 2.50.02.50.0
CVE-2023-41338GHSA-3q5p-3558-364f, GO-2023-2052Fiber unauthorized access vulnerability in `ctx.IsFromLocal()`Moderate severity. github.com/gofiber/fiber, github.com/gofiber/fiber/v2github.com/gofiber/fiber: Up to and including 1.14.6 / github.com/gofiber/fiber/v2: Before 2.49.22.49.2
CVE-2018-20744GHSA-927h-x4qj-r242, GO-2023-1792github.com/gofiber/fiber/v2 vulnerable to Origin Validation ErrorModerate severity. github.com/gofiber/fiber/v2github.com/gofiber/fiber/v2: From 2.0.0 before 2.43.02.43.0
CVE-2020-15111GHSA-9cx9-x2gp-9qvh, GO-2021-0108CRLF vulnerability in FiberModerate severity. github.com/gofiber/fibergithub.com/gofiber/fiber: Before 1.12.61.12.6

Packages on this page

One page covers these 4 packages together. The table has rows for each package apart, because a release of one is not a release of another.

  • github.com/gofiber/fiber
  • github.com/gofiber/fiber/v2
  • github.com/gofiber/fiber/v2/middleware/session
  • github.com/gofiber/fiber/v3

Other Go modules

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
  • Package advisories from the Go vulnerability database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0