CVE-2018-20162 is a restricted-shell escape in the Digi TransPort LR54 cellular router. A user with 'super' command-line access can run commands as root on the router's underlying Linux. NVD scores it 9.9; Digi says it is not remotely exploitable without existing admin CLI access. Digi's fix is firmware 4.5.1 or later; the LR54 release notes name 4.5.1.4.
Vulnerability summary
CVSS base score
9.9
Critical severity
EPSS score (FIRST)
4.1%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2018-20162 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Digi TransPort LR54 cellular router (including LR54-FIPS) | cpe:2.3:o:digi:transport_lr54_firmware:*:*:*:*:*:*:*:* | 4.4.0.26 and earlier per the description and researcher (NVD CPE: before 4.4.0.26); fixed in 4.5.1.4 (Digi release notes) |
| Digi TransPort WR54 and WR64 cellular routers | — | named in Digi's 19 February 2019 alert; upgrade to 4.5.1 or later (WR54 4.5.1.4, WR64 4.5.2.1 per release notes); not in NVD's CPE list |
What does this mean for affected devices?
NVD carries the MITRE-assigned description: "Digi TransPort LR54 4.4.0.26 and possible earlier devices have Improper Input Validation that allows users with 'super' CLI access privileges to bypass a restricted shell and execute arbitrary commands as root." NVD's Primary score is CVSS v3.0 9.9 (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H), with CVSS v2 9.0 and CWE-20. MITRE published the record in March 2019 with no CNA score (NVD, CVE record).
How does the escape work?
The researcher, Stig Palmquist, explains on the Hackeriet blog that the LR54 runs Python scripts in a sandbox and offers a custom shell over SSH under the same restrictions. Interrupting a script with Ctrl-C passes its arguments unescaped to the CLI's error logging handler, which runs them as root. The attacker needs interactive CLI access with 'super' privileges, and the researcher notes that a user with this level is enabled by default. He tested firmware 4.4.0.26 and 4.3.2.24.
What does Digi say?
Digi's security center entry of 19 February 2019, "Digi LR54/WR64/WR54 CVE-2018-20162", says the flaw gives a user "with existing full-admin, command-line access, the ability to get a root shell", that it "is not remotely exploitable", and that customers should upgrade "to versions equal to or greater than 4.5.1". Digi adds that many critical parts of the router are read-only and installed code is protected by secure boot. The TransPort WR/LR release notes list 4.5.1.4 for the WR54, LR54 and LR54-FIPS (December 2018) with "A major security issue has been resolved. See CVE-2018-20162", and 4.5.2.1 for the WR64 (January 2019).
| Source | Affected | Fix |
|---|---|---|
| CVE description, researcher | LR54 4.4.0.26 and earlier tested builds | 4.5.1.4 (researcher) |
| NVD CPE | LR54 firmware before 4.4.0.26 | not stated |
| Digi alert | LR54, WR64, WR54 | 4.5.1 or later |
NVD's CPE range ends before 4.4.0.26, so a matcher that relies only on the CPE misses 4.4.0.26, the build the description names. Digi's "not remotely exploitable" and NVD's network vector are consistent once you read them together: the attack runs over an SSH session that already has 'super' credentials.
What should owners do?
Move LR54, WR54 and WR64 routers to 4.5.1 or later, keep 'super' accounts to the people who need them, and restrict SSH to the router to a management network. The Digi and Lantronix gateway and device server guide lists the other TransPort flaws, such as CVE-2020-10136 in the WR routers. For a Digi gateway flaw that needs no credentials at all, see CVE-2022-2634.
CVE-2018-20162 is not in the CISA KEV catalog as of 2026-11-24 (catalog version 2026.11.23, 1,792 entries). FIRST EPSS gives it 0.04085, the 91.0th percentile, in the 2026-11-23 dataset (CISA KEV, FIRST EPSS).
Evidence
- NVD (read 2026-11-24): status Modified; published 2019-03-21; NVD Primary CVSS v3.0 9.9 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H and CVSS v2 9.0; CWE-20; CPE transport_lr54_firmware versionEndExcluding 4.4.0.26. — NVD
- CVE record (checked 2026-11-24): state PUBLISHED, CNA MITRE, published 2019-03-17, no CNA CVSS score; references Bugtraq, Packet Storm and the Hackeriet blog. — CVE.org
- Not in the CISA KEV catalog, catalog version 2026.11.23, 1,792 entries, checked 2026-11-24. — CISA KEV
- EPSS 0.04085, percentile 0.90974, dataset 2026-11-23, read 2026-11-24. — FIRST EPSS
- Digi security center entry dated Feb 19, 2019 'Digi LR54/WR64/WR54 CVE-2018-20162 Major Security Vulnerability - Restricted Shell escape', read 2026-11-24: discovered by Stig Palmquist; requires existing full-admin command-line access; not remotely exploitable; upgrade to 4.5.1 or later; critical parts read-only, secure boot. — Digi International
- Digi TransPort WR/LR release notes 93001306 (version 4.5.2, January 2019), read 2026-11-24: history lists 4.5.2.1 (WR64) January 2019 and 4.5.1.4 (WR54, LR54, LR54-FIPS) December 2018; bug fix 'A major security issue has been resolved. See CVE-2018-20162'. — Digi release notes
- Hackeriet blog post dated 17/02/19, read 2026-11-24: Ctrl-C on a CLI-run Python script passes unescaped arguments to the error logging handler, giving root; needs interactive CLI with 'super' privileges, enabled by default; tested 4.4.0.26 and 4.3.2.24; upgrade to 4.5.1.4. — Hackeriet (researcher)

Related advisories
Sources
Frequently asked questions
Which firmware fixes CVE-2018-20162?
Digi tells customers to upgrade to 4.5.1 or later. The TransPort WR/LR release notes list the fix in 4.5.1.4 for the LR54, LR54-FIPS and WR54 (December 2018); the WR64 line starts at 4.5.2.1 (January 2019).
Can an attacker exploit it without a login?
No. The attacker needs interactive CLI access with 'super' privileges, for example over SSH. Digi calls it not remotely exploitable; NVD's vector is network with low privileges, which describes the same SSH session.
Why might a scanner miss firmware 4.4.0.26?
NVD's CPE range is 'before 4.4.0.26', while the CVE description and the researcher name 4.4.0.26 as vulnerable. Treat everything before 4.5.1 as affected, as Digi does.
Is CVE-2018-20162 in the CISA KEV catalog?
No, not as of 2026-11-24 (catalog version 2026.11.23, 1,792 entries). FIRST EPSS rates it 0.04085 (91.0th percentile) in the 2026-11-23 dataset.
Questions about this page?