Security Advisory

CVE-2021-22704: Harmony HMI FTP Path Traversal

Last updated:
  • CVE-2021-22704

CVE-2021-22704 is a path traversal flaw (CWE-22) on Schneider Electric Harmony/Magelis HMI panels configured with Vijeo Designer, Vijeo Designer Basic or EcoStruxure Machine Expert. Connecting to the panel over FTP could cause denial of service or expose system information. NVD scores it 9.1 and Schneider 8.8. Fixing it takes a software update and a new download to each panel.

Vulnerability summary

CVSS base score

9.1

Critical severity

EPSS score (FIRST)

1.3%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2021-22704 · Source: NVD

CVSS v3.1 severity rating scale: None 0.0, Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9, Critical 9.0 to 10.0
How a CVSS v3.1 base score maps to a severity rating. Source: FIRST CVSS v3.1 specification, section 5.

Affected components

ComponentCPEVersion range
Harmony/Magelis STO, STU, GTO, GTU, GTUX and GK HMIs configured with Schneider Electric Vijeo Designercpe:2.3:a:schneider-electric:vijeo_designer:*:*:*:*:*:*:*:*Vijeo Designer before V6.2 SP11 (NVD CPE: before 6.2.11); fix: V6.2 SP11 or later, then download the project to each HMI
Harmony/Magelis GXU HMIs configured with Vijeo Designer Basiccpe:2.3:a:schneider-electric:vijeo_designer:*:*:*:*:basic:*:*:*Vijeo Designer Basic before V1.2; fix: V1.2 from Schneider customer care, then download the firmware to each HMI
Harmony/Magelis SCU (HMISCU) configured with EcoStruxure Machine Expertcpe:2.3:a:schneider-electric:ecostruxure_machine_expert:*:*:*:*:*:*:*:*Machine Expert before V2.0 per Schneider (NVD CPE also lists 2.0); fix: Machine Expert V2.0 or later plus the latest HMISCU firmware in it

What does this mean for affected devices?

Schneider Electric's notice SEVD-2021-222-01, released on 10 August 2021, says "a CWE-22: Improper Limitation of a Pathname to a Restricted Directory vulnerability exists that could cause a Denial of Service or unauthorized access to system information when connecting to the Harmony HMI over FTP". It warns that unpatched panels risk unauthorized access through FTP, leading to denial of service or tampering with system files on the HMI. The notice's page header prints its own id as SEVD-2020-222-01; the title, CVE record and NVD reference all use SEVD-2021-222-01.

How severe is CVE-2021-22704?

NVD's Primary score is CVSS v3.1 9.1, AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H, plus CVSS v2 6.4 (NVD). Schneider scores it CVSS v3.1 8.8, AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H: it assumes low privileges and adds integrity impact. The CVE.org record carries Schneider's text without a CVSS block. Jie Chen of NSFOCUS reported it.

Which panels are affected and what is the fix?

The notice covers Harmony/Magelis STO, STU, GTO, GTU, GTUX and GK panels configured with Vijeo Designer before V6.2 SP11, GXU panels configured with Vijeo Designer Basic before V1.2, and SCU panels configured with EcoStruxure Machine Expert before V2.0. Each product's fix has two steps:

  1. Vijeo Designer: update the engineering workstation to V6.2 SP11 or later, then connect to the HMI and download the project again.
  2. Vijeo Designer Basic: get V1.2 from Schneider customer care, then download the firmware to the HMI again.
  3. Machine Expert: update to V2.0 or later, then update the HMISCU controller to the latest firmware shipped with it.

Until then, enable FTP protection (online help section 4.8.2.2, Download Access set to Allowed only for the security group), firewall the panels so TCP port 6001, which Schneider calls a non-standard FTP port, is blocked to unauthorized hosts, and use the software and HMIs only on trusted networks. NVD's CPE data marks Machine Expert 2.0 itself as vulnerable; Schneider names V2.0 as the fixed release.

The Schneider EcoStruxure HMI and SCADA software guide pairs this flaw with the hard-coded transfer password CVE-2020-7501 on the same port; CVE-2020-28221 is the Ethernet Download flaw on Operator Terminal Expert panels. The path traversal fix guide covers the root cause.

