# CVE-2020-5284: Directory Traversal in Next.js versions below 9.3.2

- Priority: **Routine**
- Reason: Not severe (CVSS 4.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-03-30 · Modified: 2024-08-04
- Aliases: GHSA-fq77-7p7r-83rj
- Record: https://cvemate.com/vulnerability/CVE-2020-5284 · JSON: https://cvemate.com/vulnerability/CVE-2020-5284/json

## Description

```text
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.
```

## Signals

- CVSS: 5 medium (v2.0, NVD) AV:N/AC:L/Au:N/C:P/I:N/A:N
- EPSS: 38.927%, percentile 98.626%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- Npm next (Npm): ≥ 0.9.9, \< 9.3.2
- zeit next.js: \< 9.3.2

## References

- <https://github.com/zeit/next.js/security/advisories/GHSA-fq77-7p7r-83rj>
- <https://github.com/zeit/next.js/releases/tag/v9.3.2>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-5284>
- <https://www.npmjs.com/advisories/1503>

---

Data as of 2026-12-05T10:20:19.358Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
