Vulnerability record · CVE-2020-5284 · published 30 March 2020
CVE-2020-5284: Zeit next.js relative path traversal vulnerability
Zeit · Next.Js
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.
Description
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/zeit/next.js/releases/tag/v9.3.2 | Release Notes |
| https://github.com/zeit/next.js/security/advisories/GHSA-fq77-7p7r-83rj | Third Party Advisory |
| https://github.com/zeit/next.js/releases/tag/v9.3.2 | Release Notes |
| https://github.com/zeit/next.js/security/advisories/GHSA-fq77-7p7r-83rj | Third Party Advisory |
Track CVE-2020-5284 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2020-5284), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.