# CVE-2022-41076: PowerShell Remote Code Execution Vulnerability

> Attackers can execute arbitrary code via PowerShell, affecting Windows operating systems and requiring security patches.

- **Severity:** High 8.5 (`CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 13 Dec 2022
- **Updated:** 22 Jul 2025
- **Also known as:** BIT-powershell-2022-41076, GHSA-hcfw-r2rr-7g6c

## What is CVE-2022-41076?

CVE-2022-41076 is a high-severity code injection vulnerability in Microsoft Windows 10, published on 13 Dec 2022. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

PowerShell Remote Code Execution Vulnerability

## Which versions are affected by CVE-2022-41076?

1 open source package ship an affected version, including powershell. It affects 11 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `powershell` | Bitnami | From 7.2.0 to 7.2.0 | None |

Products: Microsoft Powershell, Microsoft Windows 10, Microsoft Windows 11, Microsoft Windows 7, 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.

## How do I fix CVE-2022-41076?

No fix has been published for CVE-2022-41076 yet. Limit exposure of the affected software until one is available.

## Is CVE-2022-41076 being exploited?

There is no known exploitation of CVE-2022-41076 in the wild and no public exploit code.

## Other vulnerabilities in Microsoft Windows 10

- [CVE-2018-8327](https://insights.sbomify.com/CVE-2018-8327/): Code injection in PowerShell Editor (critical 9.8)
- [CVE-2026-96251](https://insights.sbomify.com/CVE-2026-96251/): Microsoft PowerShell Remote Code Execution Vulnerability (high 8.8)
- [CVE-2026-70337](https://insights.sbomify.com/CVE-2026-70337/): Microsoft PowerShell Remote Code Execution Vulnerability (high 8.8)
- [CVE-2026-50523](https://insights.sbomify.com/CVE-2026-50523/): Microsoft PowerShell Remote Code Execution Vulnerability (high 7.8)
- [CVE-2026-70338](https://insights.sbomify.com/CVE-2026-70338/): Microsoft PowerShell Security Feature Bypass Vulnerability (high 7.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2022-41076 and fix it if it is affected.

What it is: CVE-2022-41076 is a high-severity code injection vulnerability in Microsoft Windows 10, published on 13 Dec 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2022-41076 in the wild and no public exploit code.

Affected packages and fixed versions:
- powershell (Bitnami): affected from 7.2.0 up to 7.2.0; no fix listed

Task:
1. 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.
2. 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.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2022-41076/ (Markdown: https://insights.sbomify.com/CVE-2022-41076/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2022-41076
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2022-41076
- OSV: https://osv.dev/vulnerability/CVE-2022-41076

---
From sbomify Insights: https://insights.sbomify.com/CVE-2022-41076/
Summaries are generated and may contain mistakes; the official description above is the record.
