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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/gofiber/fiber/v3 | 3.1.0 | GO-2026-4540 |
| Go | github.com/gofiber/fiber/v3 | 3.1.0 | GHSA-m3c2-496v-cw3v |
Affected products (as reported)
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
- https://github.com/gofiber/fiber/security/advisories/GHSA-m3c2-496v-cw3v x_refsource_CONFIRM
- https://github.com/gofiber/fiber/pull/4064 x_refsource_MISC
- https://github.com/gofiber/fiber/commit/59133702301c2ab7b776dd123b474cbd995f2c86 x_refsource_MISC