Security Advisory

CVE-2022-31805: CODESYS V2 Cleartext Passwords on ABB AC500

Last updated:
  • CVE-2022-31805

CVE-2022-31805 is an unprotected password transport flaw in CODESYS V2 and V3 components: passwords between clients and servers cross the network without protection, so anyone who can sniff the traffic can learn them. ABB lists it for all AC500 V2 PLCs and says firmware 2.8.6 does not fix it. NVD's Primary score is CVSS v2 4.3; ABB scores it 9.8.

Vulnerability summary

CVSS base score

4.3

Medium 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-2022-31805 · Source: NVD

Affected components

ComponentCPEVersion range
ABB AC500 V2 PLCs (all PLC types)—all firmware; not fixed by 2.8.6, network separation is the workaround (ABB 3ADR011162; no NVD CPE)
CODESYS Development Systemcpe:2.3:a:codesys:development_system:*:*:*:*:*:*:*:*V2 before 2.3.9.69 (NVD CPE); V3 before 3.5.18.30 (CVE record)
CODESYS Gateway Client and Gateway Server V2cpe:2.3:a:codesys:gateway:*:*:*:*:*:*:*:*before 2.3.9.38 (CVE record, NVD CPE)
CODESYS Web server V1cpe:2.3:a:codesys:web_server:*:*:*:*:*:*:*:*before 1.1.9.23 (CVE record, NVD CPE)
CODESYS SP Realtime NTcpe:2.3:a:codesys:sp_realtime_nt:*:*:*:*:*:*:*:*before 2.3.7.30 (CVE record, NVD CPE)
CODESYS PLCWinNTcpe:2.3:a:codesys:plcwinnt:*:*:*:*:*:*:*:*before 2.4.7.57 (CVE record, NVD CPE)
CODESYS Runtime Toolkit 32 bit fullcpe:2.3:a:codesys:runtime_toolkit:*:*:*:*:*:*:x86:*before 2.4.7.57 (CVE record, NVD CPE)
CODESYS Edge Gateway for Windowscpe:2.3:a:codesys:edge_gateway:*:*:*:*:*:windows:*:*before 3.5.18.30 (CVE record, NVD CPE)
CODESYS HMI (SL)cpe:2.3:a:codesys:hmi_sl:*:*:*:*:*:*:*:*before 3.5.18.30 (CVE record, NVD CPE)
CODESYS OPC DA Server SLcpe:2.3:a:codesys:opc_server:*:*:*:*:*:*:*:*before 3.5.18.30 (CVE record, NVD CPE)
CODESYS PLCHandlercpe:2.3:a:codesys:plchandler:*:*:*:*:*:*:*:*before 3.5.18.30 (CVE record, NVD CPE)

What does this mean for affected devices?

NVD carries the CERT@VDE description: "In the CODESYS Development System multiple components in multiple versions transmit the passwords for the communication between clients and servers unprotected." NVD's Primary metric is CVSS v2 4.3 (AV:N/AC:M/Au:N/C:P/I:N/A:N). NVD also shows a CVSS v3.1 7.5 under its own name, labelled Secondary, identical to the CERT@VDE score (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N). The CWE is CWE-523, unprotected transport of credentials. The record was published on 2022-06-24 (NVD, CVE record).

Which CODESYS components are affected?

Component (CVE record, CERT@VDE) Affected before
Development System V2 / V3 2.3.9.69 / 3.5.18.30
Gateway Client and Gateway Server V2 2.3.9.38
Web server V1 1.1.9.23
SP Realtime NT V2 2.3.7.30
PLCWinNT V2, Runtime Toolkit 32 bit full V2 2.4.7.57
Edge Gateway for Windows, HMI (SL), OPC DA Server SL, PLCHandler, Gateway V3 3.5.18.30

NVD's CPE list matches these limits.

What does it mean for ABB AC500 V2?

ABB lists CVE-2022-31805 in advisory 3ADR011162 (revision A, 2023-03-28) for all AC500 V2 products: "The passwords between the communication clients and servers among the affected products are transmitted unprotected. This allows attackers to guess passwords if they are able to sniff the communication." ABB scores it CVSS v3.1 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), rating integrity and availability impact high as well, where CERT@VDE rates confidentiality only. Firmware 2.8.6 fixes the other eleven CVEs in that advisory, including the port 1200 denial of service CVE-2022-3192, but ABB states that it does not fix this one.

