Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
The github.com/valyala/fasthttp package before 1.34.0 is vulnerable to directory traversal through its ServeFile function, caused by improper sanitization of paths containing an encoded backslash. An attacker can exploit this to access files outside the intended directory, but only on Windows systems. Upgrade to version 1.34.0 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 5.9 | Medium | 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | CNA (snyk) |
- CISA KEV Not listed.
- EPSS 0.025, the 85th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 15:05 UTC First seen by agentprime
- 31 Oct 2026, 15:05 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-fx95-883v-4q4h
- OSV: GHSA-fx95-883v-4q4h
- nvd.nist.gov/vuln/detail/CVE-2022-21221
- github.com/valyala/fasthttp/issues/1226
- github.com/valyala/fasthttp/commit/15262ecf3c602364639d465daba1e7f3604d00e8
- github.com/valyala/fasthttp/commit/6b5bc7bb304975147b4af68df54ac214ed2554c1
- github.com/valyala/fasthttp
- github.com/valyala/fasthttp/releases/tag/v1.34.0
- pkg.go.dev/vuln/GO-2022-0355
- snyk.io/vuln/SNYK-GOLANG-GITHUBCOMVALYALAFASTHTTP-2407866