6.1medium
PinePaper MCP: Server-side request forgery in URL fetching
- Severity
- 6.1medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.55% (higher than 47% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-r32g-3hfv-h4jj
Description
PinePaper MCP server enables AI tools to create animated graphics with PinePaper Studio. From 1.6.13 until 1.6.22, pinepaper_import_svg, pinepaper_import_asset and pinepaper_import_image can fetch attacker-influenced URLs from the MCP server without validating the destination; pinepaper_media and pinepaper_audio_beats are affected from 1.6.14, and pinepaper_brand_kit from_url and page requests from 1.6.18. The fetches can reach internal, loopback, link-local and NAT64 local-use addresses and follow redirects without rechecking each destination, including URLs embedded in imported SVG content. An attacker can influence these inputs through content read by an assistant, causing host-reachable service responses to be returned to the conversation. The image and media paths have content-type or recognized-extension restrictions, and the requests allow reads rather than write access. Fixed-host asset-search repositories are not affected. This issue is fixed in version 1.6.22.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| pinepaper mcp-server | >= 1.6.13, < 1.6.22 | CVE List |
| @pinepaper.studio/mcp-server (npm) | from 1.6.13 before 1.6.22 | GitHub Advisory Database |
All scores
| GitHub_M | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
PinePaper MCP server enables AI tools to create animated graphics with PinePaper Studio. From 1.6.13 until 1.6.22, pinepaper_import_svg, pinepaper_import_asset and pinepaper_import_image can fetch attacker-influenced URLs from the MCP server without validating the destination; pinepaper_media and pinepaper_audio_beats are affected from 1.6.14, and pinepaper_brand_kit from_url and page requests from 1.6.18. The fetches can reach internal, loopback, link-local and NAT64 local-use addresses and follow redirects without rechecking each destination, including URLs embedded in imported SVG content. An attacker can influence these inputs through content read by an assistant, causing host-reachable service responses to be returned to the conversation. The image and media paths have content-type or recognized-extension restrictions, and the requests allow reads rather than write access. Fixed-host asset-search repositories are not affected. This issue is fixed in version 1.6.22.
GitHub Advisory Database
Summary
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. Fixed in 1.6.22. - finder - mcp-safeguard (github.com/SyedAnas01/mcp-safeguard), the open-source MCP security scanner that found issue.
Details
Affected tools and the version each first fetched URLs server-side:
pinepaper_import_svg (url): 1.6.13
pinepaper_import_asset (url): 1.6.13
pinepaper_import_image (an http(s) source): 1.6.13
pinepaper_media and pinepaper_audio_beats (an http(s) source): 1.6.14
pinepaper_brand_kit from_url (and the requests that page makes): 1.6.18
Before 1.6.13 these URLs were handed to the canvas page rather than fetched by the server. The asset-search repositories (Iconify, Font Awesome) fetch fixed hosts and are not affected.
1.6.22 routes every one of these requests through safeFetch (dist/utils/safe-fetch.js). It resolves and checks each destination address at every redirect hop, and refuses private, loopback, link-local and NAT64 local-use ranges.
Proof of concept
Server-side request forgery, including redirect bypass to loopback (CWE-918)
src/tools/handlers.ts, fetchImageAsDataUrl (lines 355-375) and resolveMediaSource (lines 473-480) call fetch(url, {redirect: "follow"}) with no scheme, host, or IP filter. These are reached from pinepaper_import_image, inlineSvgImages (any href in imported SVG content), pinepaper_media, and pinepaper_audio_beats.
A local test server was set up on 127.0.0.1 to serve an image at one path and return a 302 redirect to an "internal" path at another. Calling pinepaper_import_image with a URL pointing at the redirect endpoint followed the redirect and read back the internal path's content. The same code path will reach any host a server's machine can reach, including RFC1918 and link-local addresses, and leak response bodies when the content type is image/* (or, on the media path, any URL with a recognized media extension).
The realistic trigger is prompt injection: a malicious webpage or document the agent reads could supply the URL, or SVG content with attacker-controlled href values that get auto-fetched.
Impact
Server-side request forgery. Anyone running an affected version, locally or on a server, where the assistant may act on content an attacker controls (a document, web page or email it is asked to read). Through prompt injection, such content could direct these tools at services reachable only from the host, such as local admin interfaces or cloud instance metadata, and return what they serve. Requests are reads; no write access is gained. Upgrade to 1.6.22.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-137188 changed 2026-12-01 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r32g-3hfv-h4jj changed 2026-12-01 | CC-BY-4.0 |
| NVD | CVE-2026-137188 changed 2026-12-01 | Public domain |