ABB's workaround is the network: exploitation needs network access to the PLC, so that access has to be limited, for example by separating the PLC network from any general purpose network such as office or home networks. In practice that means engineering traffic stays on a dedicated segment behind a firewall, programming PCs connect only to that network, and remote access goes through a VPN. Since the PLC password itself cannot be protected in transit, treat it as exposed to anyone who can capture traffic on that segment.

The same pattern of exposed CODESYS credentials appears in CVE-2019-9013 for CODESYS V3. See the ABB AC500, RTU500 and Relion guide and the weak cryptography fix guide.

CVE-2022-31805 is not in the CISA KEV catalog as of 2026-11-23 (catalog version 2026.11.20, 1,790 entries). FIRST EPSS gives it 0.01062, the 65.5th percentile, in the 2026-11-22 dataset (CISA KEV, FIRST EPSS).

How to fix this class of issueNo dedicated SoftWSP guide covers this weakness class; the fix is usually the vendor patch or firmware update referenced above. Our related guide explains how to plan and verify it: NIST SP 800-40 Rev. 4: enterprise patch management planning, explained.

Evidence

  • NVD (read 2026-11-23): status Modified; published 2022-06-24; NVD Primary CVSS v2 4.3 AV:N/AC:M/Au:N/C:P/I:N/A:N; [email protected] CVSS v3.1 7.5 labelled Secondary; CERT@VDE Secondary 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N; CWE-523 (CERT@VDE); CPEs CODESYS development_system < 2.3.9.69, gateway < 2.3.9.38, web_server < 1.1.9.23, sp_realtime_nt < 2.3.7.30, plcwinnt and runtime_toolkit < 2.4.7.57, edge_gateway, hmi_sl, opc_server, plchandler < 3.5.18.30. — NVD
  • CVE record (checked 2026-11-23): state PUBLISHED, CNA CERTVDE, published 2022-06-24; affected CODESYS Development System V2 < 2.3.9.69 and V3 < 3.5.18.30, Gateway Client/Server V2 < 2.3.9.38, Web server V1 < 1.1.9.23, SP Realtime NT < 2.3.7.30, PLCWinNT and Runtime Toolkit 32 bit full < 2.4.7.57, Edge Gateway for Windows, HMI (SL), OPC DA Server SL, PLCHandler, Gateway V3 < 3.5.18.30; CNA CVSS v3.1 7.5. — CVE.org
  • ABB 3ADR011162 rev A 2023-03-28 (PDF read 2026-11-23): all AC500 V2 firmware < 2.8.6 affected; CVE-2022-31805 CWE-523, CVSS v3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; firmware 2.8.6 fixes all CVEs except CVE-2022-31805; workaround: limit network access by separating the network from general purpose networks; publicly disclosed, no exploitation reported. — ABB 3ADR011162
  • Not in the CISA KEV catalog, catalog version 2026.11.20, 1,790 entries, checked 2026-11-23. — CISA KEV
  • EPSS 0.01062, percentile 0.65457, dataset 2026-11-22, read 2026-11-23. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. ABB 3ADR011162: AC500 V2 Cyber Security Advisory
  3. CVE.org record CVE-2022-31805
  4. CISA KEV
  5. FIRST EPSS

Frequently asked questions

Does AC500 V2 firmware 2.8.6 fix CVE-2022-31805?

No. ABB's advisory 3ADR011162 says firmware 2.8.6 fixes the other CVEs in the advisory but not CVE-2022-31805. The control ABB gives is limiting network access to the PLC.

What should AC500 V2 operators do?

Separate the PLC network from office and other general purpose networks, keep it behind a firewall, connect programming PCs only to that network and use a VPN for remote access, as ABB's advisory recommends.

Why do NVD, CERT@VDE and ABB give different scores?

NVD's Primary metric is an older CVSS v2 4.3. CERT@VDE scores confidentiality only (CVSS v3.1 7.5). ABB's 9.8 also rates integrity and availability impact as high for its AC500 V2 PLCs.

Is CVE-2022-31805 in the CISA KEV catalog?

No, not as of 2026-11-23 (catalog version 2026.11.20, 1,790 entries). FIRST EPSS rates it 0.01062 (65.5th percentile) in the 2026-11-22 dataset.