Authorization Bypass Through User-Controlled Key Affecting github.com/valyala/fasthttp package, versions <1.70.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMVALYALAFASTHTTP-19256953
  • published25 Aug 2026
  • disclosed18 Aug 2026
  • creditAli Firas

Introduced: 18 Aug 2026

New CVE NOT AVAILABLE CWE-639  (opens in a new tab)

How to fix?

Upgrade github.com/valyala/fasthttp to version 1.70.0 or higher.

Overview

github.com/valyala/fasthttp is a fast HTTP server and client API.

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key via the ServeFile and ServeFS functions. An attacker can bypass access controls by submitting double-encoded path variants, which are decoded and interpreted as valid filesystem paths, allowing unauthorized access to protected files.

CVSS Base Scores

version 4.0
version 3.1