CVE-2021-38647: Microsoft Open Management Infrastructure (OMI) Remote Code Execution Vulnerability
CVE-2021-38647 is a critical-severity flaw (CVSS 9.8) affecting azure automation state configuration, azure automation update management, azure diagnostics \(lad\), reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Open Management Infrastructure (OMI) Remote Code Execution Vulnerability
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Used in ransomware campaigns
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 99.9% (top 1%) |
| CISA exploited list | Yes, fix due 2021-11-17, used in ransomware |
| Published | 2021-09-15 |
| Last modified | 2026-08-10 |
Last updated 2026-08-10 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: horizon3ai/CVE-2021-38647 (233 stars)
- GitHub PoC: AlteredSecurity/CVE-2021-38647 (67 stars)
- GitHub PoC: marcosimioni/omigood (20 stars)
- GitHub PoC: Immersive-Labs-Sec/cve-2021-38647
- Metasploit: Microsoft OMI Management Interface Authentication Bypass
- Nuclei scan template: Microsoft Open Management Infrastructure - Remote Code Execution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-38647?
azure automation state configuration: mitigate or apply the listed mitigation; azure automation update management: mitigate or apply the listed mitigation; azure diagnostics \(lad\): mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-38647 being exploited?
Yes. CVE-2021-38647 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2021-38647 affect?
CVE-2021-38647 affects azure automation state configuration, azure automation update management, azure diagnostics \(lad\). Severity is critical (CVSS 9.8). Open Management Infrastructure (OMI) Remote Code Execution Vulnerability
How urgent is CVE-2021-38647?
Priority 100/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Used in ransomware campaigns; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2021-38645 HIGH 7.8 EXPLOITED MITIGATE MITIGATE Microsoft Open Management Infrastructure (OMI) Privilege Escalation Vulnerability
- CVE-2021-38648 HIGH 7.8 EXPLOITED MITIGATE MITIGATE Microsoft Open Management Infrastructure (OMI) Privilege Escalation Vulnerability
- CVE-2021-38649 HIGH 7.0 EXPLOITED MITIGATE MITIGATE Microsoft Open Management Infrastructure (OMI) Privilege Escalation Vulnerability
- CVE-2022-29149 HIGH 7.8 MITIGATE MITIGATE Open Management Infrastructure (OMI) Elevation of Privilege Vulnerability