BreachSpiderVerified, not vibes

CVE-2024-25124 in Gofiber Fiber

Critical 9.8

Fiber is a web framework written in go. Prior to version 2.52.1, the CORS middleware allows for insecure configurations that could potentially expose the application to multiple CORS-related vulnerabilities. Specifically, it allows setting the Access-Control-Allow-Origin header to a wildcard (`*`) while also having ...

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

CVSS 3.19.8
EPSS0.7%
EPSS percentile50th
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.1

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 a web framework written in go. Prior to version 2.52.1, the CORS middleware allows for insecure configurations that could potentially expose the application to multiple CORS-related vulnerabilities. Specifically, it allows setting the Access-Control-Allow-Origin header to a wildcard (`*`) while also having the Access-Control-Allow-Credentials set to true, which goes against recommended security best practices. The impact of this misconfiguration is high as it can lead to unauthorized access to sensitive user data and expose the system to various types of attacks listed in the PortSwigger article linked in the references. Version 2.52.1 contains a patch for this issue. As a workaround, users may manually validate the CORS configurations in their implementation to ensure that they do not allow a wildcard origin when credentials are enabled. The browser fetch api, as well as browsers and utilities that enforce CORS policies, are not affected by this.

Source: NIST NVD / MITRE CVE.

Record details

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

Weakness definitions

CWE-346: CWE-346

CWE-942: CWE-942

Related attack patterns (CAPEC)

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

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

CAPEC-76 Manipulating Web Input to File System Calls via CWE-346

CAPEC-142 DNS Cache Poisoning via CWE-346

CAPEC-385 Transaction or Event Tampering via Application API Manipulation via CWE-346

Show all 16

CAPEC-387 Navigation Remapping To Propagate Malicious Content via CWE-346

CAPEC-388 Application API Button Hijacking via CWE-346

CAPEC-75 Manipulating Writeable Configuration Files via CWE-346

CAPEC-89 Pharming via CWE-346

CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) via CWE-346

CAPEC-141 Cache Poisoning via CWE-346

CAPEC-160 Exploit Script-Based APIs via CWE-346

CAPEC-384 Application API Message Manipulation via Man-in-the-Middle via CWE-346

CAPEC-386 Application API Navigation Remapping via CWE-346

CAPEC-510 SaaS User Request Forgery via CWE-346

CAPEC-21 Exploitation of Trusted Identifiers via CWE-346

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

Fiber web framework versions prior to 2.52.1 contain insecure CORS middleware configurations that could expose the application to CORS-related vulnerabilities.

The vulnerability arises from the ability to set the Access-Control-Allow-Origin header to a wildcard (`*`) while also having the Access-Control-Allow-Credentials set to true, which is a security risk as it allows any domain to make authenticated requests to the server.

Questions

What is CVE-2024-25124?

Fiber web framework versions prior to 2.52.1 contain insecure CORS middleware configurations that could expose the application to CORS-related vulnerabilities.

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

CVE-2024-25124 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: 0.7%.

Is CVE-2024-25124 actively exploited?

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

How do I remediate CVE-2024-25124?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2024-25124?

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