Vulnerability · Published Feb 24, 2026 · Assigned by GitHub_M

CVE-2026-25891Fiber has an Arbitrary File Read in Static Middleware on Windows

High 7.7

In plain English

A high-severity path traversal in fiber from gofiber. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)7.7High
Exploit odds (30 days)0.7%top 46.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Fiber is an Express inspired web framework written in Go. A Path Traversal (CWE-22) vulnerability in Fiber allows a remote attacker to bypass the static middleware sanitizer and read arbitrary files on the server file system on Windows. This affects Fiber v3 through version 3.0.0. This has been patched in Fiber v3 version 3.1.0.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/gofiber/fiber/v33.1.0GO-2026-4540
Gogithub.com/gofiber/fiber/v33.1.0GHSA-m3c2-496v-cw3v

Affected products (as reported)

VendorProductVersions
gofiber fiber >= 3.0.0, < 3.1.0

Weakness: CWE-22 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P

References