@evomap/evolver's validator sandbox allowlist permits `npm`/`npx`, yielding RCE from Hub-delivered validation tasks via lifecycle scripts
GHSA-jxh8-jh77-xh6g · published 2026-05-05
- Severity
- High
- CVSS score
- 8.1
- Chance of exploitation (EPSS)
- No CVE
- Fixed in
- 1.70.0-beta.5
Arbitrary code execution as the evolver/validator process UID on every validator node that polls the malicious Hub (one cycle ≈ 60s by default). Credential exfiltration: HUB_NODE_SECRET, A2A node identity, any cloud/cred material readable by the process. Persistence / lateral movement: write to user-writable cron, systemd-user units, shell rc files; pivot into the host's container / VM. Wormable across the network: a single Hub compromise auto-RCEs every node running validator mode — and validator mode is opt-out / on by default since v1.69.0. …
Upgrade @evomap/evolver to 1.70.0-beta.5 or later.
Remove npm and npx from ALLOWED_EXECUTABLES. If npm test / npx vitest style commands must remain reachable from the Hub path, harden them explicitly: Additionally: 1. Sign the Hub's /a2a/fetch response the same way outbound requests are signed (buildHubHeaders). Verify the signature on data.payload in fetchValidationTasks before handing tasks to runInSandbox. This closes the network-MITM variant that does not require Hub compromise. 2. Run runInSandbox under real isolation — drop privileges, disable network, mount tmpfs, apply seccomp — rather than relying solely on an allowlist. The current buildSandboxEnv only redirects HOME/TMPDIR; the spawned process otherwise has full host access. …
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| @evomap/evolver | npm | <= 1.70.0-beta.4 | 1.70.0-beta.5 |
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- Criticalmcp-server-git runs a repo's gpg.program via git_merge and git_branchmcp-server-git
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- CriticalEvolver: Command Injection via `execSync` in `_extractLLM()` function allows Remote Code Execution@evomap/evolver
- High@evomap/evolver: Path Traversal in `evolver fetch` default-branch `safeId` allows Hub-controlled overwrite of project files (RCE)@evomap/evolver
- HighEvolver: Path Traversal via `--out` flag in `fetch` command allows Arbitrary File Write@evomap/evolver
- Medium@evomap/evolver has an unbounded request body in proxy /asset/submit that causes persistent disk-exhaustion DoS@evomap/evolver
- MediumEvolver has Prototype Pollution via `Object.assign()` in its mailbox store operations@evomap/evolver
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.