---
id: 2026-11-electerm-mcp-widget-prismor-local-api-web-page-reaches-loopback-cve-2026-136630-cve-2026-136185
title: "Electerm below 5.9.0 and Prismor below 1.57.0: a web page can call their local APIs (CVE-2026-136630, CVE-2026-136185); both fixed"
date_disclosed: 2026-11-02
last_updated: 2026-11-25
severity: high
status: patched
ecosystems: [npm, pypi, mcp, electerm, prismor, local-services]
tools_affected: ["Electerm below 5.9.0 with the MCP Server widget running", "`prismor` (PyPI) below 1.57.0 with its local API server running"]
tags: [cve, vulncheck, dns-rebinding, cors, localhost, mcp, command-execution, agent-guardrails, patched]
---

## TL;DR

VulnCheck published two records on 2026-11-24 and 2026-11-25 for local tools that a web page in your browser can reach. With Electerm's MCP Server widget running, a page can run commands locally and on open SSH sessions ([CVE-2026-136630](https://cveawg.mitre.org/api/cve/CVE-2026-136630)). With Prismor's local server running, a page can overwrite the policy that restricts your coding agent ([CVE-2026-136185](https://cveawg.mitre.org/api/cve/CVE-2026-136185)). Upgrade Electerm to 5.9.0 or later and Prismor to 1.57.0 or later.

## What happened

| | Electerm | Prismor |
|---|---|---|
| Product | Terminal and SSH client with a built-in MCP Server widget | Python package whose local API enforces file, shell and network policy on AI coding agents, per its advisory |
| Vendor advisory | [GHSA-45rj-2wq9-r9mr](https://github.com/electerm/electerm/security/advisories/GHSA-45rj-2wq9-r9mr), 2026-11-02, High, 8.8 | [GHSA-9xjv-g2ch-rfhc](https://github.com/PrismorSec/prismor/security/advisories/GHSA-9xjv-g2ch-rfhc), 2026-10-01, High, no number |
| CVE record | CVE-2026-136630, VulnCheck, 2026-11-25, 7.7 (4.0) and 7.5 (3.1) | CVE-2026-136185, VulnCheck, 2026-11-24, 7.1 (4.0) and 7.1 (3.1) |
| Default listener, per the advisory | 127.0.0.1 port 30837, empty API key | 127.0.0.1 port 7070 |
| Flaw | No Host or Origin check, so DNS rebinding reaches unauthenticated MCP tools | `PUT /api/policy/global` and `/api/policy/project` need no authentication and every response allows any origin |
| Result | Commands run on the machine and on open SSH sessions | Policy files overwritten, guardrails disabled, session and event data read |
| Affected | vendor: `<= 5.8.1`. CNA: before 5.9.0 | vendor: `<= 1.56.0`. CNA: before 1.57.0 |
| Fixed, registry date | 5.9.0, npm, 2026-11-07 | 1.57.0, PyPI, 2026-10-01 |

The file is dated by the Electerm advisory, the later of the two vendor pages. Both flaws need the local server to be running and the user to open an attacker's page in a browser on the same machine.

Electerm's advisory does not say whether the widget is on by default. Its vendor score is 8.8 with low attack complexity, and the CNA scores 7.5 with high complexity. Both vendor pages said "No known CVE" when read on 2026-11-25.

npm lists Electerm 5.8.0 and 5.9.0 and no 5.8.1. The vendor's patched field reads `> 5.8.1`.

Prismor's advisory lists the reporter's recommended changes and does not say which of them 1.57.0 makes.

Newest on the registries on 2026-11-25: Electerm 5.15.0, `prismor` 1.80.1.

## Am I affected?

```bash
npm ls -g electerm 2>/dev/null
pip show prismor 2>/dev/null | grep -i '^version'
```

- Electerm below 5.9.0 and you have started the MCP Server widget.
- Prismor below 1.57.0 and its local server is running.

## If you are affected

1. Upgrade both to the fixed versions or later.
2. Electerm: if the widget ran on an affected version while you browsed, review shell history on the machine and on hosts with open SSH sessions, and rotate keys those sessions could read. See [if your local AI agent was exploited](../playbooks/if-your-local-ai-agent-was-exploited.md).
3. Prismor: open your global and project policy files and compare them with what you intended. A policy changed by a page stays changed after the upgrade.

## Prevention

- A service on localhost is reachable from every page your browser loads. It needs a Host and Origin check and a token. See [MCP hygiene](../prevention/mcp-hygiene.md) and [agent sandboxing](../prevention/agent-sandboxing.md).
- Stop local agent servers when you are not using them.

## Sources

- [CVE-2026-136630](https://cveawg.mitre.org/api/cve/CVE-2026-136630) and [CVE-2026-136185](https://cveawg.mitre.org/api/cve/CVE-2026-136185), CNA VulnCheck. Descriptions, scores, ranges.
- [Electerm GHSA-45rj-2wq9-r9mr](https://github.com/electerm/electerm/security/advisories/GHSA-45rj-2wq9-r9mr), published 2026-11-02, read 2026-11-25 through a summarizing fetch. Defaults, range, vendor score.
- [Prismor GHSA-9xjv-g2ch-rfhc](https://github.com/PrismorSec/prismor/security/advisories/GHSA-9xjv-g2ch-rfhc), published 2026-10-01, read the same way. Product description, endpoints, defaults.
- npm registry record for `electerm` and PyPI simple API for `prismor`, read 2026-11-25. Versions and dates.
- [GitHub Advisory Database `mcp` listing](https://github.com/advisories?query=mcp+sort%3Apublished-desc) and [`agent` listing](https://github.com/advisories?query=agent+sort%3Apublished-desc): where the rows surfaced.
