High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-48011
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 03:38 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-48011
Complete source record
{
"id": "7e0b638a9ef13490c0740c2e0e41421c6359be8886657cc9ad2001f05c664a0d",
"url": "https://osv.dev/vulnerability/CVE-2021-48011",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-48011",
"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() decodes before path.join() in serveStaticFile and serveDirectoryListing, to read arbitrary files and list directories outside the root.",
"evidence": "osv:CVE-2021-48011",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-48011",
"aliases": [
"CVE-2021-48011"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/lukejacksonn/servor",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "ec7d824ea6903c0fb97a452045bbb8335198cbab"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "ec7d824ea6903c0fb97a452045bbb8335198cbab"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"3.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-48011.json"
}
}
],
"modified": "2026-10-24T02:30:51.243502150Z",
"provider": "osv",
"references": [
"https://www.vulncheck.com/advisories/servor-1.0.0-through-4.0.2-unauthenticated-path-traversal-via-url-encoded-dot-segments",
"https://github.com/lukejacksonn/servor/commit/ec7d824ea6903c0fb97a452045bbb8335198cbab",
"https://github.com/lukejacksonn/servor/pull/70",
"https://github.com/lukejacksonn/servor"
],
"provider_metadata": {
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "1.0.0"
},
{
"last_affected": "4.0.2"
}
],
"source": "DESCRIPTION"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-48011",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 428158,
"published_at": "2026-10-12T21:17:05.903+00:00"
}