CVE-2026-25891: Fiber has an Arbitrary File Read in Static Middleware on Windows
(updated )
Description 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.
References
- github.com/advisories/GHSA-m3c2-496v-cw3v
- github.com/gofiber/fiber
- github.com/gofiber/fiber/commit/59133702301c2ab7b776dd123b474cbd995f2c86
- github.com/gofiber/fiber/pull/4064
- github.com/gofiber/fiber/security/advisories/GHSA-m3c2-496v-cw3v
- nvd.nist.gov/vuln/detail/CVE-2026-25891
- pkg.go.dev/vuln/GO-2026-4540
Code Behaviors & Features
Detect and mitigate CVE-2026-25891 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →