Vulnerabilities in pkg:npm/@pinepaper.studio/mcp-server

PACKAGE
Advisory Identifier: GHSA-r32g-3hfv-h4jj
Advisory Summary

CVE-2026-137188 is a MODERATE (CVSS 6.1) server-side request forgery vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting PinePaper MCP libraries in the npm ecosystem. The issue involves server-side request forgery in url fetching. Remediation is available by upgrading affected packages to version 1.6.22.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/@pinepaper.studio/mcp-server

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/@pinepaper.studio/mcp-server. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-r32g-3hfv-h4jj CVE-2026-137188 MODERATE PinePaper MCP: Server-side request forgery in URL fetching

CVE-2026-137188 at a Glance

CVE Identifier CVE-2026-137188
GHSA Identifier GHSA-r32g-3hfv-h4jj
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product PinePaper MCP
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 6.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-137188

To remediate this vulnerability, upgrade all affected PinePaper MCP dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@pinepaper.studio/mcp-server fixed: 1.6.22
npm install @pinepaper.studio/mcp-server@1.6.22
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @pinepaper.studio/mcp-server

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-137188, inspect your project dependencies using npm:

npm ls @pinepaper.studio/mcp-server

Analyze the terminal output to locate any version of PinePaper MCP in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.6.22), your application is affected.

Note: The npm ls @pinepaper.studio/mcp-server command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In PinePaper MCP, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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 (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.

CVE-2026-137188 Affected PinePaper MCP Versions

1 component(s)
Fixed Versions:
1.6.22
Product / Package Ecosystem Affected Versions Fixed Version
@pinepaper.studio/mcp-server
npm
≥ 1.6.13
< 1.6.22
1.6.22

References

Frequently Asked Questions

What is CVE-2026-137188?
CVE-2026-137188 is a security vulnerability in PinePaper MCP involving Server-side request forgery in URL fetching under CWE-918: Server-Side Request Forgery (SSRF).
Which PinePaper MCP versions are affected?
Affected versions include releases prior to 1.6.22 across affected packages: @pinepaper.studio/mcp-server.
What version fixes CVE-2026-137188?
Upgrading to 1.6.22 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @pinepaper.studio/mcp-server affected?
Yes, @pinepaper.studio/mcp-server is affected in releases prior to 1.6.22. Upgrade your dependency to 1.6.22 or later.
What is the CVSS score of CVE-2026-137188?
CVE-2026-137188 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N.
What CWE is associated with CVE-2026-137188?
CVE-2026-137188 is classified under CWE-918: Server-Side Request Forgery (SSRF) (The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.).
How can I check npm dependencies for CVE-2026-137188?
Run the dependency tree command: 'npm ls @pinepaper.studio/mcp-server'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-r32g-3hfv-h4jj",
  "modified" : "2026-12-01T01:14:38Z",
  "published" : "2026-12-01T01:14:38Z",
  "aliases" : [ "CVE-2026-137188" ],
  "summary" : "PinePaper MCP: Server-side request forgery in URL fetching",
  "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'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).\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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@pinepaper.studio/mcp-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.6.13"
      }, {
        "fixed" : "1.6.22"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.6.21"
    }
  } ],
  "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"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-918" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-12-01T01:14:38Z",
    "nvd_published_at" : "2026-11-30T19:17:56Z"
  }
}