Junglewise Threat Intelligence

CVE-2026-42076: EvoMap Evolver command injection via execSync in _extractLLM

CVE-2026-42076 · Severity: low · CVSS 3.1 · Published 2026-04-22

Technologies: @evomap/evolver (npm), EvoMap Evolver. Vendors: npm, EvoMap.

Executive brief

EvoMap Evolver is a Node.js-based genetic algorithm framework that processes user input to optimize and analyze code. A command injection vulnerability in the core LLM extraction function allows attackers to execute arbitrary shell commands with the privileges of the Node.js process, leading to complete system compromise, data theft, malware installation, and lateral movement within networks.

Technical details

The vulnerability is an OS command injection (CWE-78) in the _extractLLM() function in src/gep/signals.js (lines 260-274). The function constructs a curl command by concatenating user-controlled input via the corpus parameter with shell command syntax, then passes the result to Node.js execSync() without proper sanitization. Although JSON.stringify() is used, it does not prevent shell metacharacter interpretation; attackers can inject commands using $(...) command substitution syntax. The corpus parameter originates from user snippets processed by extractSignals() in the main evolution loop. No authentication, special privileges, or user interaction is required; exploitation requires only the ability to provide input to the vulnerable function. A successful exploit grants remote code execution with full confidentiality, integrity, and availability impact. The vulnerability was patched in version 1.69.3.

Affected products

  • EvoMap Evolver < 1.69.3

Timeline

  • 2026-04-22: disclosed
  • 2026-04-20: patched: Version 1.69.3 released

References

Related threats