Home / http4s / http4s / CVE-2020-5280
CVE-2020-5280: is it exploited, and which versions of http4s are affected and fixed?
CVE-2020-5280 is a path traversal vulnerability in http4s. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: org.http4s:http4s-server_2.12 before 0.18.26, org.http4s:http4s-server_2.12 from 0.19.0 before 0.20.20 and org.http4s:http4s-server_2.12 from 0.21.0 before 0.21.2 (GitHub advisory GHSA-66q9-f7ff-mmx6). Fixed in 0.18.26, 0.20.20 and 0.21.2 (GitHub advisory GHSA-66q9-f7ff-mmx6). Severity: High (7.6, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:12 UTC.
What is CVE-2020-5280?
Local file inclusion vulnerability in http4s
http4s before versions 0.18.26, 0.20.20, and 0.21.2 has a local file inclusion vulnerability. This vulnerability applies to all users of org.http4s.server.staticcontent.FileService, org.http4s.server.staticcontent.ResourceService and org.http4s.server.staticcontent.WebjarService. URI normalization is applied incorrectly. Requests whose path info contain ../ or // can expose resources outside of the configured location. This issue is patched in versions 0.18.26, 0.20.20, and 0.21.2. Note that 0.19.0 is a deprecated release and has never been supported.
From the CVE record by GitHub_M, last updated August 4, 2024, 08:22 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| http4s | http4s | < 0.18.26 >= 0.19.0, < 0.20.20 >= 0.21.0, < 0.21.2 |
As the CVE record by GitHub_M states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.http4s:http4s-server_2.12 | < 0.18.26 | 0.18.26 | GHSA-66q9-f7ff-mmx6 |
| Maven | org.http4s:http4s-server_2.12 | >= 0.19.0, < 0.20.20 | 0.20.20 | GHSA-66q9-f7ff-mmx6 |
| Maven | org.http4s:http4s-server_2.12 | >= 0.21.0, < 0.21.2 | 0.21.2 | GHSA-66q9-f7ff-mmx6 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 14, 2021. Summary: Local file inclusion vulnerability in http4s.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| typelevel | http4s | before 0.18.26 | application |
| typelevel | http4s | from 0.19.0 before 0.20.20 | application |
| typelevel | http4s | from 0.21.0 before 0.21.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:21 UTC.
How severe is CVE-2020-5280?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-5280 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 6.98% probability of exploitation activity in the next 30 days, percentile 94.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/http4s/http4s/security/advisories/GHSA-66q9-f7ff-mmx6 x_refsource_CONFIRM
- https://github.com/http4s/http4s/commit/250afddbb2e65b70ca9ddaec9d1eb3aaa56de7ec x_refsource_MISC
- https://github.com/http4s/http4s/commit/752b3f63a05a31d2de4f8706877aa08d6b89efca x_refsource_MISC
- https://github.com/http4s/http4s/commit/b87f31b2292dabe667bec3b04ce66176c8a3e17b x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 2, 2020
- Published
- March 25, 2020, 17:45 UTC
- CVE record updated
- August 4, 2024, 08:22 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 03:21 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:12 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect http4s?
- Sep 15, 2026CVE-2026-88975 http4s: denial of service (uncontrolled resource consumption)
- Sep 15, 2026CVE-2026-69206 http4s: authentication bypass by replay
- Sep 15, 2026CVE-2026-69202 http4s: denial of service (uncontrolled resource consumption)
- Sep 15, 2026CVE-2026-69218 http4s: denial of service (resources allocated without limits)
- Sep 15, 2026CVE-2026-69203 http4s: denial of service (uncontrolled resource consumption)
- Sep 15, 2026CVE-2026-69217 http4s: HTTP request smuggling
- Sep 15, 2026CVE-2026-69210 http4s: infinite loop (denial of service)
- Sep 15, 2026CVE-2026-69215 http4s: trust in cookies without checks
Questions about CVE-2020-5280
Is CVE-2020-5280 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 6.98% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of http4s are affected by CVE-2020-5280?
org.http4s:http4s-server_2.12 before 0.18.26, org.http4s:http4s-server_2.12 from 0.19.0 before 0.20.20 and org.http4s:http4s-server_2.12 from 0.21.0 before 0.21.2, per the GitHub advisory GHSA-66q9-f7ff-mmx6. The tables above give every range the sources list.
Which version fixes CVE-2020-5280?
0.18.26, 0.20.20 and 0.21.2, per the GitHub advisory GHSA-66q9-f7ff-mmx6. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-5280?
High (7.6, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2020-5280?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.