CVE-2021-48011 Servor 1.0.0 through 4.0.2 Unauthenticated Path Traversal via URL-Encoded Dot Segments

High 8.7 Published Updated

Unauthenticated attackers can read arbitrary files and list directories outside the root by sending URL-encoded dot segments to the Servor static server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-48011?

CVE-2021-48011 is a high-severity path traversal vulnerability in lukejacksonn servor, published on 12 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2021-48011?

How do I fix CVE-2021-48011?

No fix has been published for CVE-2021-48011 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2021-48011 being exploited?

There is no known exploitation of CVE-2021-48011 in the wild and no public exploit code.

Sources

Also known as GHSA-pcvv-rm69-6cv3.

Is CVE-2021-48011 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free