Home/Research/Post

GHSA-r32g-3hfv-h4jj: PinePaper MCP: Server-side request forgery in URL fetching

  • Severity: MEDIUM
  • CVE: CVE-2026-137188
  • Ecosystems: npm
  • Packages: @pinepaper.studio/mcp-server

### 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](http://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 (…

Source: GitHub Security Advisories · 2026-12-01