Skip to main content
VulnerabilityPublished

CVE-2026-25882: gofiber fiber · Improper Validation of Array Index

Affects gofiber fiberSource CVE Database V5

0
Compare

Public exploit available · CVSS 5.5 Medium : upgrade to 3.1.0 or 2.52.12 as a priority.

Data as of 29 Oct 2026, 19:04 UTC

CVSS 4.0 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.1.0, 2.52.12
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade fiber to 3.1.0 or 2.52.12; github.com/gofiber/fiber to 2.52.12.

Affected software

ProductAffectedFixed in
gofiberfiberAffected
  • >=3.0.0 <3.1.0
Fixed in
  • 3.1.0
gofiberfiberAffected
  • >=2.0.0 <2.52.12
Fixed in
  • 2.52.12
Gogithub.com/gofiber/fiberpkg:golang/github.com/gofiber/fiberOther threatsAffected
  • <2.52.12
Fixed in
  • 2.52.12

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate this vulnerability, organizations should upgrade Fiber to version 2.52.12 or later for the v2 branch, or 3.1.0 or later for the v3 branch, where the issue is patched. If immediate upgrading is not feasible, implement input validation at the application or network level to reject requests containing more than 30 route parameters. Employ web application firewalls (WAFs) or API gateways to detect and block anomalous requests with excessive parameters. Additionally, monitor application logs for unusual request patterns that may indicate exploitation attempts. Developers should review route definitions and avoid overly complex parameterized routes that could be abused. Regularly update dependencies and conduct security testing to identify similar issues proactively. Finally, implement robust error handling to prevent application crashes from unexpected inputs.

Description

Fiber is an Express inspired web framework written in Go. A denial of service vulnerability exists in Fiber v2 and v3 that allows remote attackers to crash the application by sending requests to routes with more than 30 parameters. The vulnerability results from missing validation during route registration combined with an unbounded array write during request matching. Version 2.52.12 patches the issue in the v2 branch and 3.1.0 patches the issue in the v3 branch.

References

Community reviews

Loading reviews…