Skip to main content
Vulnerability Database/CVE-2026-105487

CVE-2026-105487: reNgine Subdomain Discovery RCE Vulnerability

CVE-2026-105487 is an OS command injection flaw in reNgine's subdomain discovery function that enables remote code execution. This post covers the technical details, affected versions up to 2.2.0, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-105487 Overview

CVE-2026-105487 is an OS command injection vulnerability [CWE-77] in yogeshojha reNgine versions up to 2.2.0. The flaw resides in the subdomain_discovery function within web/reNgine/tasks.py, reachable through the listTargets endpoint. An authenticated remote attacker can manipulate the Name argument to inject arbitrary operating system commands. A public exploit exists, and the pull request intended to fix the issue is awaiting acceptance by the maintainer.

Critical Impact

Authenticated attackers can execute arbitrary OS commands on the host running reNgine, potentially exposing reconnaissance data and credentials stored by the platform.

Affected Products

  • yogeshojha reNgine versions up to and including 2.2.0
  • Component: listTargets endpoint
  • File: web/reNgine/tasks.py (function subdomain_discovery)

Discovery Timeline

  • 2026-10-06 - CVE-2026-105487 published to NVD
  • 2026-10-06 - Last updated in NVD database

Technical Details for CVE-2026-105487

Vulnerability Analysis

reNgine is an automated reconnaissance framework for web applications. The subdomain_discovery task invokes external reconnaissance tools using parameters sourced from target definitions created through the listTargets endpoint. The Name field is passed into a shell command without adequate sanitization, allowing shell metacharacters to break out of the intended argument context.

An attacker with the ability to create or modify a target entry can embed command separators or substitution syntax in the Name value. When subdomain_discovery later executes, the injected payload runs under the privileges of the reNgine worker process, which typically has access to scan results, API tokens, and the application database.

The EPSS probability for this issue is 1.089% (64th percentile), reflecting modest observed exploitation interest. However, the public availability of exploit details raises operational risk for internet-exposed instances.

Root Cause

The root cause is improper neutralization of special elements used in an OS command [CWE-77]. User-controlled input from the Name parameter is concatenated into a command string executed by the subdomain enumeration task, instead of being passed as a separate argument to a subprocess call with shell execution disabled.

Attack Vector

Exploitation requires network access to the reNgine web interface and authenticated access with permission to add or edit targets. The attacker submits a target Name containing shell metacharacters such as ;, |, $(), or backticks. When a scan is launched, subdomain_discovery constructs and executes the command, resulting in arbitrary command execution on the host.

Technical references, including the upstream issue and proposed patch, are tracked in the reNgine GitHub Issue #1561 and Pull Request #1562.

Stop Remote Code Execution Before It Runs

Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.

Stop Exploit Attempts

Detection Methods for CVE-2026-105487

Indicators of Compromise

  • Unexpected child processes spawned by the reNgine Celery worker or Django application container, especially shells such as sh, bash, or python executing unrelated commands.
  • Target entries in the reNgine database whose Name field contains shell metacharacters (;, &&, ||, |, `, $().
  • Outbound network connections from reNgine containers to unknown hosts following target creation events.

Detection Strategies

  • Inspect application logs for subdomain_discovery task invocations correlated with newly created targets that contain suspicious characters in the name field.
  • Monitor process ancestry on reNgine hosts for shells or interpreters descending from the worker process.
  • Deploy runtime behavioral monitoring on the container or host to flag command execution patterns inconsistent with normal reconnaissance tooling.

Monitoring Recommendations

  • Enable auditd or equivalent syscall auditing to log execve events from the reNgine worker user.
  • Forward Django and Celery logs to a centralized SIEM and alert on task failures or anomalous arguments passed to subdomain_discovery.
  • Baseline normal outbound traffic from the reNgine deployment and alert on deviations following target creation.

How to Mitigate CVE-2026-105487

Immediate Actions Required

  • Restrict network access to the reNgine web interface to trusted administrators only, placing it behind a VPN or authenticated reverse proxy.
  • Audit existing target entries for shell metacharacters in the Name field and remove any suspicious records.
  • Rotate any credentials, API keys, and tokens stored within reNgine if unauthorized target creation is suspected.

Patch Information

At the time of publication, the fix proposed in reNgine Pull Request #1562 is awaiting acceptance. Administrators should track the reNgine project repository for a tagged release containing the fix and upgrade immediately once available. Additional vulnerability metadata is published at VulDB entry for CVE-2026-105487.

Workarounds

  • Limit target creation privileges to a minimal set of trusted accounts and enforce strong authentication on reNgine user accounts.
  • Run reNgine in an isolated container or network segment with no access to sensitive internal systems, so command execution has limited blast radius.
  • Apply input validation at a reverse proxy layer to reject requests whose Name parameter contains shell metacharacters until the upstream patch is merged.
bash
# Example reverse proxy rule to block shell metacharacters in target names
# (adjust for your WAF or proxy syntax)
if ($request_body ~* "name=.*[;&|\$\`\(\)]") {
    return 403;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.