Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 71%

V3: CWE-290: Authentication Bypass by Spoofing in gofiber fiber (CVE-2026-45045)

0
Medium
Published: 07/08/2026 (07/08/2026, 19:26:26 UTC)
Source: GCVE Database
Vendor/Project: gofiber
Product: fiber

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.

CVSS v3.1

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected software

Goghsa
github.com/gofiber/fiber/v3
Affected versions
<3.3.0
Goghsa
github.com/gofiber/fiber/v2
Affected versions
<=2.52.13

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/10/2026, 07:52:57 UTC

Technical Analysis

In the GoFiber framework (github.com/gofiber/fiber/v3), the BalancerForward proxy helper incorrectly uses the HTTP Header.Add() method instead of Header.Set() when forwarding the X-Real-IP header. This causes the real client IP to be appended rather than replacing any existing X-Real-IP header. Since many upstream servers read the first X-Real-IP header, an attacker can supply a spoofed X-Real-IP header that is trusted over the appended real IP. This vulnerability affects versions <3.3.0 and <=2.52.13.

Potential Impact

This vulnerability allows an attacker to spoof the X-Real-IP header value seen by upstream servers, potentially bypassing IP-based access controls or logging accurate client IP addresses. The integrity of client IP information is compromised, which can affect security policies relying on correct IP identification. There is no direct confidentiality or availability impact reported.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider implementing additional validation or filtering of the X-Real-IP header at the application or proxy level to prevent spoofing. Monitor vendor channels for updates regarding an official fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-gcfq-8gqf-4876
Osv Schema Version
1.4.0
Aliases
["CVE-2026-45045"]
Ecosystems
["Go"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a46ece327e9c79719440e5f

Added to database: 07/02/2026, 22:57:39 UTC

Last enriched: 07/10/2026, 07:52:57 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 88

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses