BreachSpiderVerified, not vibes

CVE-2023-41338 in Gofiber Fiber

Medium 5.3

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 ...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.15.3
EPSS0.8%
EPSS percentile51th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Gofiber Fiber < 2.49.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-41338
BreachSpider IDBS-2023-GLOBAL-056008-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Published2023-09-08
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-670: CWE-670

Analysis AI-written, not human-reviewed

A vulnerability in gofiber versions prior to 2.49.2 allows unauthorized access to resources intended only for localhost due to improper restriction of access to localhost requests.

An attacker can exploit this vulnerability by setting the `X-Forwarded-For` header to `127.0.0.1` or similar, tricking the `ctx.IsFromLocal` method into believing the request is coming from a local source.

Questions

What is CVE-2023-41338?

A vulnerability in gofiber versions prior to 2.49.2 allows unauthorized access to resources intended only for localhost due to improper restriction of access to localhost requests.

What is the CVSS score for CVE-2023-41338?

CVE-2023-41338 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N. EPSS: 0.8%.

Is CVE-2023-41338 actively exploited?

No confirmed active exploitation of CVE-2023-41338 as of 2026-09-25.

How do I remediate CVE-2023-41338?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2023-41338?

CVE-2023-41338 affects Gofiber Fiber.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Gofiber","product":"Fiber","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.