CVE-2026-45045

Medium

Description

Fiber is an Express inspired web framework written in Go. Prior to 3.3.0 and 2.52.14, the BalancerForward proxy helper in middleware/proxy/proxy.go uses Header.Add() instead of Header.Set() when injecting X-Real-IP, allowing an attacker-supplied first X-Real-IP value to be forwarded to upstream servers for logging, rate limiting, and access control. This issue is fixed in version 3.3.0 and 2.52.14.

SeverityMedium
CVSS5.3
Exploit probability—
ProductFiber
PublishedJul 8, 2026
First seenJul 8, 2026
Weakness typeCWE-290CWE-290

How to fix

Update
  • gofiber fiber2.52.14, 3.3.0 or later
  • github.com/gofiber/fiber/v33.3.0 or later
  • github.com/gofiber/fiber/v22.52.14 or later

Affected products

ProductAffected versionsFixed in
gofiber fiberv < 2.52.14, 3.0.0 ≤ v < 3.3.02.52.14, 3.3.0
github.com/gofiber/fiber/v3Gov < 3.3.03.3.0
github.com/gofiber/fiber/v2Gov < 2.52.142.52.14

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.