CVE-2026-25891
Awaiting Analysis Awaiting Analysis - Queue

Path Traversal in Fiber Static Middleware Allows Arbitrary File Access

Vulnerability report for CVE-2026-25891, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-02-24

Last updated on: 2026-02-27

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-02-24
Last Modified
2026-02-27
Generated
2026-07-06
AI Q&A
2026-02-25
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
gofiber fiber From 3.0.0 (inc) to 3.1.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Compliance Impact

I don't know

Impact Analysis

An attacker exploiting this vulnerability can read arbitrary files on the server's file system remotely without any authentication or user interaction.

This can lead to exposure of sensitive information, configuration files, or other critical data stored on the server, potentially compromising the security and privacy of the system.

Executive Summary

This vulnerability is a Path Traversal (CWE-22) issue in the Fiber web framework, which is inspired by Express and written in Go. It allows a remote attacker to bypass the static middleware sanitizer and read arbitrary files on the server's file system when running on Windows.

The vulnerability affects Fiber versions 3 through 3.0.0 and has been fixed in version 3.1.0.

Detection Guidance

I don't know

Mitigation Strategies

To mitigate this vulnerability, you should upgrade Fiber to version 3.1.0 or later, as the issue has been patched in that release.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-25891. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart