CVE-2026-25891 Details
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.
A path traversal vulnerability has been identified in the Fiber web framework, specifically in versions 3.0.0 and prior. This vulnerability allows remote attackers to bypass the static middleware's file path sanitation, enabling them to read arbitrary files from the server's file system on Windows. The issue arises because the sanitizer does not properly handle double-encoded backslashes, which can be exploited to traverse directories and access sensitive files outside the web root.
Users are advised to update Fiber to version 3.1.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/gofiber/fiber/commit/59133702301c2ab7b776dd123b474cbd995f2c86 | [email protected] | Patch |
| https://github.com/gofiber/fiber/pull/4064 | [email protected] | ExploitIssue Tracking |
| https://github.com/gofiber/fiber/security/advisories/GHSA-m3c2-496v-cw3v | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gofiber fiber | >= 3.0.0, < 3.1.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 27, 2026 | Initial Analysis | [email protected] |
| Feb 24, 2026 | New CVE Received | [email protected] |