Skip to main content
HIGH

CVE-2022-21221

CVSS v3

7.5

HIGH

EPSS Score

2.5 %

exploit probability, as of 2026-09-25

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Description

The package github.com/valyala/fasthttp before 1.34.0 are vulnerable to Directory Traversal via the ServeFile function, due to improper sanitization. It is possible to be exploited by using a backslash %5c character in the path. **Note:** This security issue impacts Windows users only.

Technical details

Published
2022-03-17

Frequently asked questions

What is CVE-2022-21221?

The package github.com/valyala/fasthttp before 1.34.0 are vulnerable to Directory Traversal via the ServeFile function, due to improper sanitization. It is possible to be exploited by using a backslash %5c character in the path. **Note:** This security issue impacts Windows users only.

Is CVE-2022-21221 actively exploited?

Active exploitation of CVE-2022-21221 has not been confirmed. Its EPSS score was 2.5% on 2026-09-25, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-21221?

CVE-2022-21221 has a CVSS v3 base score of 7.5 (HIGH severity).

Is CVE-2022-21221 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.

No credit card required · 500 free checks/month · Free API key