---
id: CVE-2021-48011
title: >-
  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
summary: >-
  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() decode…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-22
published: '2026-10-12'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T21:17:05.903'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2021-48011'
references:
  - url: 'https://github.com/lukejacksonn/servor'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/lukejacksonn/servor/commit/ec7d824ea6903c0fb97a452045bbb8335198cbab
    label: disclosure@vulncheck.com
  - url: 'https://github.com/lukejacksonn/servor/pull/70'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/servor-1.0.0-through-4.0.2-unauthenticated-path-traversal-via-url-encoded-dot-segments
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-12T22:05:40.349Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
