CVE-2021-48011 Details
Description
Servor 1.0.0 through 4.0.2 contains a path traversal vulnerability that allows unauthenticated remote attackers to escape the served root by sending URL-encoded dot segments. Attackers can send %2e%2e/ sequences, which decodeURI() decodes before path.join() in serveStaticFile and serveDirectoryListing, to read arbitrary files and list directories outside the root.
A path traversal vulnerability has been identified in Servor versions 1.0.0 through 4.0.2. This vulnerability allows unauthenticated remote attackers to escape the served root directory by sending URL-encoded dot segments. The exploitation involves using '%2e%2e/' sequences, which are decoded by decodeURI() before being processed by path.join() in the serveStaticFile and serveDirectoryListing functions. This flaw enables attackers to read arbitrary files and list directories outside the designated root.
Users can update to Servor version 4.0.3 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 12, 2026CISA-ADP
Assessed Oct 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/lukejacksonn/servor | [email protected] | ProductSource CodeVendor |
| https://github.com/lukejacksonn/servor/commit/ec7d824ea6903c0fb97a452045bbb8335198cbab | [email protected] | Source CodeVendor |
| https://github.com/lukejacksonn/servor/pull/70 | [email protected] | Issue TrackingVendor |
| https://www.vulncheck.com/advisories/servor-1.0.0-through-4.0.2-unauthenticated-path-traversal-via-url-encoded-dot-segments | [email protected] | AdvisoryBundleRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| lukejacksonn servor | >= 1.0.0, <= 4.0.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 13, 2026 | CVE Modified | CISA-ADP |
| Oct 12, 2026 | New CVE Received | [email protected] |
Volerion