High
Security advisory
An issue was discovered in mod_alias_physical_handler in mod_alias.c in lighttpd before 1.4.50. There is potential ../ path traversal of a single directory above an alias target, with a specific mod_alias configuration where the matched alias lacks a trailing '/' character, but the alias target filesystem path does have a trailing '/' character.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-19052
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:25 UTC · Revision 1
Source evidence
An issue was discovered in mod_alias_physical_handler in mod_alias.c in lighttpd before 1.4.50. There is potential ../ path traversal of a single directory above an alias target, with a specific mod_alias configuration where the matched alias lacks a trailing '/' character, but the alias target filesystem path does have a trailing '/' character.
osv:CVE-2018-19052
Complete source record
{
"id": "4157dabe10d315f832bd0c59b5951cac9b6b1845ff0b0bf53b1eec28dcc8b064",
"url": "https://osv.dev/vulnerability/CVE-2018-19052",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-19052",
"summary": "An issue was discovered in mod_alias_physical_handler in mod_alias.c in lighttpd before 1.4.50. There is potential ../ path traversal of a single directory above an alias target, with a specific mod_alias configuration where the matched alias lacks a trailing '/' character, but the alias target filesystem path does have a trailing '/' character.",
"evidence": "osv:CVE-2018-19052",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-19052",
"aliases": [
"CVE-2018-19052"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/lighttpd/lighttpd1.4",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "a2114a1c9b34a165cf69439e21a5d1429e252554"
},
{
"fixed": "2105dae0f9d7a964375ce681e53cb165375f84c1"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:lighttpd:lighttpd:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.4.50"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "2105dae0f9d7a964375ce681e53cb165375f84c1"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"lighttpd-1.4.49",
"lighttpd-1.4.48",
"lighttpd-1.4.47",
"lighttpd-1.4.46",
"lighttpd-1.4.45",
"lighttpd-1.4.44",
"lighttpd-1.4.43",
"lighttpd-1.4.42",
"lighttpd-1.4.41",
"lighttpd-1.4.40",
"lighttpd-1.4.39",
"lighttpd-1.4.38",
"lighttpd-1.4.37",
"lighttpd-1.4.36",
"lighttpd-1.4.36--rc1",
"lighttpd-1.4.35",
"lighttpd-1.4.34",
"lighttpd-1.4.33",
"lighttpd-1.4.32",
"lighttpd-1.4.31",
"lighttpd-1.4.30",
"lighttpd-1.4.29",
"lighttpd-1.4.28",
"lighttpd-1.4.27",
"lighttpd-1.4.26",
"lighttpd-1.4.25",
"lighttpd-1.4.7",
"lighttpd-1.4.6",
"lighttpd-1.4.5",
"lighttpd-1.4.4",
"lighttpd-1.4.3",
"lighttpd-1.4.2",
"lighttpd-1.4.1",
"lighttpd-1.3.16",
"lighttpd-1.3.15",
"lighttpd-1.3.14",
"lighttpd-1.3.13",
"lighttpd-1.3.12",
"lighttpd-1.3.11"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-19052.json",
"vanir_signatures": [
{
"id": "CVE-2018-19052-1be13382",
"digest": {
"length": 1029,
"function_hash": "149042138735570835025939466017948242542"
},
"source": "https://github.com/lighttpd/lighttpd1.4/commit/2105dae0f9d7a964375ce681e53cb165375f84c1",
"target": {
"file": "src/mod_alias.c",
"function": "PHYSICALPATH_FUNC"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2018-19052-387c5170",
"digest": {
"threshold": 0.9,
"line_hashes": [
"303192333452448327106390395563064620760",
"80679466272643474847981161116281953383",
"208143731090529638039435268477316973998"
]
},
"source": "https://github.com/lighttpd/lighttpd1.4/commit/2105dae0f9d7a964375ce681e53cb165375f84c1",
"target": {
"file": "src/mod_alias.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:31:38Z"
}
}
],
"modified": "2026-10-20T13:31:38.508931054Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2022/01/msg00012.html",
"https://github.com/lighttpd/lighttpd1.4/commit/2105dae0f9d7a964375ce681e53cb165375f84c1"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:opensuse:backports_sle:15.0:-:*:*:*:*:*:*",
"cpe:2.3:a:opensuse:backports_sle:15.0:sp1:*:*:*:*:*:*"
],
"vendor_product": "opensuse:backports_sle",
"extracted_events": [
{
"range": [
{
"introduced": "15.0-NA"
},
{
"last_affected": "15.0-NA"
},
{
"introduced": "15.0-sp1"
},
{
"last_affected": "15.0-sp1"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*",
"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*"
],
"vendor_product": "opensuse:leap",
"extracted_events": [
{
"range": [
{
"introduced": "15.0"
},
{
"last_affected": "15.0"
},
{
"introduced": "15.1"
},
{
"last_affected": "15.1"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:suse:suse_linux_enterprise_server:11:sp3:*:*:*:*:*:*",
"cpe:2.3:o:suse:suse_linux_enterprise_server:11:sp4:*:*:*:*:*:*",
"cpe:2.3:o:suse:suse_linux_enterprise_server:12:*:*:*:*:*:*:*",
"cpe:2.3:o:suse:suse_linux_enterprise_server:12:sp1:*:*:*:*:*:*",
"cpe:2.3:o:suse:suse_linux_enterprise_server:12:sp2:*:*:*:*:*:*",
"cpe:2.3:o:suse:suse_linux_enterprise_server:12:sp3:*:*:*:*:*:*",
"cpe:2.3:o:suse:suse_linux_enterprise_server:12:sp4:*:*:*:*:*:*"
],
"vendor_product": "suse:suse_linux_enterprise_server",
"extracted_events": [
{
"range": [
{
"introduced": "11-sp3"
},
{
"last_affected": "11-sp3"
},
{
"introduced": "11-sp4"
},
{
"last_affected": "11-sp4"
},
{
"introduced": "12"
},
{
"last_affected": "12"
},
{
"introduced": "12-sp1"
},
{
"last_affected": "12-sp1"
},
{
"introduced": "12-sp2"
},
{
"last_affected": "12-sp2"
},
{
"introduced": "12-sp3"
},
{
"last_affected": "12-sp3"
},
{
"introduced": "12-sp4"
},
{
"last_affected": "12-sp4"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-19052",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387775,
"published_at": "2018-11-07T05:29:00.343+00:00"
}