CVE-2026-45045

Fiber: X-Real-IP Spoofing via Header.Add() in BalancerForward

MEDIUM
5.3
CVSS Score
Published: July 8, 2026 at 07:26 PM UTC
Updated: October 25, 2026 at 05:10 PM UTC
1 product affected across 1 vendorFiber

Using fiber by gofiber?

Get instant alerts when new vulnerabilities affect fiber - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 0.5%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2.52.143.0.0 ≤ v < 3.3.0
Affected range stops below 2.52.14, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.3.0, so it looks safe — our inference, not a vendor statement

References (7)

x_refsource_CONFIRMExploitVendor Advisory
Source: cverecord
https://github.com/gofiber/fiber/security/advisories/GHSA-gcfq-8gqf-4876
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/gofiber/fiber/pull/4260
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/gofiber/fiber/pull/4495
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/gofiber/fiber/releases/tag/v2.52.14
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/gofiber/fiber/releases/tag/v3.3.0

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.3MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-290

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card