# statics-server path traversal

Source: https://junglewise.ai/threats/statics-server-path-traversal-a60a155c  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2019-06-05. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

Severity: info · Published 2019-06-05

statics-server is a Node.js package for serving static files. A path traversal vulnerability allows attackers to bypass access controls and read arbitrary files from the server filesystem by using relative path traversal sequences. An attacker can obtain sensitive configuration files, source code, or other confidential data stored on the server.

Technologies: [statics-server (npm)](https://junglewise.ai/threats/technologies/statics-server). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 5 June 2019.

**Which products and versions are affected?** statics-server (npm) SEMVER:introduced=0,last_affected=0.0.9.

**Is there a fix for This vulnerability?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is This vulnerability attacked?** It is attacked over the network, in a software library.

**Am I affected?** Check whether you run statics-server (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability is a classic path traversal (CWE-22) issue caused by insufficient input sanitization when handling file requests. Attackers can craft URLs or requests using relative path sequences (such as ../) to escape the intended file serving directory and access arbitrary files on the server. The vulnerability is network-accessible and does not require authentication. An attacker can read any file readable by the process running statics-server. No patch has been made available for any version of statics-server; the advisory recommends using an alternative module.

## Affected products

- statics-server statics-server all versions through 0.0.9

## Timeline

- 2019-06-05: disclosed

## References

- [https://hackerone.com/reports/355456](https://hackerone.com/reports/355456)
- [https://www.npmjs.com/advisories/805](https://www.npmjs.com/advisories/805)

## Related threats

- [statics-server XSS in directory index listing](https://junglewise.ai/threats/cve-2018-3771-statics-server-xss-in-directory-index-listing)
- [statics-server path traversal via symlinks](https://junglewise.ai/threats/cve-2019-15596-statics-server-path-traversal-via-symlinks)
