Advisory record · GHSA-gcfq-8gqf-4876

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

CVSS 5.3 MediumEPSS 0.0046 · 40th percentile

Published by the GitHub Advisory Database at 2 Jul 2026, 13:50 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/gofiber/fiber/v3Go<3.3.03.3.0
github.com/gofiber/fiber/v2Go<2.52.142.52.14
Identifiers
GHSA-gcfq-8gqf-4876 · CVE-2026-45045 · GO-2026-5887
Weakness (CWE)
CWE-290
Published
2 Jul 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

GoFiber's BalancerForward proxy helper in github.com/gofiber/fiber/v3 before 3.3.0 and github.com/gofiber/fiber/v2 before 2.52.14 appends the real client IP to the X-Real-IP header instead of replacing any value the client sent. A remote attacker can send a spoofed X-Real-IP header, and upstream servers that read the first value may then apply rate limits, IP allowlists, audit logging, and geolocation rules to the forged address. Upgrade to fiber v3 3.3.0 or fiber v2 2.52.14 or later.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.3 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0046, the 40th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 2 Jul 2026, 07:57 UTC Published by the maintainers as a GitHub repository advisory
  2. 31 Oct 2026, 14:14 UTC First seen by agentprime
  3. 31 Oct 2026, 14:14 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.