PT-2026-80339 · Go · Github.Com/Valyala/Fasthttp

Published

2026-08-18

·

Updated

2026-08-18

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

GO-2026-4950

Affected Products

Github.Com/Valyala/Fasthttp