BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2021-40358 in Siemens SIMATIC WinCC and 3 more products

Critical 9.9 Industrial / OT

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.

Affects 4 products from 1 vendor. Description from NVD and MITRE.

CVSS 3.19.9
EPSS1.3%
EPSS percentile71th

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Siemens SIMATIC WinCC 15 15.1 16 17 < 7.5 SP2 Update 5
Siemens SIMATIC Pcs 7 (device and firmware) 8.2 9.0 9.1 < 9.1 SP1
Siemens WinCC 15 15.1 16 17 < 7.5 SP2 Update 5

Fix and vendor advisory

  • SIMATIC PCS 7 V8.2: Update to V8.2 SP1; then update SIMATIC WinCC to V7.4 SP1 Update 19 or later version to fix CVE-2021-40358 and CVE-2021-40364
  • SIMATIC WinCC V15 and earlier: Update to V15 SP1 Update 7 or later version
  • SIMATIC WinCC V16: Update to V16 Update 5 or later version
  • SIMATIC WinCC V17: Update to V17 Update 2 or later version
  • SIMATIC WinCC V7.4: Update to V7.4 SP1 Update 19 or later version
  • SIMATIC WinCC V7.5: Update to V7.5 SP2 Update 5 or later version
  • SIMATIC PCS 7 V9.1: Update to V9.1 SP1 or later version
  • SIMATIC PCS 7 V9.0: Update to V9.0 SP3 UC04 or later version to fix CVE-2021-40358 and CVE-2021-40364

Source: ICSA-21-315-03

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2021-40358
BreachSpider IDBS-2021-GLOBAL-073464-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Published2021-11-09
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Compensating controls AI-drafted, review before use

Implement strict input validation and sanitization for all file operations on the web server. Ensure that path traversal characters and sequences are blocked or neutralized. Regularly review and audit access logs for suspicious activity.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.