Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

GO-2026-4950

UNSCORED

Authorization bypass via double-encoded paths in github.com/valyala/fasthttp

Mitigation

  • Upgrade github.com/valyala/fasthttp to 1.70.0 or later.

Who should check

  • Projects that depend on Go package github.com/valyala/fasthttp (< 1.70.0)

Vulnerability facts

Affected
github.com/valyala/fasthttp < 1.70.0
Fixed in
1.70.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
Published
Modified

Description

In github.com/valyala/fasthttp before 1.70.0, ServeFile and ServeFS reinterpret filesystem paths as URIs, decoding percent-encoded sequences and treating characters like '?' and '#' as URI delimiters. In applications where authorization guards inspect ctx.Path() before passing paths to file-serving handlers, double-encoded path variants (e.g., /%2561dmin/export.csv) bypass access controls while still resolving to the protected file on disk.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/valyala/fasthttp< 1.70.01.70.0osv

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by GO-2026-4950. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/GO-2026-4950.md
Affected: github.com/valyala/fasthttp < 1.70.0
Fixed in: 1.70.0

Steps:
1. Search this machine and project for github.com/valyala/fasthttp (Go): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is GO-2026-4950 being exploited?

There is no confirmed exploitation: GO-2026-4950 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is GO-2026-4950?

It has no CVSS score yet. Unknown.

Which versions are affected by GO-2026-4950?

github.com/valyala/fasthttp < 1.70.0.

Is there a fix for GO-2026-4950?

Yes. Fixed in 1.70.0. Upgrade github.com/valyala/fasthttp to 1.70.0 or later.

How do I check if I'm affected by GO-2026-4950?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors