{"schemaVersion":3,"id":"CVE-2026-70338","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Improper control of generation of code ('code injection') in Microsoft PowerShell allows an unauthorized attacker to bypass a security feature locally.","dates":{"published":"2026-08-11T17:07:12.900Z","modified":"2026-10-08T18:13:31.961Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00359,"percentile":0.28216,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.047999999999999994,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00311},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00359,"percentile":0.28216}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00359,"percentile":0.28216}]},"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-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"microsoft","product":"powershell","name":"powershell","label":"powershell","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.4, < 7.4.19.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.5, < 7.5.10.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.6, < 7.6.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.4, < 7.4.19.0 | ≥ 7.5, < 7.5.10.0 | ≥ 7.6, < 7.6.5","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"powershell","label":"Microsoft PowerShell","category":"lang"}},"hubHref":"/vendor/microsoft/powershell"},{"vendor":"microsoft","product":"powershell 7.4","name":"PowerShell 7.4","label":"powershell 7.4","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.4.0, < 7.4.19.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.4.0, < 7.4.19.0","eol":null,"hubHref":"/vendor/microsoft/powershell_74"},{"vendor":"microsoft","product":"powershell 7.5","name":"PowerShell 7.5","label":"powershell 7.5","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.5.0, < 7.5.10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.5.0, < 7.5.10.0","eol":null,"hubHref":"/vendor/microsoft/powershell_75"},{"vendor":"microsoft","product":"powershell 7.6","name":"PowerShell 7.6","label":"powershell 7.6","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.6.0, < 7.6.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.6.0, < 7.6.5","eol":null,"hubHref":"/vendor/microsoft/powershell_76"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-70338","label":"msrc.microsoft.com/update-guide/vulnerability/CVE-2026-70338","hostname":"msrc.microsoft.com","tags":["Vendor Advisory","Patch"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-08-11T17:07:12.900Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-08T18:13:31.961Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T21:01:05.665Z","stale":false,"partial":false}}