GHSA-R32G-3HFV-H4JJ
Vulnerability from github – Published: 2026-12-01 01:14 – Updated: 2026-12-01 01:14Summary
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.
{
"affected": [
{
"database_specific": {
"last_known_affected_version_range": "\u003c= 1.6.21"
},
"package": {
"ecosystem": "npm",
"name": "@pinepaper.studio/mcp-server"
},
"ranges": [
{
"events": [
{
"introduced": "1.6.13"
},
{
"fixed": "1.6.22"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-137188"
],
"database_specific": {
"cwe_ids": [
"CWE-918"
],
"github_reviewed": true,
"github_reviewed_at": "2026-12-01T01:14:38Z",
"nvd_published_at": "2026-11-30T19:17:56Z",
"severity": "MODERATE"
},
"details": "### Summary\n\nIn @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.\n\n### Details\n\nAffected tools and the version each first fetched URLs server-side:\n\n`pinepaper_import_svg` (url): 1.6.13\n`pinepaper_import_asset` (url): 1.6.13\n`pinepaper_import_image` (an http(s) source): 1.6.13\n`pinepaper_media` and `pinepaper_audio_beats` (an http(s) source): 1.6.14\n`pinepaper_brand_kit` `from_url `(and the requests that page makes): 1.6.18\nBefore 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.\n\n1.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.\n\n### Proof of concept\n\nServer-side request forgery, including redirect bypass to loopback (CWE-918)\nsrc/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`.\n\nA 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\u0027s content. The same code path will reach any host a server\u0027s 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).\nThe 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.\n\n### Impact\n\nServer-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.",
"id": "GHSA-r32g-3hfv-h4jj",
"modified": "2026-12-01T01:14:38Z",
"published": "2026-12-01T01:14:38Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/pinepaper/mcp-server/security/advisories/GHSA-r32g-3hfv-h4jj"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-137188"
},
{
"type": "WEB",
"url": "https://github.com/pinepaper/mcp-server/commit/162731d341ddb468f08c5f93e0ac65bb64ddd7bc"
},
{
"type": "PACKAGE",
"url": "https://github.com/pinepaper/mcp-server"
},
{
"type": "WEB",
"url": "https://github.com/pinepaper/mcp-server/releases/tag/v1.6.22"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N",
"type": "CVSS_V3"
}
],
"summary": "PinePaper MCP: Server-side request forgery in URL fetching"
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.