CVE-2026-45045
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.
Severity
MEDIUM
CVSS v3
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N · source cna
Exploit chance (EPSS)
0.463%
chance of exploitation in the next 30 days
higher than 40.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-290: Authentication Bypass by Spoofing
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-07-09 |
Timeline
- 2026-07-02GitHub advisory published (GHSA-gcfq-8gqf-4876)6 days before publication
- 2026-07-08Published by the CNA19:26 UTC
- 2026-07-09CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-gcfq-8gqf-4876, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/gofiber/fiber/v2 | before 2.52.14 | 2.52.14 |
| Go github.com/gofiber/fiber/v3 | before 3.3.0 | 3.3.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| gofiber fiber | before 2.52.14fixed in 2.52.14from 3.0.0 before 3.3.0fixed in 3.3.0 | 2.52.143.3.0 |
References
- https://github.com/gofiber/fiber/commit/1403cc8292da3220e9316960b4030cc722a0f396
- https://github.com/gofiber/fiber/commit/33c9501288ab47a429c8b5e701493f0c3c0af37d
- https://github.com/gofiber/fiber/pull/4260
- https://github.com/gofiber/fiber/pull/4495
- https://github.com/gofiber/fiber/security/advisories/GHSA-gcfq-8gqf-4876
- https://github.com/gofiber/fiber/releases/tag/v2.52.14
- https://github.com/gofiber/fiber/releases/tag/v3.3.0
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-45045'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-45045'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-45045'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-45045'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).