{"answers":{"affected":"7 open source packages ship an affected version, including Microsoft.PowerShell.SDK and powershell. It affects 10 products.","exploited":"There is no known exploitation of CVE-2022-26788 in the wild and no public exploit code.","fix":"Upgrade Microsoft.PowerShell.SDK to a fixed version for your release line: 7.0.10, 7.1.7 or 7.2.3.","what":"CVE-2022-26788 is a high-severity vulnerability in Microsoft Windows 10, published on 15 Apr 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-26788 and fix it if it is affected.\n\nWhat it is: CVE-2022-26788 is a high-severity vulnerability in Microsoft Windows 10, published on 15 Apr 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-26788 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- Microsoft.PowerShell.SDK (NuGet): affected from 7.0.0-preview.1; fixed in 7.0.10\n- Microsoft.PowerShell.SDK (NuGet): affected from 7.0.0-preview.1; fixed in 7.0.10\n- Microsoft.PowerShell.SDK (NuGet): affected from 7.1.0-preview.1; fixed in 7.1.7\n- Microsoft.PowerShell.SDK (NuGet): affected from 7.1.0-preview.1; fixed in 7.1.7\n- Microsoft.PowerShell.SDK (NuGet): affected from 7.2.0-preview.1; fixed in 7.2.3\n- Microsoft.PowerShell.SDK (NuGet): affected from 7.2.0-preview.1; fixed in 7.2.3\n- powershell (Bitnami): affected from 7.0.0; fixed in 7.0.10, 7.1.7, 7.2.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-26788/ (Markdown: https://insights.sbomify.com/CVE-2022-26788/index.md)","id":"CVE-2022-26788","markdown":"https://insights.sbomify.com/CVE-2022-26788/index.md","name":"CVE-2022-26788","record":{"aliases":["BIT-powershell-2022-26788","GHSA-q7x5-x7rr-2859"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"PowerShell","requires_auth":"low_privilege","summary":"An attacker can exploit a vulnerability in PowerShell to elevate privileges on affected Windows systems.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"powershell","vendor":"microsoft"},{"product":"windows_10","vendor":"microsoft"},{"product":"windows_11","vendor":"microsoft"},{"product":"windows_8.1","vendor":"microsoft"},{"product":"windows_rt_8.1","vendor":"microsoft"},{"product":"windows_server_2008","vendor":"microsoft"},{"product":"windows_server_2012","vendor":"microsoft"},{"product":"windows_server_2016","vendor":"microsoft"},{"product":"windows_server_2019","vendor":"microsoft"},{"product":"windows_server_2022","vendor":"microsoft"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C","version":"3.1"},"cwes":[],"description":"PowerShell Elevation of Privilege Vulnerability","ecosystems":["Bitnami","NuGet"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"PowerShell Elevation of Privilege Vulnerability","id":"CVE-2022-26788","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"microsoft:windows_10","products":["microsoft:windows_10","microsoft:windows_11","microsoft:windows_8.1","microsoft:windows_rt_8.1","microsoft:windows_server_2008","microsoft:windows_server_2012","microsoft:windows_server_2016","microsoft:windows_server_2019","microsoft:windows_server_2022"],"type":"privilege_escalation","year":"2022"},"n_packages":7,"n_references":1,"next":{"headline":"Windows Print Spooler Elevation of Privilege Vulnerability","id":"CVE-2022-26789"},"packages":[{"ecosystem":"Bitnami","fixed":["7.0.10","7.1.7","7.2.3"],"introduced":["7.0.0","7.1.0","7.2.0"],"last_affected":[],"package":"powershell","purl":"pkg:bitnami/powershell","source":"BIT-powershell-2022-26788"},{"ecosystem":"NuGet","fixed":["7.0.10"],"introduced":["7.0.0-preview.1"],"last_affected":[],"package":"Microsoft.PowerShell.SDK","purl":null,"source":"GHSA-q7x5-x7rr-2859"},{"ecosystem":"NuGet","fixed":["7.0.10"],"introduced":["7.0.0-preview.1"],"last_affected":[],"package":"Microsoft.PowerShell.SDK","purl":"pkg:nuget/Microsoft.PowerShell.SDK","source":"GHSA-q7x5-x7rr-2859"},{"ecosystem":"NuGet","fixed":["7.1.7"],"introduced":["7.1.0-preview.1"],"last_affected":[],"package":"Microsoft.PowerShell.SDK","purl":null,"source":"GHSA-q7x5-x7rr-2859"},{"ecosystem":"NuGet","fixed":["7.1.7"],"introduced":["7.1.0-preview.1"],"last_affected":[],"package":"Microsoft.PowerShell.SDK","purl":"pkg:nuget/Microsoft.PowerShell.SDK","source":"GHSA-q7x5-x7rr-2859"},{"ecosystem":"NuGet","fixed":["7.2.3"],"introduced":["7.2.0-preview.1"],"last_affected":[],"package":"Microsoft.PowerShell.SDK","purl":null,"source":"GHSA-q7x5-x7rr-2859"},{"ecosystem":"NuGet","fixed":["7.2.3"],"introduced":["7.2.0-preview.1"],"last_affected":[],"package":"Microsoft.PowerShell.SDK","purl":"pkg:nuget/Microsoft.PowerShell.SDK","source":"GHSA-q7x5-x7rr-2859"}],"prev":{"headline":"Windows Print Spooler Elevation of Privilege Vulnerability","id":"CVE-2022-26787"},"products":["PowerShell 7.0","PowerShell 7.1","PowerShell 7.2","Windows 10 Version 1507","Windows 10 Version 1607","Windows 10 Version 1809","Windows 10 Version 1909","Windows 10 Version 20H2","Windows 10 Version 21H1","Windows 10 Version 21H2","Windows 11 version 21H2","Windows 8.1","Windows Server 2008 R2 Service Pack 1","Windows Server 2008 R2 Service Pack 1 (Server Core installation)","Windows Server 2012","Windows Server 2012 (Server Core installation)","Windows Server 2012 R2","Windows Server 2012 R2 (Server Core installation)","Windows Server 2016","Windows Server 2016 (Server Core installation)","Windows Server 2019","Windows Server 2019 (Server Core installation)","Windows Server 2022","Windows Server version 20H2"],"published":"2022-04-15","related":[{"cvss_score":9.8,"headline":"Code injection in PowerShell Editor","id":"CVE-2018-8327","kev_date_added":null,"published":"2018-07-11"},{"cvss_score":8.8,"headline":"Microsoft PowerShell Remote Code Execution Vulnerability","id":"CVE-2026-96251","kev_date_added":null,"published":"2026-10-13"},{"cvss_score":8.8,"headline":"Microsoft PowerShell Remote Code Execution Vulnerability","id":"CVE-2026-70337","kev_date_added":null,"published":"2026-08-11"},{"cvss_score":8.5,"headline":"PowerShell Remote Code Execution Vulnerability","id":"CVE-2022-41076","kev_date_added":null,"published":"2022-12-13"},{"cvss_score":7.8,"headline":"Microsoft PowerShell Remote Code Execution Vulnerability","id":"CVE-2026-50523","kev_date_added":null,"published":"2026-08-14"},{"cvss_score":7.8,"headline":"Microsoft PowerShell Security Feature Bypass Vulnerability","id":"CVE-2026-70338","kev_date_added":null,"published":"2026-08-11"},{"cvss_score":7.8,"headline":"Microsoft PowerShell Security Feature Bypass Vulnerability","id":"CVE-2026-26143","kev_date_added":null,"published":"2026-04-14"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-01-02","vendors":["Microsoft"]},"summary":"An attacker can exploit a vulnerability in PowerShell to elevate privileges on affected Windows systems.","url":"https://insights.sbomify.com/CVE-2022-26788/"}