CVE-2020-5284
mediumpriority · track · 33EPSS 0.448 · 99 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-fq77-7p7r-83rjDirectory Traversal in Next.js2020-03-30ghsa · osvUS
### Impact - **Not affected**: Deployments on ZEIT Now v2 ([https://zeit.co](https://zeit.co/)) are not affected - **Not affected**: Deployments using the `serverless` target - **Not affected**: Deployments using `next export` - **Affected**: Users of Next.js below 9.3.2 We recommend everyone to upgrade regardless of whether you can reproduce the issue or not. ### Patches https://github.com/zeit/next.js/releases/tag/v9.3.2 ### References https://github.com/zeit/next.js/releases/tag/v9.3.2
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/zeit/next.js/releases/tag/v9.3.2cnnvd
- https://github.com/zeit/next.js/security/advisories/GHSA-fq77-7p7r-83rjcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-5284cnnvd
- https://github.com/zeit/next.js/releases/tag/v9.3.2enisa_euvd
- https://github.com/zeit/next.js/security/advisories/GHSA-fq77-7p7r-83rjenisa_euvd
- https://github.com/zeit/next.js/releases/tag/v9.3.2Release Notesnvd
- https://github.com/zeit/next.js/security/advisories/GHSA-fq77-7p7r-83rjThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan