# CVE-2022-30190: Microsoft Windows Support Diagnostic Tool (MSDT) Remote Code Execution

> Attackers can execute arbitrary code via MSDT URL protocol triggered by applications like Word, requiring immediate patching.

- **Severity:** High 7.8 (`CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C`)
- **Exploited in the wild:** Yes, since 14 Jun 2022 (CISA KEV), used in ransomware
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Fix available:** No
- **Published:** 1 Jun 2022
- **Updated:** 6 Aug 2026
- **Also known as:** GHSA-4r9q-wqcj-x85j

## What is CVE-2022-30190?

CVE-2022-30190 is a high-severity code injection vulnerability in Microsoft Windows 10 1507, published on 1 Jun 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

### Official description

A remote code execution vulnerability exists when MSDT is called using the URL protocol from a calling application such as Word. An attacker who successfully exploits this vulnerability can run arbitrary code with the privileges of the calling application. The attacker can then install programs, view, change, or delete data, or create new accounts in the context allowed by the user’s rights.
Please see the MSRC Blog Entry for important information about steps you can take to protect your system from this vulnerability.

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

It affects 16 products.


Products: Microsoft Windows 10 1507, Microsoft Windows 10 1607, Microsoft Windows 10 1809, Microsoft Windows 10 20h2, Microsoft Windows 10 21h1, Microsoft Windows 10 21h2, Microsoft Windows 11 21h2, 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, Microsoft Windows Server 20h2.

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

No fix has been published for CVE-2022-30190 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 5 Jul 2022.

## Is CVE-2022-30190 being exploited?

Yes. Attackers have exploited CVE-2022-30190 in the wild since at least 14 Jun 2022, including in ransomware campaigns.

Public exploit code:

- CVE-2022-30190-follina.py-修改版，可以自定义word模板，方便实战中钓鱼使用。 (github_poc): https://github.com/komomon/CVE-2022-30190-follina-Office-MSDT-Fixed
- POC CVE-2022-30190 : CVE 0-day MS Offic RCE aka msdt follina (github_poc): https://github.com/JMousqueton/PoC-CVE-2022-30190
- CVE-2022-30190  Follina POC (github_poc): https://github.com/onecloudemoji/CVE-2022-30190
- Microsoft Office Word Rce 复现(CVE-2022-30190) (github_poc): https://github.com/doocop/CVE-2022-30190
- Proof of Concept of CVE-2022-30190 (github_poc): https://github.com/Malwareman007/Deathnote
- This Repository Talks about the Follina MSDT from Defender Perspective (github_poc): https://github.com/archanchoudhury/MSDT_CVE-2022-30190

## Other vulnerabilities in Microsoft Windows 10 1507

- [CVE-2017-8543](https://insights.sbomify.com/CVE-2017-8543/): Microsoft Windows Search Remote Code Execution (critical 9.8, exploited in the wild)
- [CVE-2025-33053](https://insights.sbomify.com/CVE-2025-33053/): Microsoft Windows External Control of File Name or Path (high 8.8, exploited in the wild)
- [CVE-2025-33073](https://insights.sbomify.com/CVE-2025-33073/): Microsoft Windows SMB Client Improper Access Control (high 8.8, exploited in the wild)
- [CVE-2024-49039](https://insights.sbomify.com/CVE-2024-49039/): Microsoft Windows Task Scheduler Privilege Escalation (high 8.8, exploited in the wild)
- [CVE-2024-43461](https://insights.sbomify.com/CVE-2024-43461/): Microsoft Windows MSHTML Platform Spoofing (high 8.8, exploited in the wild)

## Fix prompt for AI coding agents

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

What it is: CVE-2022-30190 is a high-severity code injection vulnerability in Microsoft Windows 10 1507, published on 1 Jun 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Exploitation: Yes. Attackers have exploited CVE-2022-30190 in the wild since at least 14 Jun 2022, including in ransomware campaigns.

Affected product: Microsoft Windows 10 1507. No package-level version data is available, so check the vendor advisory linked from the reference page.

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-30190/ (Markdown: https://insights.sbomify.com/CVE-2022-30190/index.md)
```

## Sources

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

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