CVE-2026-115805

Rapid7 Insight Agent Local Privilege Escalation via Shell Injection in mcp.json Configuration Path

Published Oct 29, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
Improper handling of local filesystem paths in Rapid7 Insight Agent on Linux and macOS may allow authenticated local users to gain elevated privileges. Exploitation requires existing local access and depends on the Agent's inventory collection processing the crafted path.

Analysis

AI-generated

Technical impact

The vulnerability involves improper handling of local filesystem paths within the Rapid7 Insight Agent, enabling a form of shell injection that can be triggered by a crafted configuration entry in mcp.json. The flaw is classified as an OS Command Injection weakness (CWE-78) and allows an authenticated local user to execute arbitrary commands. This can lead to elevated privileges and compromise of the host system.

Affected Systems

Rapid7 Insight Agent deployments on Linux and macOS that are running versions prior to 4.1.4.43 are affected. Systems with the older agent installed and where local users have access to the agent’s configuration or inventory directories are at risk.

Risk and Exploitability

With a CVSS score of 7.8 and no EPSS data available, the exploit reliance on local user access makes the threat moderate to high. The vulnerability is not listed in CISA’s KEV catalog. An attacker with local authenticated access can manipulate the agent’s inventory processing of a crafted path, resulting in shell command execution and privilege escalation. The attack vector is inferred to be local, requiring the attacker to have at least user‑level privileges to influence the agent’s configuration or inventory data.

Remediation

Vendor Solution

Update Rapid7 Insight Agent to version 4.1.4.43 or later.


OpenCVE Recommended Actions

  • Update Rapid7 Insight Agent to version 4.1.4.43 or later.
  • Restrict write permissions on the agent’s configuration directories, such as mcp.json, to privileged users only to prevent local users from injecting malicious paths.
  • Monitor inventory and configuration logs for abnormal command executions and apply additional hardening to limit local user capabilities.

Generated by OpenCVE AI on October 29, 2026 at 18:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Improper handling of local filesystem paths in Rapid7 Insight Agent on Linux and macOS may allow authenticated local users to gain elevated privileges. Exploitation requires existing local access and depends on the Agent's inventory collection processing the crafted path.
Title Rapid7 Insight Agent Local Privilege Escalation via Shell Injection in mcp.json Configuration Path
First Time appeared Rapid7
Rapid7 insight Agent
Weaknesses CWE-78
CPEs cpe:2.3:a:rapid7:insight_agent:*:*:linux:*:*:*:*:*
cpe:2.3:a:rapid7:insight_agent:*:*:macos:*:*:*:*:*
Vendors & Products Rapid7
Rapid7 insight Agent
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
rapid7
Published
Updated
Oct 30, 2026, 5:18 PM
Reserved
Oct 23, 2026, 3:57 PM
Status
Awaiting Analysis
Published
Oct 29, 2026, 5:18 PM
Modified
Oct 30, 2026, 6:17 PM