CVE-2018-19052 is a path traversal in the mod_alias module of lighttpd before 1.4.50: with an alias that lacks a trailing slash and a target path that has one, a request can step one directory above the target. NVD scores it 7.5; lighttpd 1.4.50 fixes it, as do backports in Wind River Linux and OpenWrt 18.06.
Vulnerability summary
CVSS base score
7.5
High severity
EPSS score (FIRST)
13.7%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2018-19052 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| lighttpd (mod_alias) | cpe:2.3:a:lighttpd:lighttpd:*:*:*:*:*:*:*:* | before 1.4.50 (NVD); fixed in 1.4.50 |
| Wind River Linux 8, 9 and LTS 17 (lighttpd package) | — | fixed in 8.0.0.30, 9.0.0.20 and 10.17.41.15; LTS 18 and LTS 19 not vulnerable (Wind River Linux security bulletin 2020-05-11, LIN10-5011) |
| OpenWrt packages feed, openwrt-18.06 branch (lighttpd 1.4.48) | — | 1.4.48 before package release 4; fix backported 2019-09-01 |
What does this mean for affected devices?
CVE-2018-19052 is a path traversal (CWE-22) in mod_alias_physical_handler. NVD's record says lighttpd before 1.4.50 allows "../ 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". NVD scores it 7.5 with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (NVD).
The fix commit, dated 2018-07-01 and credited to Orange Tsai of DEVCORE, gives the example: with alias.url = ( "/img" => "/srv/www/hosts/HOSTNAME/images/" ), the URL /img../ resolves to the directory above images/. If mod_dirlisting is enabled, which is not the default, that directory is listed, and "an attacker might also try to directly access files anywhere under that path". lighttpd's 1.4.50 release notes, dated 2018-08-13, list "[mod_alias] security: potential path traversal with specific configs".
On a device, the risk depends on the alias table, which is usually set by the device maker, not the owner. Two embedded Linux distributions published fixes. The Wind River Linux security bulletin of 2020-05-11 lists the lighttpd fix under defect LIN10-5011 in Wind River Linux 8.0.0.30, 9.0.0.20 and LTS 17 10.17.41.15, with LTS 18 and LTS 19 not vulnerable. OpenWrt's packages feed for 18.06 kept lighttpd 1.4.48 and backported the patch in commit 6d82938 on 2019-09-01, raising the package release to 1.4.48-4. A firmware scan that reads only "1.4.48" therefore cannot tell a patched OpenWrt build from an affected one; our embedded web server vulnerabilities guide explains why backports need their own record.
The Debian tracker lists DLA-2887-1 with 1.4.45-1+deb9u1 for stretch. The CVE is not in the CISA KEV catalog as of 2026-11-17 (catalog version 2026.11.13), and FIRST EPSS gives it 0.1371, the 96.6th percentile, in the 2026-11-16 dataset (CISA KEV, FIRST EPSS).
Upgrade lighttpd to 1.4.50 or later, or carry the backport. Until then, check every alias.url entry: if the alias and its target either both end in "/" or both do not, the flaw cannot be reached, and leaving mod_dirlisting off limits what a request can see. Our path traversal fix guide covers URL-to-file mapping in vendor code, and CVE-2022-22707 is another lighttpd flaw that depends on configuration.
Evidence
- lighttpd before 1.4.50 mod_alias_physical_handler: ../ traversal one directory above alias target when alias lacks trailing / but target has it; NVD CVSS v3.1 7.5 (C:H); CWE-22. — NVD
- Fix commit 2105dae (2018-07-01), credit Orange Tsai (DEVCORE); /img../ example; directory listing only if mod_dirlisting enabled (not default). — lighttpd commit 2105dae
- 1.4.50 released 2018-08-13 with "[mod_alias] security: potential path traversal with specific configs". — lighttpd 1.4.50 release notes
- CVE-2018-19052 lighttpd: fixed in WRLinux 8.0.0.30, 9.0.0.20, LTS 17 10.17.41.15; LTS 18/19 not vulnerable; defect LIN10-5011. — Wind River Linux security bulletin 2020-05-11
- openwrt-18.06 packages: lighttpd 1.4.48, "lighttpd: fix CVE-2018-19052" commit 6d82938 (2019-09-01) adds the mod_alias patch, PKG_RELEASE 4. — OpenWrt packages commit 6d82938
- DLA-2887-1: stretch fixed in 1.4.45-1+deb9u1. — Debian Security Tracker
- Not in the CISA KEV catalog as of 2026-11-17 (catalog version 2026.11.13). — CISA KEV
- EPSS 0.13714 (96.6th percentile), dataset 2026-11-16, read 2026-11-17. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Which configuration makes CVE-2018-19052 reachable?
An alias.url entry whose URL prefix does not end in "/" while its target path does, such as "/img" mapped to ".../images/". A request for "/img../" then resolves to the parent of the target (per NVD and the lighttpd fix commit).
What can an attacker read through CVE-2018-19052?
Files one directory above the alias target, and a listing of that directory if mod_dirlisting is enabled, which is not the default (per the lighttpd fix commit).
Does a firmware with lighttpd 1.4.48 have CVE-2018-19052?
Not always. OpenWrt 18.06 kept 1.4.48 and backported the fix as package release 1.4.48-4 on 2019-09-01, so check the package release or the patch, not only the upstream version (per OpenWrt packages commit 6d82938).
Is CVE-2018-19052 known to be exploited?
It is not in the CISA KEV catalog as of 2026-11-17 (catalog version 2026.11.13). FIRST EPSS gives it 0.1371, the 96.6th percentile, in the 2026-11-16 dataset (per CISA KEV and FIRST EPSS).
Questions about this page?