Read the docs
TI-2025-36759 Aliases CVE-2025-59155GHSA-g5cg-6c7v-mmpw

hackmd-mcp server-side request forgery in HTTP transport mode

Priority LOW 36CWE-918Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

hackmd-mcp is a Model Context Protocol server for integrating HackMD's note-taking platform with AI assistants. From 1.4.0 to before 1.5.0, hackmd-mcp contains a server-side request forgery (SSRF) vulnerability when the server is run in HTTP transport mode. Arbitrary hackmdApiUrl values supplied via the Hackmd-Api-Url HTTP header or a base64-encoded JSON query parameter are accepted without validation, allowing attackers to redirect outbound API requests to internal network services, access internal endpoints, perform network reconnaissance, and bypass network access controls. The stdio transport mode is not affected because it only accepts stdio requests. The issue is fixed in version 1.5.0, which enforces allowed endpoints and supports the ALLOWED_HACKMD_API_URLS environment variable. Users should update to 1.5.0 or later or apply documented mitigations such as switching to stdio mode, restricting outbound network access, or filtering the Hackmd-Api-Url header and related query parameter via a reverse proxy.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00356 29th percentileScored 2026-11-07
Fix Fixed hackmd-mcp (yuna0x0): 1.5.0hackmd-mcp (npm): 1.5.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
yuna0x0hackmd-mcp1.4.0 to before 1.5.01.5.0Patch availableCNA
—hackmd-mcp (npm)1.4.0 to before 1.5.01.5.0Patch availableGHSA-g5cg-6c7v-mmpw
  • hackmd-mcp Vendoryuna0x0 Affected 1.4.0 to before 1.5.0 Fixed in 1.5.0 Patch available CNA
  • hackmd-mcp (npm) Vendor— Affected 1.4.0 to before 1.5.0 Fixed in 1.5.0 Patch available GHSA-g5cg-6c7v-mmpw

Remediation

  • Fix · CNA hackmd-mcp (yuna0x0) Fixed in 1.5.0
  • Fix · GHSA-g5cg-6c7v-mmpw hackmd-mcp (npm) Fixed in 1.5.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-59155
  2. 2026-10-03 Alias added: GHSA-g5cg-6c7v-mmpw

References

Sources