CVE-2020-5284Next.js Path Traversal
Directory Traversal in Next.js
Published Mar 30, 2020 · Updated Oct 20, 2026 · Also known as GHSA-fq77-7p7r-83rj
Key Facts
Patch immediately- CVE-2020-5284 is a medium-severity vulnerability (CVSS 4.3 v3.1) affecting Next.js (Zeit), next (npm), vercel/next.js (github-repo).
- It is exploited in the wild, listed in Industry KEV feed since Mar 23, 2026. No public exploit code is known.
- EPSS estimates a 45% probability of exploitation in the next 30 days.
- Fixed versions are available, including next 9.3.2, Next.js 9.3.2.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v3.1
4.3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS (30-day exploit likelihood)
45%
Higher than 98.7% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
49/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Mar 23, 2026
2184 days after publication
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
1
Reports of active use
Advisories And Exploit References
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Mar 23, 2026 | n/a | Not reported |
Affected Products
4 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Next.jsZeit | < 9.3.2 | 9.3.2 |
| nextnpm | >= 0.9.9 | 9.3.2 |
| vercel/next.jsgithub-repo | See advisory | n/a |
Patched Releases
next
9.3.2
Next.js
9.3.2
Timeline
Publicly disclosed
Mar 30, 2020
Added to Industry KEV feed
Mar 23, 2026
Last updated
Oct 20, 2026
Weakness Type
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-23 Relative Path Traversal
References
- advisorynvd.nist.gov · CVE-2020-5284
- advisoryGHSA advisory
- advisorygithub.com · GHSA-fq77-7p7r-83rj
- exploitVulnCheck exploitation report
- articlegithub.com · v9.3.2
FAQ
Common Questions.
Next.js versions before 9.3.2 have a directory traversal vulnerability.
Affected: Next.js (Zeit) versions < 9.3.2; next (npm) versions >= 0.9.9; vercel/next.js (github-repo). The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed since Mar 23, 2026.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including next 9.3.2, Next.js 9.3.2.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2020-5284 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo