# github.com/gofiber/fiber/v2 (Go) vulnerabilities

13 known vulnerabilities (4 critical, 3 high, 5 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://pkg.go.dev/github.com/gofiber/fiber/v2

## Advisories (13)

### [CVE-2026-119285](https://cve.now/CVE-2026-119285): Fiber: CORS wildcard origins matched without a dot boundary, allowing credentialed cross-origin reads

- Severity: Medium 5.9
- Published: Oct 29, 2026
- Affected: from 2.52.1, fixed in 2.52.3.

### [CVE-2026-45045](https://cve.now/CVE-2026-45045): Fiber: X-Real-IP Spoofing via Header.Add() in BalancerForward

- Severity: Medium 5.3
- Published: Jul 8, 2026
- Affected: fixed in 2.52.14.

### [CVE-2026-42554](https://cve.now/CVE-2026-42554): Fiber: XSS in AutoFormat Content Negotiation

- Severity: Medium 5.3
- Published: May 11, 2026
- Affected: fixed in 2.52.13.

### [CVE-2026-25882](https://cve.now/CVE-2026-25882): Fiber has a Denial of Service Vulnerability via Route Parameter Overflow

- Severity: Medium 5.5
- Published: Feb 24, 2026
- Affected: fixed in 2.52.12.

### [CVE-2025-66630](https://cve.now/CVE-2025-66630): Fiber insecurely fallsback in utils.UUIDv4() / utils.UUID() — predictable / zero‑UUID on crypto/rand failure

- Severity: Critical 9.2
- Published: Feb 9, 2026
- Affected: fixed in 2.52.11.

### [CVE-2025-54801](https://cve.now/CVE-2025-54801): Fiber Susceptible to Crash via \`BodyParser\` Due to Unvalidated Large Slice Index in Decoder

- Severity: High 8.7
- Published: Aug 5, 2025
- Affected: fixed in 2.52.9.

### [CVE-2025-48075](https://cve.now/CVE-2025-48075): Fiber panics when fiber.Ctx.BodyParser parses invalid range index

- Severity: High 7.7
- Published: May 22, 2025
- Affected: from 2.52.6, fixed in 2.52.7.

### [CVE-2024-38513](https://cve.now/CVE-2024-38513): Fiber Session Middleware Token Injection Vulnerability

- Severity: Critical 10.0
- Published: Jul 1, 2024
- Affected: fixed in 2.52.5.

### [CVE-2024-25124](https://cve.now/CVE-2024-25124): Fiber has Insecure CORS Configuration, Allowing Wildcard Origin with Credentials

- Severity: Critical 9.4
- Published: Feb 21, 2024
- Affected: fixed in 2.52.1.

### [CVE-2023-45141](https://cve.now/CVE-2023-45141): CSRF Token Validation Vulnerability in fiber

- Severity: High 8.6
- Published: Oct 16, 2023
- Affected: fixed in 2.50.0.

### [CVE-2023-45128](https://cve.now/CVE-2023-45128): CSRF Token Reuse Vulnerability in fiber

- Severity: Critical 10.0
- Published: Oct 16, 2023
- Affected: fixed in 2.50.0.

### [CVE-2023-41338](https://cve.now/CVE-2023-41338): Vulnerability in Ctx.IsFromLocal() in gofiber

- Severity: Medium 5.3
- Published: Sep 8, 2023
- Affected: fixed in 2.49.2-0.20230906112033-b8c9ede6efa2; fixed in 2.49.2.

### [CVE-2018-20744](https://cve.now/CVE-2018-20744): The Olivier Poitrey Go CORS handler through 1.3.0 actively converts a wildcard CORS policy into reflecting an arbitrary Origin header…

- Severity: Unrated
- Published: Jan 28, 2019
- Affected: from 2.0.0, fixed in 2.43.0.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/go/github.com/gofiber/fiber/v2
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