Is CVE-2021-22704 exploited?

It is not in the CISA KEV catalog as of 2026-11-28 (catalog version 2026.11.27, 1,808 entries). FIRST EPSS gives it 0.01282, the 70.1st percentile, in the 2026-11-27 dataset (CISA KEV, FIRST EPSS).

Three signals on every advisory: CVSS says how severe the flaw is, EPSS gives the probability of exploitation in the wild in the next 30 days, and a CISA KEV listing means the flaw has been exploited in the wild
CVSS rates severity, EPSS estimates the likelihood of exploitation, and CISA KEV records exploitation seen in the wild. Source: FIRST EPSS; CISA KEV catalog.
How to fix this class of issueThis advisory's weakness class is Path traversal. Our practical guide covers how to detect, fix, verify and disclose it: How to fix path traversal in embedded firmware.
From advisory to verified fix in four steps: read the advisory, find the affected component in the firmware SBOM, apply the fixed version or vendor mitigation, then re-scan the image to confirm the vulnerable version is gone
Read the advisory, find the component in your firmware SBOM, apply the fix, then re-scan to confirm it.

Evidence

  • NVD (read 2026-11-28): published 2021-09-02, status Modified; NVD Primary CVSS v3.1 9.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H; NVD Primary CVSS v2 6.4; CWE-22 (Schneider); CPE vijeo_designer before 6.2.11, vijeo_designer basic before 1.2, ecostruxure_machine_expert before 2.0 and 2.0, with Harmony GK/GTO/GTU/GTUX/STO/STU/GXU/SCU hardware. — NVD
  • Schneider SEVD-2021-222-01 V1.0 (10 August 2021, read 2026-11-28): affected Harmony/Magelis STO, STU, GTO, GTU, GTUX, GK (Vijeo Designer before V6.2 SP11), GXU (Vijeo Designer Basic before V1.2), SCU (Machine Expert before V2.0); CVSS v3.1 8.8 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; two-step remediation; mitigations: FTP protection per help 4.8.2.2, block TCP/6001 (not standard FTP port), trusted network; credited to Jie Chen (NSFOCUS); page header misprints the id as SEVD-2020-222-01. — Schneider Electric
  • CVE.org record (read 2026-11-28): assigner Schneider Electric, CWE-22, no CVSS metric in the CNA container. — CVE.org
  • Not in the CISA KEV catalog, catalog version 2026.11.27, 1,808 entries, checked 2026-11-28. — CISA KEV
  • EPSS 0.01282, percentile 0.70147, dataset 2026-11-27, read 2026-11-28. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. Schneider Electric SEVD-2021-222-01: Harmony/Magelis HMI products configured by Vijeo Designer, Vijeo Designer Basic and EcoStruxure Machine Expert
  3. CVE.org record (JSON)
  4. CISA KEV
  5. FIRST EPSS

Frequently asked questions

Is updating Vijeo Designer enough to fix CVE-2021-22704?

No. Schneider's SEVD-2021-222-01 says to update to Vijeo Designer V6.2 SP11 or later and then connect to each Harmony HMI and download the project again. Vijeo Designer Basic V1.2 needs a firmware download, and SCU panels need the latest HMISCU firmware from Machine Expert V2.0.

Which port should be blocked?

Schneider asks owners to segment the network and block all unauthorized access to TCP port 6001, which it describes as a non-standard FTP port, and to enable FTP protection through the Download Access setting in the Security editor.

Which Harmony panels are affected?

Harmony/Magelis STO, STU, GTO, GTU, GTUX and GK (Vijeo Designer), GXU (Vijeo Designer Basic) and SCU (EcoStruxure Machine Expert), when configured with versions before V6.2 SP11, V1.2 and V2.0 respectively.

Is CVE-2021-22704 in the CISA KEV catalog?

No, not as of 2026-11-28 (catalog version 2026.11.27, 1,808 entries). FIRST EPSS rates it 0.01282, the 70.1st percentile, in the 2026-11-27 dataset.