CVE-2021-38647: OMIGOD
- Vendor
- Microsoft Corporation
CVE-2021-38647 is an unauthenticated remote code execution vulnerability in Microsoft Open Management Infrastructure (OMI), a management framework for UNIX and Linux commonly installed by Azure management and monitoring services. Vulnerable OMI endpoints accept crafted HTTP requests without an Authorization header and permit command execution instead of returning an HTTP 401 response. Exploitation can invoke SCXcore RunAs provider operations, including ExecuteShellCommand and ExecuteScript, with the privileges of the OMI agent, normally root. Affected versions precede OMI 1.6.8.1.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can compromise the confidentiality, integrity, and availability of the affected host through arbitrary command execution, normally as root. Observed exploitation has included host reconnaissance and attempts to install cryptocurrency miners; Mirai botnet installation has also been reported.
Mitigation
If you can’t patch tonight, do this now.
Until patched, block untrusted network access to OMI HTTP/HTTPS management listeners, particularly TCP ports 1270, 5985, and 5986. Disable unnecessary OMI network listeners or restrict access to trusted management systems. Monitor external connections to these ports and unexpected SCX RunAs provider activity for possible exploitation.
Remediation
Patch, then assume compromise.
Upgrade OMI to version 1.6.8.1 or later, also represented as package version 1.6.8-1. Inventory standalone OMI installations and Azure agents that bundle it, update the affected packages or agents, and verify the installed OMI version rather than assuming the cloud provider has patched the guest operating system.
Exploits
4 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-38647 exploited in the wild?
- Yes. As of Nov 9, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
- Is there a public exploit for CVE-2021-38647?
- Yes. Mallory tracks 4 public exploits or proofs of concept for CVE-2021-38647, the earliest disclosed Sep 14, 2021.
- Is there a patch for CVE-2021-38647?
- Upgrade OMI to version 1.6.8.1 or later, also represented as package version 1.6.8-1. Inventory standalone OMI installations and Azure agents that bundle it, update the affected packages or agents, and verify the installed OMI version rather than assuming the cloud provider has patched the guest operating system.
- What products are affected by CVE-2021-38647?
- Microsoft Corporation Open Management Infrastructure, Microsoft Corporation Azure Automation State Configuration, Microsoft Corporation Azure Automation Update Management, Microsoft Corporation Azure Diagnostics, Microsoft Corporation Azure Diagnostics (Lad), and 7 more.
- How severe is CVE-2021-38647?
- CVE-2021-38647 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 99.9% (100th percentile) as of Nov 9, 2026.
Recent activity
10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.