Read the docs
TI-2023-21938 Aliases CVE-2023-41338GHSA-3q5p-3558-364f

Vulnerability in Ctx.IsFromLocal() in gofiber

Priority LOW 31CWE-670Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

Fiber is an Express inspired web framework built in the go language. Versions of gofiber prior to 2.49.2 did not properly restrict access to localhost. This issue impacts users of our project who rely on the `ctx.IsFromLocal` method to restrict access to localhost requests. If exploited, it could allow unauthorized access to resources intended only for localhost. Setting `X-Forwarded-For: 127.0.0.1` in a request from a foreign host, will result in true for `ctx.IsFromLocal`. Access is limited to the scope of the affected process. This issue has been patched in version `2.49.2` with commit `b8c9ede6`. Users are advised to upgrade. There are no known workarounds to remediate this vulnerability without upgrading to the patched version.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00655 51st percentileScored 2026-11-07
Fix Fixed fiber (gofiber): 2.49.2github.com/gofiber/fiber/v2 (Go): 2.49.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
gofiberfiberbefore 2.49.22.49.2Patch availableCNA
—github.com/gofiber/fiber (Go)up to 1.14.6—No fix listedGHSA-3q5p-3558-364f
—github.com/gofiber/fiber/v2 (Go)before 2.49.22.49.2Patch availableGHSA-3q5p-3558-364f
  • fiber Vendorgofiber Affected before 2.49.2 Fixed in 2.49.2 Patch available CNA
  • github.com/gofiber/fiber (Go) Vendor— Affected up to 1.14.6 Fixed in — No fix listed GHSA-3q5p-3558-364f
  • github.com/gofiber/fiber/v2 (Go) Vendor— Affected before 2.49.2 Fixed in 2.49.2 Patch available GHSA-3q5p-3558-364f

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gofiber:fiber:*:*:*:*:*:*:*:*before 2.49.2Vulnerablegofiber
  • cpe:2.3:a:gofiber:fiber:*:*:*:*:*:*:*:* Versions before 2.49.2 Vulnerable ·gofiber

Remediation

  • Fix · CNA fiber (gofiber) Fixed in 2.49.2
  • Fix · GHSA-3q5p-3558-364f github.com/gofiber/fiber/v2 (Go) Fixed in 2.49.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-41338
  2. 2026-10-03 Alias added: GHSA-3q5p-3558-364f
  3. 2026-10-13 EPSS moved to the 50th–90th percentile

References

  • TI-2025-34555 Fiber Susceptible to Crash via `BodyParser` Due to Unvalidated Large Slice Index in Decoder CVSS 4.0HIGH 8.7
  • TI-2024-16578 Fiber has Insecure CORS Configuration, Allowing Wildcard Origin with Credentials CVSS 3.1CRITICAL 9.8
  • TI-2025-30446 Fiber panics when fiber.Ctx.BodyParser parses invalid range index CVSS 4.0HIGH 7.7
  • TI-2026-23477 github.com/gofiber/fiber/v3 cache middleware can mix responses across query parameters CVSS 3.1MEDIUM 6.5
  • TI-2026-20922 Fiber has a Denial of Service Vulnerability via Route Parameter Overflow CVSS 4.0MEDIUM 5.5
  • TI-2026-30834 Fiber: XSS in AutoFormat Content Negotiation CVSS 4.0MEDIUM 5.3
See all 16 →

Sources