# CVE-2026-25891: Fiber has an Arbitrary File Read in Static Middleware on Windows

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-02-24T20:51:01.000Z
- Modified: 2026-06-17T10:25:23.377Z
- Also known as: GHSA-m3c2-496v-cw3v, GO-2026-4540
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gofiber fiber: >= 3.0.0, < 3.1.0; from 3.0.0 before 3.1.0
- github.com/gofiber/fiber/v3 (Go): before 3.1.0

## Every score

- GitHub_M: CVSS:4.0 7.7 High `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`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/gofiber/fiber/security/advisories/GHSA-m3c2-496v-cw3v> (exploit, advisory, vendor-advisory, web)
- <https://github.com/gofiber/fiber/pull/4064> (exploit, fix, issue-tracking, web)
- <https://github.com/gofiber/fiber/commit/59133702301c2ab7b776dd123b474cbd995f2c86> (fix, patch, web)
- <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)

## Sources

- CVE List: [CVE-2026-25891](https://www.cve.org/CVERecord?id=CVE-2026-25891), CVE Terms of Use, modified 2026-02-24
- GitHub Advisory Database: [GHSA-m3c2-496v-cw3v](https://github.com/advisories/GHSA-m3c2-496v-cw3v), CC-BY-4.0, modified 2026-02-27
- Go Vulnerability Database: [GO-2026-4540](https://pkg.go.dev/vuln/GO-2026-4540), CC-BY-4.0, modified 2026-02-26
- NVD: [CVE-2026-25891](https://nvd.nist.gov/vuln/detail/CVE-2026-25891), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-25891 · Whole record: https://cve.day/CVE-2026-25891.json · Rebuilt by cve.day 2026-11-25T22:59:14.786Z
