CVE-2020-5284 json
Directory Traversal in Next.js versions below 9.3.2
published 2020-03-30 6 y ago modified 2026-09-10 1 mo ago also EUVD-2020-0342 , GHSA-fq77-7p7r-83rj
- cvss
- 4.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 44.8%
- EPSS 44.8% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
Next.js versions before 9.3.2 have a directory traversal vulnerability. Attackers could craft special requests to access files in the dist directory (.next). This does not affect files outside of the dist directory (.next). In general, the dist directory only holds build assets unless your application intentionally stores other assets under this directory. This issue is fixed in version 9.3.2.
Patch / fix
Exploit prediction
44.78% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Next.js <9.3.2 - Local File Inclusion nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 4.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | next | >=0.9.9, <9.3.2 |
9.3.2 |
Affected products
- zeit next.js
Classification
- Weakness
- Technology feeds
References
-
github.com
/zeit/next.js/security/advisories/GHSA-fq77-7p7r-83rj
web, third-party-advisory
-
github.com
/zeit/next.js/releases/tag/v9.3.2
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2020-5284
advisory
-
npmjs.com
/advisories/1503
web
-
github.com
/vercel/next.js/security/advisories/GHSA-fq77-7p7r-83rj
advisory
Sources
- CVE List CVE-2020-5284
- GitHub Advisory GHSA-fq77-7p7r-83rj
- NVD CVE-2020-5284
- Maintainer advisory GHSA-fq77-7p7r-83rj
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of vercel/next.js published their own advisory on GitHub. Reviewed sources take precedence over it.