Bug 2498213 (CVE-2026-45045)

Summary: CVE-2026-45045 github.com/gofiber/fiber: GoFiber: IP spoofing allows bypass of security controls via X-Real-IP header manipulation
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the GoFiber web framework's `BalancerForward` proxy helper. This vulnerability allows a remote attacker to spoof their IP address by manipulating the `X-Real-IP` header. Because the `Header.Add()` function is used instead of `Header.Set()`, an attacker-supplied `X-Real-IP` value is forwarded to upstream servers alongside the legitimate IP. This can lead to bypassing IP-based security controls such as rate limiting, access control lists (ACLs), and geolocation restrictions, and can also poison audit logs.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2521825    
Bug Blocks:    

Description OSIDB Bzimport 2026-07-08 20:02:37 UTC
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.