CVE-2026-25891
HIGH 7.7CVSS 4.0Fiber has an Arbitrary File Read in Static Middleware on Windows
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.
- Published
- 24 Feb 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-m3c2-496v-cw3vGO-2026-4540
- Sources
- NVDJSONOSV GHSA-m3c2-496v-cw3vJSONOSV GO-2026-4540JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.7 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gofiber | fibercpe:2.3:a:gofiber:fiber:*:*:*:*:*:go:*:* |
>= 3.0.0, < 3.1.0 | 3.1.0 |
| OSV | Go | github.com/gofiber/fiber/v3 | < 3.1.0 | 3.1.0 |
References
- https://github.com/gofiber/fiber/commit/59133702301c2ab7b776dd123b474cbd995f2c86 · Patch, WEB, FIX
- https://github.com/gofiber/fiber/pull/4064 · Exploit, Issue Tracking, WEB, FIX
- https://github.com/gofiber/fiber/security/advisories/GHSA-m3c2-496v-cw3v · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-25891 · ADVISORY
- https://github.com/gofiber/fiber · PACKAGE
- https://pkg.go.dev/vuln/GO-2026-4540 · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 24 Feb 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Feb 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Feb 2026)