CVE-2026-45045
Fiber is an Express inspired web framework written in Go. Prior to …
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 now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/gofiber/fiber/security/advisories/GHSA-gcfq-8gqf-4876
- github.com/advisories/GHSA-gcfq-8gqf-4876
- github.com/gofiber/fiber/commit/1403cc8292da3220e9316960b4030cc722a0f396
- github.com/gofiber/fiber/commit/33c9501288ab47a429c8b5e701493f0c3c0af37d
- github.com/gofiber/fiber/pull/4260
- github.com/gofiber/fiber/pull/4495
- github.com/gofiber/fiber/releases/tag/v2.52.14
- github.com/gofiber/fiber/releases/tag/v3.3.0
- nvd.nist.gov/vuln/detail/CVE-2026-45045
- cve.org/CVERecord?id=CVE-2026-45045
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.