CVE-2020-5772 lets anyone with a web interface account on a Teltonika TRB245 gateway become root by uploading a tampered package file: 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)
1.1%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2020-5772 · 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 package file." Tenable, the CNA, titles it "Inadequate Validation of Package 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-5771, the same root path through a backup archive.
How does the package file upload give root?
The TRB245 Package Manager installs .ipk packages uploaded through the web interface. Tenable writes that the only integrity check it found was again a check against /etc/version. Its proof of concept takes a Teltonika package from the Teltonika wiki, adds passwd and shadow files to the package's /etc/ directory, repacks it under the same file name and uploads it; installing it overwrites the device's /etc/passwd and /etc/shadow, and the tester logs in over SSH as a new root-level user. Tenable also notes that "by default, users in the 'user' group have permission to do this" (its separate CVE-2020-5773), and that an attacker could instead trick an administrator into installing the package.
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-5772?
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 "Package signature check to verify that a package comes from Teltonika". 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-5772?
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-494, download of code without integrity check. 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-5772 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.01052, the 65.1st 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-494 (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 Package 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: Package signature check to verify that a package comes from Teltonika; 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.01052, percentile 0.65145, dataset 2026-11-20, read 2026-11-21. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Which TRB245 firmware fixes CVE-2020-5772?
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-5772?
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 a package signature check that verifies a package comes from Teltonika. Install packages only from Teltonika's own sources.
Is CVE-2020-5772 on the CISA KEV list?
No, not as of 2026-11-21 (catalog version 2026.11.20). FIRST EPSS gave it 0.01052 (65.1st percentile) in the 2026-11-20 dataset. Tenable published proof-of-concept files with its advisory.
Questions about this page?