CVE-2020-7684 is a critical-severity (CVSS 9.8) Path Traversal vulnerability in rollup-plugin-serve. A fix is available for rollup-plugin-serve — see the affected versions and patch details below.
Path traversal in rollup-plugin-serve
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2020-7684 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,987 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
rollup-plugin-servenpmDescription
Path traversal in npm package rollup-plugin-serve before version 1.0.2. There is no path sanitization in readFile operation.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | rollup-plugin-serve | all versions | 1.0.2npm install rollup-plugin-serve@1.0.2 |
Affected Products
rollup-plugin-serverollup-plugin-serve_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for rollup-plugin-serve, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update rollup-plugin-serve to 1.0.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-7684 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Frequently Asked Questions
Is CVE-2020-7684 in your dependencies?
Find it across npm, including transitive dependencies.