Advisory record · GHSA-3q5p-3558-364f

Fiber unauthorized access vulnerability in `ctx.IsFromLocal()`

CVSS 5.3 MediumEPSS 0.0066 · 51st percentile

Published by the GitHub Advisory Database at 8 Sept 2023, 13:27 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/gofiber/fiberGo<=1.14.6No fixed version yet
github.com/gofiber/fiber/v2Go<2.49.22.49.2
Identifiers
GHSA-3q5p-3558-364f · CVE-2023-41338 · GO-2023-2052
Weakness (CWE)
CWE-670
Published
8 Sept 2023
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Fiber's ctx.IsFromLocal() method in github.com/gofiber/fiber/v2 versions before 2.49.2 can be fooled into returning true for remote clients, because it relies on the X-Forwarded-For header. A remote attacker who sends that header with a localhost address can reach resources meant only for local access. Upgrade github.com/gofiber/fiber/v2 to 2.49.2 or later. The github.com/gofiber/fiber package (versions up to 1.14.6) is also listed as affected with no fixed version.

Written 2 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.3 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0066, the 51st percentile, on 6 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:15 UTC First seen by agentprime
  2. 31 Oct 2026, 14:15 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.