Fiber is an Express inspired web framework built in the go language. Versions of gofiber prior to 2.49.2 did…
Historical advisory recorded 24 Oct 2026 22:17:27 UTC. Read the latest advisory.
nvd · CVE-2023-41338
PublishedFiber 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2023-41338
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-670
Original publisher date fields
published: 2023-09-08T19:15:43.977
lastModified: 2026-06-17T06:21:51.730
1 source CPE criteria · context only
- cpe:2.3:a:gofiber:fiber:*:*:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON