CVE-2026-25891 Fiber has an Arbitrary File Read in Static Middleware on Windows
HighCVSS 7.7
EPSS 0.69%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| gofiber github.com/gofiber/fiber | = >= 3.0.0, < 3.1.0; >= 3.0.0, < 3.1.0 | 3.1.0 | Fixed |
| gofiber github.com/gofiber/fiber(Go) | < 3.1.0; <= 3.0.0 | 3.1.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gofiber github.com/gofiber/fiber(Go) | < 3.1.0 | 3.1.0 |
| gofiber github.com/gofiber/fiber | = >= 3.0.0, < 3.1.0 | No fix listed |
| gofiber github.com/gofiber/fiber(Go) | <= 3.0.0 | No fix listed |
| gofiber github.com/gofiber/fiber | >= 3.0.0, < 3.1.0 | 3.1.0 |
References
- https://github.com/gofiber/fiber/security/advisories/GHSA-m3c2-496v-cw3v exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/gofiber/fiber/pull/4064 exploit issue-tracking patch
- https://github.com/gofiber/fiber/commit/59133702301c2ab7b776dd123b474cbd995f2c86 patch
- github.com product
- pkg.go.dev
- github.com