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.
Affected products
gofiber: fiber
References7
- github.com/gofiber/fiber/security/advisories/GHSA-gcfq-8gqf-4876 ExploitVendor Advisory
- github.com/gofiber/fiber/commit/1403cc8292da3220e9316960b4030cc… Patch
- github.com/gofiber/fiber/commit/33c9501288ab47a429c8b5e701493f0… Patch
- github.com/gofiber/fiber/pull/4260 Issue TrackingPatch
- github.com/gofiber/fiber/pull/4495 Issue TrackingPatch
- github.com/gofiber/fiber/releases/tag/v2.52.14 Release Notes
- github.com/gofiber/fiber/releases/tag/v3.3.0 Release Notes
Metrics
- CVSS 3.1
-
5.3
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - EPSS — exploit probability
- 0% percentile: 41 · as of 15 November 2026
- CWE
- CWE-290
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.