VDB
EN

GO-2026-4950

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

빠른 조치

GO-2026-4950 — github.com/valyala/fasthttp: 아래 명령으로 수정 버전으로 올리세요.

go get github.com/valyala/fasthttp@v1.70.0

상세

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.

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

Go / github.com/valyala/fasthttp
최초 영향 버전: 0 수정 버전: 1.70.0
수정 go get github.com/valyala/fasthttp@v1.70.0

참고