CVE-2025-59155: yuna0x0 hackmd-mcp · Server-Side Request Forgery (SSRF)
Affects yuna0x0 hackmd-mcpSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium · fixed in 1.5.0 : update yuna0x0 hackmd-mcp when convenient.
Data as of 26 Oct 2026, 11:42 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.5.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 15 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
European organizations should prioritize upgrading hackmd-mcp installations to version 1.5.0 or later, where the vulnerability is fully addressed by endpoint validation and configurable allowed URLs. If immediate upgrading is not feasible, switching the server to stdio transport mode is a strong mitigation, as it inherently blocks HTTP-based SSRF vectors. Network-level controls should be implemented to restrict outbound traffic from hackmd-mcp servers, limiting connections to only trusted internal and external endpoints. Deploying reverse proxies or web application firewalls (WAFs) to filter and validate the Hackmd-Api-Url HTTP header and any base64-encoded JSON query parameters can prevent malicious redirection attempts. Regularly auditing and monitoring outbound requests from hackmd-mcp servers can help detect anomalous behavior indicative of exploitation attempts. Additionally, organizations should review internal network segmentation and access controls to minimize the impact of potential SSRF exploitation. Security teams should also ensure that logging and alerting mechanisms are in place to capture suspicious activity related to hackmd-mcp API calls.
Description
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.