Skip to main content

Documentation-Search MCP EUVDEUVD-2026-139540

| CVE-2026-139902 LOW
Server-Side Request Forgery (SSRF) (CWE-918)
2026-11-30 disclosure@vulncheck.com GHSA-fq33-g3mq-f87f
2.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Plant prompt-injection payload in ingested content
  2. Delivery
    Agent invokes related() with attacker-controlled url
  3. Exploit
    related() skips domain allowlist and issues GET
  4. Execution
    Request reaches loopback/internal/metadata endpoint
  5. Impact
    Attacker infers internal reachability from response

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires: (1) a vulnerable deployment of the jpmorgan-payments/ai Documentation-Search MCP server BEFORE commit cc72482 with the related() tool exposed; (2) the ability to achieve prompt injection that influences the related() tool's url argument (the stated attack vector); and (3) the AI agent actually invoking related() with that argument (reflected as UI:P/passive interaction). LIMITING FACTORS: AC:H and AT:P indicate the attacker does not fully control the trigger - success depends on landing injected content that the agent processes and acts on, not a direct request. Impact is bounded to outbound GET-based internal reachability probing (loopback, internal hosts, cloud metadata); there is no confirmed write, code execution, or data-exfiltration primitive. Versions at or after commit cc72482 route related() through the shared validate_documentation_url() allowlist and are not affected.

Impact

This is a genuinely low-priority issue, and the signals agree rather than conflict. The supplied CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:P) scores 2.3, and the vuln.today decision label is 'monitor' - both point to low urgency. There is no EPSS score, no CISA KEV entry, and no public exploit code in the provided data (the references are the fix commit, the pull request, and a VulnCheck advisory - not a working PoC), so there is no evidence of active or at-scale exploitation. The impact is deliberately narrow: an SSRF that only forces outbound GET requests for internal reachability probing (VC:L, with VI/VA/SC/SI/SA all N), meaning no data exfiltration, write, or availability impact is established. Crucially, exploitation is not standalone remote-unauthenticated code: AC:H and AT:P reflect that the attacker must first achieve prompt injection to influence the related() tool's url argument, and UI:P reflects reliance on the agent/user invoking the tool. The main caveat is that confidentiality impact depends on how much an attacker learns from probe responses/timing in a given deployment - the input does not quantify this, so VC:L is a reasonable but not independently confirmed estimate. Overall: a real but minor defense-in-depth gap, correctly triaged as 'monitor', not an emergency.

Exploit ScenarioDerived

An attacker plants prompt-injection content (for example in a document or API response the AI agent ingests) that steers the agent into calling the related() tool with an attacker-chosen url such as http://169.254.169.254/ or a loopback/internal host. Because the pre-fix related() path skipped the developer.payments.jpmorgan.com domain allowlist, the server issues the GET and the attacker uses success/failure and response behavior to map internal reachability (cloud metadata endpoints, internal services, loopback). No public exploit code was identified in the provided data; exploitation also depends on high attack complexity and the agent actually invoking the tool.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 30, 2026

Server-side request forgery in the jpmorgan-payments/ai Documentation-Search MCP server, in builds prior to commit cc72482, allows an attacker who can land prompt-injected content to steer the related() tool's url argument into outbound GET requests against loopback services, internal hosts and cloud metadata endpoints - a low-confidentiality internal reachability-probing primitive rather than a write, code-execution or exfiltration path. Exploitation is constrained: the attacker does not directly control the trigger, since success depends on the model processing injected content and then invoking related() with the attacker-influenced URL (reflected as high attack complexity and passive user interaction in the assessed vector), and only deployments exposing the related() tool before the fix are affected. The vuln.today decision label is monitor, and no public exploit identified at time of analysis.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - update to commit cc72482c957151b74ce9d012ba6b3072b88e3afb or later (upstream PR https://github.com/jpmorgan-payments/ai/pull/19), which is the change that routes related() through the shared validate_documentation_url() allowlist and adds per-redirect-hop re-validation in read_documentation_page_raw(). Where the repository cannot be updated immediately, the described path can be removed by not exposing the related() tool to the agent (the vulnerable build validates URLs only in read_documentation(), so related() is the tool that bypasses the allowlist) - the trade-off is loss of related-document lookup functionality for the agent. Note that the address-resolution rejections (private, loopback, link-local, unspecified, reserved, multicast) and the manual redirect handling exist only in the fixed code; pre-fix builds have neither, so any external egress controls placed in front of the MCP server must account for the fact that the application itself performs no such check on the related() path. The advisory at https://www.vulncheck.com/advisories/jpmorgan-documentation-search-mcp-server-before-commit-cc72482-ssrf-via-related-tool documents the issue.

Affected VersionsENISA

jpmorgan-payments/ai Documentation-Search MCP server (jpmc.mcp_for_api_documentation) 23a83bfb7a5deb594aabebc7f9d803caef529138 <cc72482c957151b74ce9d012ba6b3072b88e3afb

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

The component is a Python Model Context Protocol (MCP) server (mcp/mcp-for-api-documentation/jpmc/mcp_for_api_documentation/server.py) that exposes documentation-lookup tools to an AI agent, with HTTP fetching handled through httpx and helper code in server_utils.py. This is CWE-918 (server-side request forgery): read_documentation() enforced a domain allowlist with a regular expression pinned to https?://developer\.payments\.jpmorgan\.com/, but related() dereferenced caller-supplied URLs through a path that skipped that validation entirely, so any URL reaching the tool was fetched. Because tool arguments are model-visible, injected content in the agent's context can supply an arbitrary url. The fixing commit cc72482 removes the per-tool regex and introduces validate_documentation_url(), a single shared guard that checks scheme is http/https, rejects URLs containing embedded credentials (username/password userinfo), enforces the ALLOWED_DOC_URL_PATTERN host allowlist, requires a hostname, and calls _reject_private_address() to resolve the host via socket.getaddrinfo and refuse private, loopback, link-local, unspecified, reserved or multicast addresses as DNS-rebinding/misconfiguration defense in depth. It also makes read_documentation_page_raw() follow redirects manually (MAX_REDIRECTS = 5) so every hop is re-validated instead of delegating redirect following to httpx, and raises InvalidDocumentationUrlError for rejected URLs. The commit notes the change as RDI-159 in PR #19.

Know when the next one hits your stack

  • 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 2.3 LOW
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.4 LOW

Attacker must achieve prompt injection (AC:H) and rely on the agent invoking the tool (UI:R), no auth (PR:N); SSRF crosses into internal systems (S:C) but only reveals reachability (C:L, I/A:N).

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

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

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

DescriptionCVE.org

The jpmorgan-payments/ai Documentation-Search MCP server before commit cc72482 contains a server-side request forgery vulnerability in the related() tool that skips domain validation of the url argument. Attackers influencing tool arguments through prompt injection can force GET requests to loopback services, internal hosts, and cloud metadata endpoints for internal reachability probing.

Threat Intelligence Overview

EPSS Score
0.3%
Top 70% exploitable
Prevalence
Rare
niche open-source single-vendor MCP server, minimal production footprint
Data Quality
3 sources
Confidence: Low

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 LOW
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

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

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

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