CVE-2019-5447
Description
A path traversal vulnerability in http-file-server npm module <=0.2.6 allows attackers to list files in arbitrary directories.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A path traversal vulnerability in http-file-server npm module <=0.2.6 allows attackers to list files in arbitrary directories.
The http-file-server npm module is a simple static file server. Versions up to and including 0.2.6 contain a path traversal vulnerability that allows an attacker to escape the intended root directory and list files in arbitrary folders. The root cause is insufficient validation of user-supplied paths, enabling directory traversal sequences to be processed without restriction.
An attacker can exploit this by sending crafted HTTP requests containing directory traversal sequences (e.g., ../) to the server. No authentication is required, as the module is typically exposed directly to clients. The attack can be performed remotely if the server is accessible over a network, making it straightforward to execute.
Successful exploitation allows the attacker to list the contents of any directory on the server's filesystem that the process has read access to. This can lead to information disclosure, potentially revealing sensitive files, configuration data, or other resources that should not be publicly accessible.
The vulnerability was fixed in version 0.2.7. Users are strongly advised to upgrade immediately. The issue was reported via HackerOne and is documented in the NVD entry [1].
AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
http-file-servernpm | >= 0 | — |
Affected products
2- http-file-server/http-file-serverdescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- github.com/advisories/GHSA-2mp5-m968-gwr2ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2019-5447ghsaADVISORY
- hackerone.com/reports/570133ghsax_refsource_MISCWEB
- www.npmjs.com/advisories/1077ghsaWEB
News mentions
0No linked articles in our index yet.