# 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 U…

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.9
- **CVSS:** 9.9 (v3.1, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High; E: P; RL: O; RC: C
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.27% (percentile 70, 2026-11-26)
- **CWE:** CWE-22
- **Published:** 2021-11-09T11:32:04.000Z
- **Modified:** 2026-06-17T04:06:47.527Z

## Who should check

- Anyone running Siemens SIMATIC PCS 7 V8.2 All versions
- Anyone running Siemens SIMATIC PCS 7 V9.0 All versions \< V9.0 SP3 UC04
- Anyone running Siemens SIMATIC PCS 7 V9.1 All versions \< V9.1 SP1
- Anyone running Siemens SIMATIC WinCC V15 and earlier All versions \< V15 SP1 Update 7
- Anyone running Siemens SIMATIC WinCC V16 All versions \< V16 Update 5
- Anyone running Siemens SIMATIC WinCC V17 All versions \< V17 Update 2
- Anyone running Siemens SIMATIC WinCC V7.4 All versions \< V7.4 SP1 Update 19
- Anyone running Siemens SIMATIC WinCC V7.5 All versions \< V7.5 SP2 Update 5

## Description

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.

## Affected and fixed versions

- Siemens SIMATIC PCS 7 V8.2: All versions (cvelist)
- Siemens SIMATIC PCS 7 V9.0: All versions \< V9.0 SP3 UC04 (cvelist)
- Siemens SIMATIC PCS 7 V9.1: All versions \< V9.1 SP1 (cvelist)
- Siemens SIMATIC WinCC V15 and earlier: All versions \< V15 SP1 Update 7 (cvelist)
- Siemens SIMATIC WinCC V16: All versions \< V16 Update 5 (cvelist)
- Siemens SIMATIC WinCC V17: All versions \< V17 Update 2 (cvelist)
- Siemens SIMATIC WinCC V7.4: All versions \< V7.4 SP1 Update 19 (cvelist)
- Siemens SIMATIC WinCC V7.5: All versions \< V7.5 SP2 Update 5 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-40358. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-40358.md
Affected: 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 V…
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Siemens SIMATIC PCS 7 V8.2, Siemens SIMATIC PCS 7 V9.0, Siemens SIMATIC PCS 7 V9.1, Siemens SIMATIC WinCC V15 and earlier, Siemens SIMATIC WinCC V16, Siemens SIMATIC WinCC V17: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-40358 being exploited?

There is no confirmed exploitation: CVE-2021-40358 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-40358?

Critical: CVSS 9.9 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2021-40358?

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.

### Is there a fix for CVE-2021-40358?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2021-40358?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://cert-portal.siemens.com/productcert/pdf/ssa-840188.pdf>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-40358>

HTML: <https://flawdb.com/CVE-2021-40358> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-40358>
