Security mailing lists by PureSourceCode

GO-2026-4950

not scored yet

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

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.

Published
18 Aug 2026
Last modified
19 Aug 2026
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/valyala/fasthttp < 1.70.0 1.70.0

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Aug 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.