Home / Siemens / SIMATIC PCS 7 V8.2 / CVE-2021-40358
CVE-2021-40358: is it exploited, and which versions of Siemens SIMATIC PCS 7 V8.2 are affected and fixed?
CVE-2021-40358 is a path traversal (reading or writing files outside the intended folder) vulnerability in Siemens SIMATIC PCS 7 V8.2. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: SIMATIC PCS 7 V8.2 All versions, SIMATIC PCS 7 V9.0 All versions < V9.0 SP3 UC04, SIMATIC PCS 7 V9.1 All versions < V9.1 SP1 and 5 more (CVE record by siemens). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.9, CVSS 3.1, from siemens).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:53 UTC.
What is CVE-2021-40358?
A vulnerability has been identified in SIMATIC PCS 7 V8.2 (All versions), SIMATIC PCS 7 V9.0 (All versions < V9.0 SP3 UC04), SIMATIC PCS 7 V9.1 (All versions < V9.1 SP1), SIMATIC WinCC V15 and earlier (All versions < V15 SP1 Update 7), SIMATIC WinCC V16 (All versions < V16 Update 5), SIMATIC WinCC V17 (All versions < V17 Update 2), SIMATIC WinCC V7.4 (All versions < V7.4 SP1 Update 19), SIMATIC WinCC V7.5 (All versions < V7.5 SP2 Update 5). Legitimate file operations on the web server of the affected systems do not properly neutralize special elements within the pathname. An attacker could then cause the pathname to resolve to a location outside of the restricted directory on the server and read, write or delete unexpected critical files.
From the CVE record by siemens, last updated August 4, 2024, 02:44 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Siemens | SIMATIC PCS 7 V8.2 | All versions | |
| Siemens | SIMATIC PCS 7 V9.0 | All versions < V9.0 SP3 UC04 | |
| Siemens | SIMATIC PCS 7 V9.1 | All versions < V9.1 SP1 | |
| Siemens | SIMATIC WinCC V15 and earlier | All versions < V15 SP1 Update 7 | |
| Siemens | SIMATIC WinCC V16 | All versions < V16 Update 5 | |
| Siemens | SIMATIC WinCC V17 | All versions < V17 Update 2 | |
| Siemens | SIMATIC WinCC V7.4 | All versions < V7.4 SP1 Update 19 | |
| Siemens | SIMATIC WinCC V7.5 | All versions < V7.5 SP2 Update 5 |
As the CVE record by siemens states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| siemens | simatic pcs 7 | 8.2 | application |
| siemens | simatic pcs 7 | 9.0 | application |
| siemens | simatic pcs 7 | 9.1 | application |
| siemens | simatic wincc | 7.4 | application |
| siemens | simatic wincc | 7.5 | application |
| siemens | simatic wincc | 15 | application |
| siemens | simatic wincc | 15.1 | application |
| siemens | simatic wincc | 16 | application |
| siemens | simatic wincc | 17 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:06 UTC.
How severe is CVE-2021-40358?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:P/RL:O/RC:C | siemens |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-40358 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.27% probability of exploitation activity in the next 30 days, percentile 70.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- September 1, 2021
- Published
- November 9, 2021, 11:32 UTC
- CVE record updated
- August 4, 2024, 02:44 UTC by siemens
- NVD
- Modified, last modified June 17, 2026, 04:06 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:53 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect SIMATIC PCS 7 V8.2?
- Jun 13, 2023CVE-2023-28829 Siemens SIMATIC NET PC Software V14: use of Obsolete Function
- May 10, 2022CVE-2022-24287 Siemens SIMATIC PCS 7 V8.2: insecure default setting
- Feb 9, 2022CVE-2021-40363 Siemens SIMATIC PCS 7 V8.2: sensitive information in an accessible file
- Feb 9, 2022CVE-2021-40360 Siemens SIMATIC PCS 7 V8.2: information disclosure
- Nov 9, 2021CVE-2021-40364 Siemens SIMATIC PCS 7 V8.2: sensitive information written to log files
- Nov 9, 2021CVE-2021-40359 Siemens OpenPCS 7 V8.2: path traversal (reading or writing files outside the intended folder)
- Mar 10, 2020CVE-2019-19282 Siemens OpenPCS 7 V8.1: incorrect Calculation of Buffer Size
- Jul 11, 2019CVE-2019-10935 Siemens AG SIMATIC PCS 7 V8.0 and earlier: unrestricted file upload
Every CVE in SIMATIC PCS 7 V8.2
Questions about CVE-2021-40358
Is CVE-2021-40358 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 1.27% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Siemens SIMATIC PCS 7 V8.2 are affected by CVE-2021-40358?
SIMATIC PCS 7 V8.2 All versions, SIMATIC PCS 7 V9.0 All versions < V9.0 SP3 UC04, SIMATIC PCS 7 V9.1 All versions < V9.1 SP1, SIMATIC WinCC V15 and earlier All versions < V15 SP1 Update 7, SIMATIC WinCC V16 All versions < V16 Update 5, SIMATIC WinCC V17 All versions < V17 Update 2 and 2 more, per the CVE record by siemens. The tables above give every range the sources list.
Which version fixes CVE-2021-40358?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2021-40358?
Critical (9.9, CVSS 3.1, from siemens). The severity table above shows each score with its source.
Where is the official record of CVE-2021-40358?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.