CVE-2020-5771 lets anyone with a web interface account on a Teltonika TRB245 gateway become root by uploading a tampered backup archive: firmware TRB2_R_00.02.04.01 only checked that the file matched /etc/version. NVD scores it 7.5. Tenable, which found it, says TRB2XX_R_00.02.04.3, released on 2020-07-31, fixes it.
Vulnerability summary
CVSS base score
7.5
High severity
EPSS score (FIRST)
2.0%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2020-5771 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Teltonika TRB245 gateway (TRB2 firmware) | cpe:2.3:o:teltonika-networks:trb245_firmware:00.02.04.01:*:*:*:*:*:*:* | TRB2_R_00.02.04.01 (NVD CPE and description; TRB2XX_R_00.02.04.1 in Teltonika's changelog). Fixed in TRB2XX_R_00.02.04.3, 2020-07-31 (Tenable TRA-2020-48, confirmed by Teltonika per Tenable's timeline) |
What does this mean for affected devices?
NVD's description: "Improper Input Validation in Teltonika firmware TRB2_R_00.02.04.01 allows a remote, authenticated attacker to gain root privileges by uploading a malicious backup archive." Tenable, the CNA, titles it "Inadequate Validation of Backup Archive Files" and published the record on 2020-08-03 (NVD, CVE record). Tenable's advisory covers the Teltonika TRB245 gateway, and NVD's CPE names TRB245 firmware 00.02.04.01. It is one of five TRB245 flaws in Tenable's research advisory TRA-2020-48, together with CVE-2020-5772, the same root path through a package.
How does the backup archive upload give root?
The TRB245 web interface lets a user download a backup archive, which holds the /usr/ and /etc/ directories, and upload it again. Tenable writes that Teltonika's documentation limits restores to archives from an identical device with identical or older firmware, but "the only check to verify that the archive is from a Teltonika device is to check the output of 'cat /etc/version'". Its proof of concept downloads a backup, adds a user to etc/passwd and etc/shadow, repacks and uploads it; after the reboot the tester logs in over SSH as the new root-level user.
The attacker needs a web interface account, which the CVSS vector records as low privileges. An account in the restricted 'user' group was enough by default, according to Tenable.
Which TRB245 firmware fixes CVE-2020-5771?
Tenable's solution is to "Upgrade to TRB2XX_R_00.02.04.3 or newer", and its timeline records that on 2020-08-03 Teltonika confirmed that all vulnerabilities were addressed in that release. Teltonika's TRB245 firmware changelog lists TRB2XX_R_00.02.04.3, dated 2020-07-31, with the new feature "Backup archive MD5 & SHA256 checksum calculation to help user identify altered backup archives". The changelog does not name the CVE. The affected release, which NVD writes as TRB2_R_00.02.04.01, appears in the changelog as TRB2XX_R_00.02.04.1 (2020-07-02).
Firmware from 00.02.04.3 on is fixed. Teltonika's changelog lists many TRB245 releases since then, so update to the current release for the device.
How severe is CVE-2020-5771?
NVD's Primary score is CVSS v3.1 7.5 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H), and the v2 score is 7.1. NVD's weakness is CWE-20, improper input validation. The CVE record carries no CNA score; Tenable's timeline notes that Teltonika disputed the first CVSS assessment and that the two agreed on a revised score. The result is root on the gateway, which gives an attacker control of the connection to the equipment behind it.
Is CVE-2020-5771 exploited?
It is not in the CISA KEV catalog as of 2026-11-21 (catalog version 2026.11.20, 1,790 entries). FIRST EPSS gives it 0.01952, the 80.8th percentile, in the 2026-11-20 dataset (CISA KEV, FIRST EPSS). Tenable published proof-of-concept files with its advisory.
What should TRB245 owners do?
Update to current TRB245 firmware. Limit web interface accounts to people who need them, and keep the web interface off the WAN and mobile side. Restore only backups you made yourself, and install packages only from Teltonika. Our Teltonika industrial cellular router guide covers the older RUT9XX and TRB2 CVEs alongside current RutOS flaws; an unauthenticated RUT9XX command injection from the same era is CVE-2018-17532, and an authenticated RutOS route to root is CVE-2023-32349.
Evidence
- NVD (read 2026-11-21): status Modified; published 2020-08-03; NVD Primary CVSS v3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, v2 7.1; CWE-20 (Primary); CPE teltonika-networks:trb245_firmware:00.02.04.01; reference Tenable TRA-2020-48. — NVD
- CVE record (read 2026-11-21): state PUBLISHED, CNA Tenable, published 2020-08-03; problem type 'Inadequate Validation of Backup Archive Files'; no CNA CVSS metric. — CVE.org
- Tenable TRA-2020-48 (read 2026-11-21): CVE-2020-5770 to CVE-2020-5773 on TRB245; backup and package checks only compare /etc/version; 'user' group can do this by default; solution 'Upgrade to TRB2XX_R_00.02.04.3 or newer'; 2020-08-03 Teltonika confirms all vulnerabilities addressed in TRB2XX_R_00.02.04.3; CVSS scoring discussed and agreed with Teltonika. — Tenable
- Teltonika TRB245 firmware changelog (oldid 187146, read 2026-11-21): TRB2XX_R_00.02.04.3 | 2020.07.31 New features: Backup archive MD5 & SHA256 checksum calculation to help user identify altered backup archives; previous release TRB2XX_R_00.02.04.1 | 2020.07.02. — Teltonika Networks wiki
- Not in the CISA KEV catalog, version 2026.11.20 (1,790 entries), checked 2026-11-21. — CISA KEV
- EPSS 0.01952, percentile 0.80770, dataset 2026-11-20, read 2026-11-21. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Which TRB245 firmware fixes CVE-2020-5771?
TRB2XX_R_00.02.04.3, released on 2020-07-31. Tenable's advisory names it as the fix and records Teltonika's confirmation. Any later firmware includes it; install the current release for the gateway.
Does an attacker need a login to exploit CVE-2020-5771?
Yes, a web interface account. Tenable found that by default even the restricted 'user' group could upload files this way, and that an attacker could also trick an administrator into uploading a tampered file.
What changed in the fixed firmware?
Teltonika's TRB245 changelog for TRB2XX_R_00.02.04.3 adds backup archive MD5 and SHA256 checksums so users can spot altered archives. Only restore backups you created and whose checksum you recorded.
Is CVE-2020-5771 on the CISA KEV list?
No, not as of 2026-11-21 (catalog version 2026.11.20). FIRST EPSS gave it 0.01952 (80.8th percentile) in the 2026-11-20 dataset. Tenable published proof-of-concept files with its advisory.
Questions about this page?