CVE-2020-6981 is a hard-coded password in the firmware of Moxa EDS-G516E and EDS-510E industrial Ethernet switches on firmware 5.2 or lower, which lets an attacker gain access to the switch without proper authentication. NVD scores it 9.8. Changing the admin password does not remove it: Moxa offers new EDS-G516E firmware, and EDS-510E owners get the fix from Moxa Technical Support.
Vulnerability summary
CVSS base score
9.8
Critical severity
EPSS score (FIRST)
2.3%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2020-6981 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Moxa EDS-G516E Series | cpe:2.3:o:moxa:eds-g516e_firmware:*:*:*:*:*:*:*:* | Firmware 5.2 or lower (Moxa MPSA-190901, CISA ICSA-20-056-04; NVD CPE up to and including 5.2). Fix: new firmware download linked from Moxa's advisory |
| Moxa EDS-510E Series | cpe:2.3:o:moxa:eds-510e_firmware:*:*:*:*:*:*:*:* | Firmware 5.2 or lower (Moxa MPSA-190901, CISA ICSA-20-056-04; NVD CPE up to and including 5.2). Fix: contact Moxa Technical Support |
What does this mean for affected devices?
NVD carries the ICS-CERT description: "In Moxa EDS-G516E Series firmware, Version 5.2 or lower, an attacker may gain access to the system without proper authentication." ICS-CERT and NVD both class it CWE-798 (use of hard-coded credentials). The record was published on 2020-03-24 (NVD, CVE record).
What does a hard-coded password mean on this switch?
Moxa's advisory MPSA-190901 (2019-09-25) names the flaw "Use of a hard-coded password (CWE-798)" and its impact: "A user with malicious intent may gain access to the system without proper authentication." Moxa does not say which service or account carries the password. What matters for an operator is that the credential is built into the firmware, so it is the same on every EDS-G516E and EDS-510E on an affected release, and changing the configured admin password does not remove it. Only a firmware fix does.
How severe is it, and who scored it?
NVD's Primary score is CVSS v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), with a CVSS v2 score of 10.0. CISA's ICSA-20-056-04 CSAF file (2020-02-25) gives the same 9.8 and vector. CISA reported no known public exploits specifically targeting these flaws. Moxa and CISA credit researchers from Rostelecom-Solar and Positive Technologies.
Which switches are affected, and what fixes it?
| Product | Affected | Fix (Moxa MPSA-190901, CISA ICSA-20-056-04) |
|---|---|---|
| EDS-G516E Series | Firmware 5.2 or lower | New firmware download from Moxa |
| EDS-510E Series | Firmware 5.2 or lower | Contact Moxa Technical Support |
The CVE record names only the EDS-G516E; Moxa, CISA and NVD's CPE configuration (eds-g516e_firmware and eds-510e_firmware up to and including 5.2) also include the EDS-510E.
How do you fix or mitigate it?
Update the EDS-G516E to the firmware Moxa links from the advisory and get the EDS-510E fix from Moxa Technical Support. Moxa gives no configuration workaround for the hard-coded password itself, so until the update is in, limit which hosts can reach the switch's management services at all. The same advisory has a second built-in secret: CVE-2020-6979, a hard-coded cryptographic key (CWE-321) that NVD scores 7.5 and CISA 9.8. For that one, Moxa says to set a password on configuration files under Configuration File Encryption. It also advises enabling HTTPS and Account Login Failure Lockout against the cleartext and weak-password CVEs in the same advisory.
Related advisories: CVE-2020-7007, the 802.1X page stack overflow fixed by the same update, CVE-2021-22667, a hard-coded login in the Advantech BB-ESWGP506 switch, and CVE-2015-6476, hard-coded SSH keys in Advantech EKI devices. Our Moxa EDS and EDR guide lists every switch and router CVE with its fix, and the hard-coded credentials fix guide covers this weakness class.
CVE-2020-6981 is not in the CISA KEV catalog as of 2026-11-22 (catalog version 2026.11.20, 1,790 entries). FIRST EPSS gives it 0.02271, a percentile of 83.5, in the 2026-11-21 dataset (CISA KEV, FIRST EPSS).
Evidence
- NVD (read 2026-11-22): status Modified, published 2020-03-24, last modified 2026-06-17; NVD Primary CVSS v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H and CVSS v2 10.0; CWE-798 (ICS-CERT and NVD); CPEs eds-g516e_firmware and eds-510e_firmware up to and including 5.2. CVE-2020-6979 NVD Primary CVSS v3.1 7.5. — NVD
- CVE record (checked 2026-11-22): state PUBLISHED, CNA ICS-CERT, published 2020-03-24; affected 'Moxa EDS-G516E Series firmware, Version 5.2 or lower'; no CNA CVSS score. — CVE.org
- CISA CSAF ICSA-20-056-04 version 1 (2020-02-25), read 2026-11-22: CVE-2020-6981 CWE-798, CVSS v3.0 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; CVE-2020-6979 CWE-321 9.8; EDS-510E and EDS-G516E <= 5.2 known affected; remediations: EDS-G516E download new firmware, EDS-510E contact Moxa Technical Support, configuration file encryption password, HTTPS, account login failure lockout; no known public exploits; credits Rostelecom-Solar and Positive Technologies. — CISA CSAF ICSA-20-056-04
- Moxa MPSA-190901 V1.0 (2019-09-25), read 2026-11-22: item 4 'Use of a hard-coded password (CWE-798), CVE-2020-6981: A user with malicious intent may gain access to the system without proper authentication'; item 3 hard-coded cryptographic key CVE-2020-6979; EDS-G516E: download new firmware; EDS-510E: contact Moxa Technical Support for vulnerabilities 1, 4 and 5; configuration file encryption for vulnerabilities 2 and 3. — Moxa MPSA-190901
- Not in the CISA KEV catalog, version 2026.11.20 (1,790 entries), checked 2026-11-22. — CISA KEV
- EPSS 0.02271, percentile 0.83497, dataset 2026-11-21, read 2026-11-22. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Does changing the admin password fix CVE-2020-6981?
No. The password is hard-coded in the firmware, so it exists alongside whatever password you configure. Moxa's advisory MPSA-190901 fixes it with new firmware for the EDS-G516E and through Moxa Technical Support for the EDS-510E; it lists no configuration workaround for this CVE.
Which switches and firmware versions are affected by CVE-2020-6981?
EDS-G516E and EDS-510E Series switches on firmware 5.2 or lower, per Moxa MPSA-190901, CISA ICSA-20-056-04 and NVD's CPE configuration. The CVE record text names only the EDS-G516E.
How is CVE-2020-6981 different from CVE-2020-6979?
Both are built-in secrets in the same firmware. CVE-2020-6981 is a hard-coded password that grants access without proper authentication (NVD 9.8). CVE-2020-6979 is a hard-coded cryptographic key that makes confidential data easier to recover (NVD 7.5, CISA 9.8); Moxa says to set a configuration file encryption password against it.
Is CVE-2020-6981 exploited in the wild?
It is not in the CISA KEV catalog as of 2026-11-22 (catalog version 2026.11.20, 1,790 entries), and CISA's advisory reported no known public exploits specifically targeting it. FIRST EPSS gives it 0.02271 (percentile 83.5) in the 2026-11-21 dataset.
Questions about this page?