mcp-cve-project

CVE-2026-81095 | pg-aiguide started its MCP HTTP transport without enabling the host allow-list the underlying SDK provides. | High / 7.6

CVE Information

Field Value
CVE / NVD CVE-2026-81095
Date (index) 2026-08-27
Affected product (index) pg-aiguide started its MCP HTTP transport without enabling the host allow-list the underlying SDK provides.
GHSA ID None — no GitHub advisory published (search)
OWASP MCP Top 10 (2025) MCP04 - Software Supply Chain Attacks & Dependency Tampering
Published / disclosed 2026-08-27
Ecosystem Application / upstream project
Component pg-aiguide started its MCP HTTP transport without enabling the host allow-list the underlying SDK provides.
EPSS score 0.002160000 (FIRST EPSS, 2026-09-26)
CVSS score High / 7.6
CWE CWE-346
Affected versions <= 0.5.0, v0.5.0, v0.4.0, v0.3.1, v0.3.0, v0.2.4, v0.2.3, v0.2.2, v0.2.1, v0.2.0, v0.1.3, v0.1.2, v0.1.1
Fixed versions None published in NVD/OSV
Fix status Unfixed
Exploit status Public advisory / public CVE record
Notes Added during 2026-09-07 gap review against NVD, GitHub Advisory Database, OSV, OpenCVE, and related MCP advisory searches.

CVE Breakdown

What is the vulnerability?

pg-aiguide started its MCP HTTP transport without enabling the host allow-list the underlying SDK provides. src/httpServer.ts called the shared httpServerFactory helper and never set the DNS-rebinding-protection option, so the transport accepted a request whatever host it named. A page in a browser could therefore point a name it controlled at the address the server was bound to and drive the locally reachable MCP server through the visitor’s browser. The protection was already available in the packaged transport and simply not turned on, so updating the dependency alone would not have closed it. Version 0.5.1 passes the option explicitly.

Attack prerequisites / exposure

Exposure depends on deployment: reachable MCP transports, enabled MCP tools, local listeners without robust Host/Origin/authentication checks, or trusted workspace/project MCP configuration treated as safe input.

CVE is because of what bug?

The issue maps to CWE-346; review the upstream advisory for the exact vulnerable code path and patched implementation.

MCP-specific impact / why it matters

This issue affects an MCP server, SDK, gateway, client, integration, or MCP-enabled workflow where tool execution, transport exposure, secrets, files, or authorization boundaries are part of the risk surface.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory.

Fix / Remediation

Upgrade to the vendor-fixed version where available. Restrict MCP listeners to trusted networks, require authentication for HTTP/SSE/Streamable HTTP transports, validate Host and Origin headers, constrain filesystem and command-execution tools, and treat project/workspace MCP configuration as untrusted input.

Exploit / PoC

Prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.

Detection / verification