ADVISORIES

Vulnerability

CVE-2026-45045

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.

10 advisories report this vulnerability, across 6 ecosystems.

Advisories in Go

  • GHSA-gcfq-8gqf-4876

    GoFiber Vulnerable to X-Real-IP Spoofing via Header.Add() in BalancerForward

    Moderate CVE-2026-45045 Go Updated 10 September 2026
  • GO-2026-5887

    GoFiber Vulnerable to X-Real-IP Spoofing via Header.Add() in BalancerForward in github.com/gofiber/fiber

    CVE-2026-45045 Go Updated 24 July 2026

References