Server-side request forgery in URL fetching in pinepaper/mcp-server
In @pinepaper.studio/mcp-server 1.6.13 through 1.6.21, tools that fetch a URL taken from their arguments did so from the MCP server process without checking the destination. Internal, loopback and link-local addresses were not refused, redirects were followed without re-checking each hop, and the NAT64 local-use prefix 64:ff9b:1::/48 was not treated as internal. Content from those addresses could be returned to the conversation. The affected tools are pinepaper_import_svg, pinepaper_import_asset and pinepaper_import_image from 1.6.13, pinepaper_media and pinepaper_audio_beats from 1.6.14, and pinepaper_brand_kit from 1.6.18. Before 1.6.13 these URLs were handed to the canvas page rather than fetched by the server. The reporter set up a local test server on 127.0.0.1 and, through a redirect, read back content from an internal path. The advisory records 1.6.13 through 1.6.21 as affected and 1.6.22 as patched, where every request goes through safeFetch, which resolves and checks each destination at every redirect hop. CVE-2026-137188 is assigned.
- Affected artifact
- pinepaper/mcp-server — URL-fetching tools (src/tools/handlers.ts)mcp server
- Affected versions
- @pinepaper.studio/mcp-server ≥ 1.6.13 to < 1.6.22
- Fixed in
- 1.6.22
- Last verified
- 2026-12-04
- Upstream aliases
- GHSA-r32g-3hfv-h4jjCVE-2026-137188
Severity
CVSS 4.0 score 6.1 (Medium), scored by HOL.
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
What this means
GHSA-r32g-3hfv-h4jj / CVE-2026-137188: in @pinepaper.studio/mcp-server, URL-fetching tools fetched caller-supplied URLs from the server process with no destination check, so internal and loopback addresses could be reached and their content returned. Fixed in 1.6.22; upgrade from 1.6.21 and below.
What to do
Upgrade @pinepaper.studio/mcp-server to 1.6.22 or later. Operators of similar tools should check every fetched destination, including each redirect hop, against private, loopback and link-local ranges before fetching.
Evidence
Precondition. An agent using an affected tool acting on content an attacker controls, such as a document, web page or email it is asked to read, which supplies the URL, as the advisory describes.
Source proof. Per the advisory, the reporter ran a local test server on 127.0.0.1 serving an image at one path and a redirect to an internal path at another; calling pinepaper_import_image with the redirect URL returned the internal path's content. HOL did not run the server; this rests on the advisory.
Version determination. Determined by range — The advisory states @pinepaper.studio/mcp-server 1.6.13 through 1.6.21 is affected, patched in 1.6.22.
Disclosure
Disclosure state: independent public · Publisher: pinepaper/mcp-server
Naming decision: named. Vendor named as drafted. Finding already public with fix published; naming call sits with this job under Nov 24-25 2026 rules.
Vendor response: fixed — Fix published in 1.6.22.
2026-10-24 · vendor action
Maintainers published advisory GHSA-r32g-3hfv-h4jj with the fix in 1.6.22.
2026-12-04 · guard update
Status moved from draft to triaged: Transition to triaged: record is in scope, sources are primary, finding already public and fixed upstream in 1.6.22, CVE-2026-137188 assigned.
2026-12-04 · guard update
Status moved from triaged to evidence_verified: Transition to evidence_verified: record is in scope, sources are primary, finding already public and fixed upstream in 1.6.22, CVE-2026-137188 assigned.
2026-12-04 · disclosure
Status moved from evidence_verified to public: Transition to public: record is in scope, sources are primary, finding already public and fixed upstream in 1.6.22, CVE-2026-137188 assigned.
Affected artifact references
Cite this record
[HOL-VULN-2026-0018] Server-side request forgery in URL fetching in pinepaper/mcp-server — HOL Agent Vulnerability Ledger, HOL (hol.org), 2026. https://hol.org/guard/security/vulnerabilities/hol-vuln-2026-0018
Canonical URL: https://hol.org/guard/security/vulnerabilities/hol-vuln-2026-0018
Found an error in this record, or want to appeal it? Report an issue or appeal.
Appeal or correct this record
Maintainers and affected parties can submit evidence, dispute the record, or request a correction through the disclosure page. A dispute marks the record visibly disputed — it never silently disappears.