Skip to main content

pg-aiguide CVE-2026-81095

| EUVDEUVD-2026-67023 HIGH
Origin Validation Error (CWE-346)
2026-08-27 VulnCheck GHSA-x76c-qpjv-crcp
7.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Victim runs pg-aiguide MCP server locally
  2. Delivery
    Attacker lures victim to malicious web page
  3. Exploit
    Browser loads attacker JavaScript and caches attacker domain
  4. Install
    DNS TTL expires, domain re-resolves to localhost
  5. C2
    Browser JavaScript sends requests to local MCP HTTP endpoint
  6. Execute
    Missing host allow-list accepts any Host header
  7. Impact
    Attacker reads and writes MCP server data via victim browser

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
Exploitation Conditions

The victim must have pg-aiguide version 0.5.0 or earlier installed with its MCP HTTP transport actively running at the time of the attack, and must visit an attacker-controlled web page in a browser during that window (UI:P in CVSS 4.0). The attack additionally requires DNS rebinding to succeed - the attacker's domain must re-resolve to the local address of the MCP server before the browser's DNS cache refreshes, introducing a timing dependency captured by AT:P. Limiting factors include: the server must be locally reachable from the browser (typically loopback or LAN), the victim must actively browse to the malicious page while the server is running, and DNS rebinding success depends on browser DNS caching behavior and TTL enforcement. pg-aiguide instances running in isolated server environments where no browser is present or no external DNS resolution occurs are not exploitable via this vector.

Impact

The CVSS 4.0 score of 7.6 (AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N) reflects network-accessible, unauthenticated exploitation with passive user interaction and specific attack requirements (AT:P captures the DNS rebinding timing constraint). High confidentiality and integrity impact against the vulnerable system indicate full read and write access to the local MCP interface, with no availability degradation and no lateral scope change (SC/SI/SA all N). Real-world risk is moderate: exploitation requires (1) a pg-aiguide instance actively running locally and (2) the victim visiting an attacker-controlled web page during that window - the AT:P condition is meaningful friction. No CISA KEV listing and no public exploit code identified, keeping actual exploitation probability low. EPSS data was not provided in available intelligence. The primary risk is to developers running pg-aiguide locally who browse untrusted content concurrently; production server deployments without browser-accessible surfaces are unexploitable via this vector.

Exploit ScenarioDerived

An attacker serves a malicious web page whose JavaScript performs DNS rebinding: the attacker's domain initially resolves externally, delivers the exploit script, then the DNS TTL is allowed to expire and the record is updated to resolve to 127.0.0.1. The victim's browser subsequently treats requests to that domain as same-origin and forwards them to the local pg-aiguide MCP HTTP server, which accepts them without host header validation, granting the attacker read and write access to the MCP interface. No public exploit code has been identified, but the DNS rebinding technique is well-documented and existing tools lower the attack complexity.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 27, 2026

DNS rebinding against pg-aiguide's MCP HTTP transport (versions through 0.5.0) allows a remote unauthenticated attacker to access and control the locally-bound MCP server by exploiting the disabled host header allow-list in src/httpServer.ts. The underlying MCP SDK already provided DNS rebinding protection via a host allow-list option, but pg-aiguide's httpServerFactory call never enabled it, meaning every inbound Host header was accepted regardless of origin. No public exploit identified at time of analysis, though DNS rebinding is a well-documented attack class with readily available tooling.

RemediationAI

Upgrade pg-aiguide to version 0.5.1, which explicitly passes the DNS-rebinding-protection host allow-list option in the httpServerFactory call within src/httpServer.ts. Critically, upgrading the underlying MCP SDK dependency alone does NOT close the vulnerability - the application code must explicitly enable the option, as confirmed by the CVE description and PR #121 (https://github.com/timescale/pg-aiguide/pull/121). As a compensating control until patching is possible, restrict the MCP HTTP server to loopback only (127.0.0.1) via host-based firewall rules and ensure users running pg-aiguide avoid browsing untrusted web pages while the server is active. Note that firewall restrictions do not themselves prevent DNS rebinding from a same-machine browser context - the patch remains the authoritative fix.

Affected VersionsENISA

pg-aiguide 0 ≤0.5.0

Affected Packages

euvd pg_aiguide no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

pg-aiguide (CPE: cpe:2.3:a:timescale:pg-aiguide) is a Timescale developer tool that exposes a Model Context Protocol (MCP) server via HTTP transport. The root cause is CWE-346 (Origin Validation Error): src/httpServer.ts invokes the shared httpServerFactory helper but omits the DNS-rebinding-protection host allow-list parameter supplied by the underlying MCP SDK. DNS rebinding works by serving malicious JavaScript from an attacker-controlled domain, then allowing the DNS record to expire and re-resolve to a local IP (e.g., 127.0.0.1); the browser's same-origin policy is satisfied because the origin domain has not changed, so subsequent JavaScript requests reach the local MCP HTTP server. Because no Host header validation was enforced, the server accepted requests regardless of the hostname presented. The fix in version 0.5.1 explicitly passes the allow-list option in the call to httpServerFactory - upgrading the SDK dependency alone was insufficient because the option was simply not being passed.

Know when Pg Aiguide gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.6 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 8.0 HIGH

DNS rebinding requires precise timing and victim browser interaction (AC:H, UI:R); access crosses from the browser origin into the local MCP server (S:C); no authentication required and no availability impact.

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

pg-aiguide versions 0.5.0 and earlier contain a DNS rebinding vulnerability in the MCP HTTP transport that allows unauthenticated remote attackers to gain unauthorized access and control of locally-bound MCP servers. Organizations using affected versions expose critical local services to unauthorized network-based attacks without requiring authentication. Immediate network isolation and access controls are required pending vendor remediation.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) disable MCP HTTP transport if operationally feasible, restricting to local-only communication, (2) implement firewall allow-lists restricting MCP server access to authorized source networks, (3) deploy reverse proxy with strict host header allow-listing and validation, (4) network segmentation isolating pg-aiguide from untrusted network segments, and (5) continuous monitoring of vendor advisories for patch release.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
niche developer tool, limited enterprise production footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy