{"schemaVersion":3,"id":"CVE-2021-40358","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-11-09T11:32:04.000Z","modified":"2024-08-04T02:44:09.554Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.9,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.9,"severity":"critical","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.9,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01274,"percentile":0.69446,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.01274},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01274,"percentile":0.69446}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01274,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01274,"percentile":0.69446}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"siemens","product":"simatic_pcs_7","name":"simatic pcs 7","label":"simatic_pcs_7","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"8.2","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null},{"text":"9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.2 | 9.0 | 9.1","eol":null,"hubHref":"/vendor/siemens/simatic_pcs_7"},{"vendor":"siemens","product":"simatic pcs 7 v8.2","name":"SIMATIC PCS 7 V8.2","label":"simatic pcs 7 v8.2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":"/vendor/siemens/simatic_pcs_7_v82"},{"vendor":"siemens","product":"simatic pcs 7 v9.0","name":"SIMATIC PCS 7 V9.0","label":"simatic pcs 7 v9.0","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"All versions < V9.0 SP3 UC04","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions < V9.0 SP3 UC04","eol":null,"hubHref":"/vendor/siemens/simatic_pcs_7_v90"},{"vendor":"siemens","product":"simatic pcs 7 v9.1","name":"SIMATIC PCS 7 V9.1","label":"simatic pcs 7 v9.1","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"All versions < V9.1 SP1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions < V9.1 SP1","eol":null,"hubHref":"/vendor/siemens/simatic_pcs_7_v91"},{"vendor":"siemens","product":"simatic_wincc","name":"simatic wincc","label":"simatic_wincc","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"7.4","noFixRecorded":false,"fixedIn":null},{"text":"7.4:sp1","noFixRecorded":false,"fixedIn":null},{"text":"7.4:sp1_update1","noFixRecorded":false,"fixedIn":null},{"text":"7.4:sp1_update10","noFixRecorded":false,"fixedIn":null},{"text":"7.4:sp1_update11","noFixRecorded":false,"fixedIn":null},{"text":"7.4:sp1_update12","noFixRecorded":false,"fixedIn":null},{"text":"7.4:sp1_update13","noFixRecorded":false,"fixedIn":null},{"text":"7.4:sp1_update14","noFixRecorded":false,"fixedIn":null},{"text":"7.4:sp1_update15","noFixRecorded":false,"fixedIn":null},{"text":"7.4:sp1_update16","noFixRecorded":false,"fixedIn":null},{"text":"7.4:sp1_update17","noFixRecorded":false,"fixedIn":null},{"text":"7.4:sp1_update18","noFixRecorded":false,"fixedIn":null},{"text":"7.4:sp1_update2","noFixRecorded":false,"fixedIn":null},{"text":"7.4:sp1_update3","noFixRecorded":false,"fixedIn":null},{"text":"7.4:sp1_update4","noFixRecorded":false,"fixedIn":null},{"text":"7.4:sp1_update5","noFixRecorded":false,"fixedIn":null},{"text":"7.4:sp1_update6","noFixRecorded":false,"fixedIn":null},{"text":"7.4:sp1_update7","noFixRecorded":false,"fixedIn":null},{"text":"7.4:sp1_update8","noFixRecorded":false,"fixedIn":null},{"text":"7.4:sp1_update9","noFixRecorded":false,"fixedIn":null},{"text":"7.4:update_1","noFixRecorded":false,"fixedIn":null},{"text":"7.5","noFixRecorded":false,"fixedIn":null},{"text":"7.5:sp1","noFixRecorded":false,"fixedIn":null},{"text":"7.5:sp1_update1","noFixRecorded":false,"fixedIn":null},{"text":"7.5:sp1_update2","noFixRecorded":false,"fixedIn":null},{"text":"7.5:sp2","noFixRecorded":false,"fixedIn":null},{"text":"7.5:sp2_update1","noFixRecorded":false,"fixedIn":null},{"text":"7.5:sp2_update2","noFixRecorded":false,"fixedIn":null},{"text":"7.5:sp2_update3","noFixRecorded":false,"fixedIn":null},{"text":"7.5:sp2_update4","noFixRecorded":false,"fixedIn":null},{"text":"15","noFixRecorded":false,"fixedIn":null},{"text":"15.1","noFixRecorded":false,"fixedIn":null},{"text":"15.1:update_1","noFixRecorded":false,"fixedIn":null},{"text":"15.1:update_2","noFixRecorded":false,"fixedIn":null},{"text":"15.1:update_3","noFixRecorded":false,"fixedIn":null},{"text":"15.1:update_4","noFixRecorded":false,"fixedIn":null},{"text":"15.1:update_5","noFixRecorded":false,"fixedIn":null},{"text":"15.1:update_6","noFixRecorded":false,"fixedIn":null},{"text":"16:update1","noFixRecorded":false,"fixedIn":null},{"text":"16:update2","noFixRecorded":false,"fixedIn":null},{"text":"16:update3","noFixRecorded":false,"fixedIn":null},{"text":"16:update4","noFixRecorded":false,"fixedIn":null},{"text":"17","noFixRecorded":false,"fixedIn":null},{"text":"17:update1","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.4 | 7.4:sp1 | 7.4:sp1_update1 | 7.4:sp1_update10 | 7.4:sp1_update11 | 7.4:sp1_update12 | 7.4:sp1_update13 | 7.4:sp1_update14 | 7.4:sp1_update15 | 7.4:sp1_update16 | 7.4:sp1_update17 | 7.4:sp1_update18 | 7.4:sp1_update2 | 7.4:sp1_update3 | 7.4:sp1_update4 | 7.4:sp1_update5 | 7.4:sp1_update6 | 7.4:sp1_update7 | 7.4:sp1_update8 | 7.4:sp1_update9 | 7.4:update_1 | 7.5 | 7.5:sp1 | 7.5:sp1_update1 | 7.5:sp1_update2 | 7.5:sp2 | 7.5:sp2_update1 | 7.5:sp2_update2 | 7.5:sp2_update3 | 7.5:sp2_update4 | 15 | 15.1 | 15.1:update_1 | 15.1:update_2 | 15.1:update_3 | 15.1:update_4 | 15.1:update_5 | 15.1:update_6 | 16:update1 | 16:update2 | 16:update3 | 16:update4 | 17 | 17:update1","eol":null,"hubHref":"/vendor/siemens/simatic_wincc"},{"vendor":"siemens","product":"simatic wincc v15 and earlier","name":"SIMATIC WinCC V15 and earlier","label":"simatic wincc v15 and earlier","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"All versions < V15 SP1 Update 7","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions < V15 SP1 Update 7","eol":null,"hubHref":"/vendor/siemens/simatic_wincc_v15_and_earlier"},{"vendor":"siemens","product":"simatic wincc v16","name":"SIMATIC WinCC V16","label":"simatic wincc v16","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"All versions < V16 Update 5","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions < V16 Update 5","eol":null,"hubHref":"/vendor/siemens/simatic_wincc_v16"},{"vendor":"siemens","product":"simatic wincc v17","name":"SIMATIC WinCC V17","label":"simatic wincc v17","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"All versions < V17 Update 2","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions < V17 Update 2","eol":null,"hubHref":"/vendor/siemens/simatic_wincc_v17"},{"vendor":"siemens","product":"simatic wincc v7.4","name":"SIMATIC WinCC V7.4","label":"simatic wincc v7.4","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"All versions < V7.4 SP1 Update 19","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions < V7.4 SP1 Update 19","eol":null,"hubHref":"/vendor/siemens/simatic_wincc_v74"},{"vendor":"siemens","product":"simatic wincc v7.5","name":"SIMATIC WinCC V7.5","label":"simatic wincc v7.5","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"All versions < V7.5 SP2 Update 5","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions < V7.5 SP2 Update 5","eol":null,"hubHref":"/vendor/siemens/simatic_wincc_v75"}],"affectedCount":10,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-840188.pdf","label":"cert-portal.siemens.com/productcert/pdf/ssa-840188.pdf","hostname":"cert-portal.siemens.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-11-09T11:32:04.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T02:44:09.554Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T13:23:33.115Z","stale":false,"partial":false}}