CVE-2026-45045 json
Fiber: X-Real-IP Spoofing via Header.Add() in BalancerForward
published 2026-07-02 4 mo ago modified 2026-10-25 14 d ago also EUVD-2026-42351 , GHSA-gcfq-8gqf-4876 , GO-2026-5887
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/gofiber/fiber/v3 3.3.0
- go github.com/gofiber/fiber/v2 2.52.14
- gofiber fiber 2.52.14, 3.3.0
- govulncheck-vulndb SLES 16.0, SLES for SAP applications 16.0 0.0.20260727T201416-160000.1.1
suse advisories SUSE-SU-2026:23216-1SUSE-SU-2026:23227-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260727T201416-160000.1.1
opensuse advisories openSUSE-SU-2026:21551-1
- github.com/gofiber/fiber@1403cc8 commit
- github.com/gofiber/fiber@33c9501 commit
- github.com/gofiber/fiber#4260 pull request
- github.com/gofiber/fiber#4495 pull request
- github.com/gofiber/fiber/releases/tag/v2.52.14 release
- github.com/gofiber/fiber/releases/tag/v3.3.0 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-45045 updated cvss 5.3
github.com/gofiber/fiber: GoFiber: IP spoofing allows bypass of security controls via X-Real-IP header manipulation
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
0.46% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/gofiber/fiber/security/advisories/GHSA-gcfq-8gqf-4876 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/gofiber/fiber/v3 | <3.3.0 |
3.3.0 |
| go | github.com/gofiber/fiber/v2 | <2.52.14 |
2.52.14 |
Affected products
- gofiber fiber
Classification
- Weakness
-
- CWE-290 Authentication Bypass by Spoofing
References
-
github.com
/gofiber/fiber/pull/4260
web, issue-tracking, patch
-
github.com
/gofiber/fiber/pull/4495
web, issue-tracking, patch
-
github.com
/gofiber/fiber/commit/1403cc8292da3220e9316960b4030cc722a0f396
web, patch
-
github.com
/gofiber/fiber/commit/33c9501288ab47a429c8b5e701493f0c3c0af37d
web, patch
-
github.com
/gofiber/fiber/security/advisories/GHSA-gcfq-8gqf-4876
web, exploit, vendor-advisory, advisory
-
github.com
/gofiber/fiber/releases/tag/v2.52.14
web, release-notes
-
github.com
/gofiber/fiber/releases/tag/v3.3.0
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-45045
advisory
-
github.com
/gofiber/fiber
package
Sources
- CVE List CVE-2026-45045
- GitHub Advisory GHSA-gcfq-8gqf-4876
- NVD CVE-2026-45045
- OSV GO-2026-5887
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.