← Vulnerability feed

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.

4.3 CVSS 3.1 Medium EPSS 44% · top 1.3% CWE-23 · Relative path traversalCWE-22 · Path traversal
4.3CVSS 3.1 base score, v2 5.0
44%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References
17 Jun 2026Last modified by NVD

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

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.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.5CVE-2018-6184Zeit next.js path traversal vulnerabilityZEIT Next.js 4 before 4.2.3 has Directory Traversal under the /_next request namespace.EPSS 9.1%7.5CVE-2017-16877Zeit next.js path traversal vulnerabilityZEIT Next.js before 2.4.1 has directory traversal under the /_next and /static request namespace, allowing attackers to obtain sensitive information.EPSS 14%6.1CVE-2018-18282Zeit next.js cross-site scripting vulnerabilityNext.js 7.0.0 and 7.0.1 has XSS via the 404 or 500 /_error page.EPSS 1.0%6.7CVE-2026-34926Trend Micro Apex One on-premise server directory traversal enables agent code injectionA relative path traversal (CWE-23) in the Apex One on-premise server lets an attacker who already holds administrative credentials on the server modi…KEVEPSS 0.54%analysed7.3CVE-2024-27199JetBrains TeamCity path traversal enables limited admin actionsJetBrains TeamCity before 2023.11.4 is vulnerable to relative path traversal that lets an unauthenticated remote party perform limited administrative…KEVEPSS 100%analysed9.8CVE-2025-64446FortiWeb relative path traversal allows admin command executionFortiWeb contains a relative path traversal flaw (CWE-23) reachable through crafted HTTP or HTTPS requests. Successful exploitation lets an attacker …KEVEPSS 92%analysed7.5CVE-2020-5410Spring Cloud Config Server path traversal exposes arbitrary filesSpring Cloud Config Server versions 2.2.x before 2.2.3, 2.1.x before 2.1.9, and older unsupported releases serve arbitrary configuration files via th…KEVEPSS 96%analysed9.8CVE-2021-40870Aviatrix Controller unauthenticated file upload leads to RCEAviatrix Controller 6.x before 6.5-1804.1922 allows unrestricted upload of a dangerous file type, and directory traversal lets an unauthenticated att…KEVEPSS 93%analysed

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.