Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. serve
  4. ›
  5. CVE-2019-5415

CVE-2019-5415: Path Traversal in serve

March 25, 2019 (updated July 15, 2025)

Versions of serve prior to 7.0.1 are vulnerable to Path Traversal. Explicitly ignored folders can be accessed through if the path contains a /./, which allows attackers to access hidden folders and files.

References

  • github.com/advisories/GHSA-v588-qcp3-jv46
  • hackerone.com/reports/330724
  • nvd.nist.gov/vuln/detail/CVE-2019-5415
  • www.npmjs.com/advisories/1010

Code Behaviors & Features

Detect and mitigate CVE-2019-5415 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 7.0.0

Fixed versions

  • 7.0.0

Solution

Upgrade to version 7.0.0 or above.

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-548: Exposure of Information Through Directory Listing

Source file

npm/serve/CVE-2019-5415.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 27 Aug 2025 12:18:54 +0000.