BreachSpiderVerified, not vibes

CVE-2024-38513 in Gofiber Fiber

Critical 9.8

Fiber is an Express-inspired web framework written in Go A vulnerability present in versions prior to 2.52.5 is a session middleware issue in GoFiber versions 2 and above. This vulnerability allows users to supply their own session_id value, resulting in the creation of a session with that key. If a website relies o...

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

CVSS 3.19.8
EPSS1.0%
EPSS percentile62th
FixUnknown

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

Affected products and versions

VendorProductAffected versions
Gofiber Fiber < 2.52.5

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 written in Go A vulnerability present in versions prior to 2.52.5 is a session middleware issue in GoFiber versions 2 and above. This vulnerability allows users to supply their own session_id value, resulting in the creation of a session with that key. If a website relies on the mere presence of a session for security purposes, this can lead to significant security risks, including unauthorized access and session fixation attacks. All users utilizing GoFiber's session middleware in the affected versions are impacted. The issue has been addressed in version 2.52.5. Users are strongly encouraged to upgrade to version 2.52.5 or higher to mitigate this vulnerability. Users who are unable to upgrade immediately can apply the following workarounds to reduce the risk: Either implement additional validation to ensure session IDs are not supplied by the user and are securely generated by the server, or regularly rotate session IDs and enforce strict session expiration policies.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-38513
BreachSpider IDBS-2024-GLOBAL-198324-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2024-07-01
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-384: CWE-384

Related attack patterns (CAPEC)

CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-384

CAPEC-59 Session Credential Falsification through Prediction via CWE-384

CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-384

CAPEC-61 Session Fixation via CWE-384

CAPEC-39 Manipulating Opaque Client-based Data Tokens via CWE-384

Show all 7

CAPEC-196 Session Credential Falsification through Forging via CWE-384

CAPEC-21 Exploitation of Trusted Identifiers via CWE-384

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A session middleware issue in GoFiber versions 2 and above allows users to supply their own session_id value, potentially leading to unauthorized session creation and security vulnerabilities if session presence is used for security purposes.

An attacker can exploit this vulnerability by providing a custom session_id value, which can be used to create a session without proper authentication. This can lead to unauthorized access if the application relies on session presence for security.

Questions

What is CVE-2024-38513?

A session middleware issue in GoFiber versions 2 and above allows users to supply their own session_id value, potentially leading to unauthorized session creation and security vulnerabilities if session presence is used for security purposes.

What is the CVSS score for CVE-2024-38513?

CVE-2024-38513 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.0%.

Is CVE-2024-38513 actively exploited?

No confirmed active exploitation of CVE-2024-38513 as of 2026-09-25.

How do I remediate CVE-2024-38513?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2024-38513?

CVE-2024-38513 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.