CVE-2026-45045Gofiber Fiber
Medium 5.3 No auth needed
Follow: this CVE · Gofiber · Gofiber Fiber We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Jul 8, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-290
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Fiber.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/gofiber/fiber/v2 |
< 2.52.14 |
2.52.14 |
go get github.com/gofiber/fiber/v2@v2.52.14 |
| Go | github.com/gofiber/fiber/v3 |
< 3.3.0 |
3.3.0 |
go get github.com/gofiber/fiber/v3@v3.3.0 |
| Go | github.com/gofiber/fiber/v3 |
< 3.3.0 |
3.3.0 |
go get github.com/gofiber/fiber/v3@v3.3.0 |
Per OSV / GitHub Advisories (GHSA-gcfq-8gqf-4876, GO-2026-5887). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gofiber | fiber | < 2.52.14 |
| gofiber | fiber | ≥ 3.0.0 < 3.3.0 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21551-1 · Aug 10, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:23216-1 · Aug 10, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:23227-1 · Aug 10, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Issue Tracking Patch
- github.com Issue Tracking Patch
- github.com Release Notes
- github.com Release Notes
- github.com Exploit Vendor Advisory