Security mailing lists by PureSourceCode

CVE-2026-45045

MEDIUM 5.3CVSS 3.1

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

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.

Published
8 Jul 2026
Last modified
25 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-290
Also known as
GHSA-gcfq-8gqf-4876GO-2026-5887
Sources
NVDJSONOSV GHSA-gcfq-8gqf-4876JSONOSV GO-2026-5887JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gofiber fiber
cpe:2.3:a:gofiber:fiber:*:*:*:*:*:go:*:*
< 2.52.14 2.52.14
NVD gofiber fiber
cpe:2.3:a:gofiber:fiber:*:*:*:*:*:go:*:*
>= 3.0.0, < 3.3.0 3.3.0
OSV Go github.com/gofiber/fiber/v3 < 3.3.0 3.3.0
OSV Go github.com/gofiber/fiber/v2 < 2.52.14 2.52.14

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 8 Jul 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Jul 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.