CVE-2022-0237 in Rapid7 Insight Agent
Rapid7 Insight Agent versions 3.1.2.38 and earlier suffer from a privilege escalation vulnerability, whereby an attacker can hijack the flow of execution due to an unquoted argument to the runas.exe command used by the ir_agent.exe component, resulting in elevated rights and persistent access to the machine. This is...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Rapid7 | Insight Agent | ≥ 3.1.2.38, ≤ 3.1.2.38 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Rapid7 Insight Agent versions 3.1.2.38 and earlier suffer from a privilege escalation vulnerability, whereby an attacker can hijack the flow of execution due to an unquoted argument to the runas.exe command used by the ir_agent.exe component, resulting in elevated rights and persistent access to the machine. This issue was fixed in Rapid7 Insight Agent version 3.1.3.80.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-0237 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-069858-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-03-17 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-264: Permissions, Privileges, and Access Controls
Broad class covering failures in permission enforcement. Deprecated in favor of CWE-284, CWE-862, CWE-863.
CWE-428: CWE-428
Analysis AI-written, not human-reviewed
Rapid7 Insight Agent versions 3.1.2.38 and earlier are vulnerable to a privilege escalation attack due to an unquoted argument in the runas.exe command used by the ir_agent.exe component, allowing attackers to gain elevated rights and persistent access.
An attacker can exploit this vulnerability by injecting malicious code into the command line arguments of the runas.exe command, which is used by the ir_agent.exe component. This injection can lead to the execution of arbitrary code with elevated privileges.
Questions
What is CVE-2022-0237?
Rapid7 Insight Agent versions 3.1.2.38 and earlier are vulnerable to a privilege escalation attack due to an unquoted argument in the runas.exe command used by the ir_agent.exe component, allowing attackers to gain elevated rights and persistent access.
What is the CVSS score for CVE-2022-0237?
CVE-2022-0237 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.4%.
Is CVE-2022-0237 actively exploited?
No confirmed active exploitation of CVE-2022-0237 as of 2026-09-25.
How do I remediate CVE-2022-0237?
Priority: HIGH. Advisory: https://docs.rapid7.com/release-notes/insightagent/20220225/ PSIRT: [email protected]
What systems are affected by CVE-2022-0237?
CVE-2022-0237 affects Rapid7 Insight Agent.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Rapid7","product":"Insight Agent","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.