Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. rollup-plugin-server
  4. ›
  5. CVE-2020-7686

CVE-2020-7686: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

July 29, 2020 (updated September 23, 2021)

This affects all versions of package rollup-plugin-dev-server. There is no path sanitization in readFile operation inside the readFileFromContentBase function.

References

  • github.com/advisories/GHSA-vr98-27qj-3c8q
  • nvd.nist.gov/vuln/detail/CVE-2020-7686
  • snyk.io/vuln/SNYK-JS-ROLLUPPLUGINDEVSERVER-590124

Code Behaviors & Features

Detect and mitigate CVE-2020-7686 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.7.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/rollup-plugin-server/CVE-2020-7686.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:10 +0000.