CVE-2018-16478: Path Traversal in simplehttpserver

simplehttpserver Updated 02 Oct 2025

Summary

06/12/2018
No i
Moderate
5.3

CVE-2018-16478: Path Traversal in simplehttpserver. Affects simplehttpserver versions < 0.3.0. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The simplehttpserver package is an npm module that provides a simple HTTP server for serving static files. It allows developers to quickly set up a local web server for testing and development purposes. However, all versions of simplehttpserver are vulnerable to a Path Traversal vulnerability. This vulnerability enables an attacker to access files outside the webroot by exploiting symlink navigation in the URL.

Vulnerability Detail

The Path Traversal vulnerability in simplehttpserver allows an attacker to bypass the intended restrictions and access sensitive files on the server. By manipulating the URL and utilizing symlink navigation, the attacker can traverse the file system and retrieve files that should not be accessible. This can lead to unauthorized disclosure of sensitive information and potential compromise of the server's security.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As there is no official fix for this vulnerability, a possible workaround is to implement access controls and validation checks within the application code. This can help prevent unauthorized access to sensitive files. Additionally, deploying a web application firewall (WAF) that can detect and block path traversal attempts can provide an extra layer of defense.

Conclusion

The Path Traversal vulnerability in simplehttpserver allows attackers to access files outside the webroot, potentially leading to unauthorized disclosure of sensitive information. Currently, there is no fix available, and it is recommended to avoid using simplehttpserver in production environments. Stay updated with security advisories and consider using alternative modules. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for simplehttpserver →

Share this vulnerability

FAQ

The Path Traversal vulnerability in simplehttpserver allows an attacker to access files outside the webroot, potentially leading to unauthorized disclosure of sensitive information and compromise of the server's security.

Yes, all versions of simplehttpserver are vulnerable to this Path Traversal vulnerability.

Currently, there is no fix available for this vulnerability in simplehttpserver. It is recommended to avoid using simplehttpserver in production environments or consider using an alternative module.

To mitigate the risk, it is recommended to implement access controls and validation checks within the application code. Additionally, deploying a web application firewall (WAF) that can detect and block path traversal attempts can provide an extra layer of defense.

Related vulnerabilities

Recent vulnerabilities recorded for simplehttpserver.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback