← AI agent vulnerabilities

CVE-2025-59155

hackmd-mcp

6.9
Severity
Medium
Published
September 15, 2025
Last modified
June 17, 2026

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.

CVSS vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Weakness

References

CVE-2025-59155 on NVD

Listed in

MediumMCP serversServer-side request forgery

Related CVEs

Dec 4
CVE-2026-1453598.1

MCPJungle 0.1.11 through 0.4.7 contains a missing authentication vulnerability in the POST /init endpoint that allows unauthenticated attackers to initialize uninitialized enterprise-mode servers.

Dec 4
CVE-2026-1453586.5

markdownify-mcp before 2.0.0 contains an uncontrolled resource consumption vulnerability that allows attackers to exhaust server memory or hang requests by supplying URLs to slow or oversized responses.

Dec 4
CVE-2026-1450559.8

PraisonAI pip praisonai before 4.8.0, praisonaiagents and npm praisonai before 1.8.0, and praisonai-bot, praisonai-browser, praisonai-code, praisonai-deploy, praisonai-mcp and praisonai-sandbox before 0.2.0…

Dec 4
CVE-2026-1449605.4

n8n-mcp before 2.98.1 contains a prototype pollution vulnerability that allows MCP clients to modify Object.prototype by supplying reserved keys like __proto__ as node names, connection types, or parameter…

Dec 4
CVE-2026-1444536.5

AgentCrew before 0.25.1 contains a server-side request forgery and local file read vulnerability that allows malicious MCP servers to fetch internal URLs and local files by supplying crafted $ref values in…

Dec 4
CVE-2026-1414889.2

The AIDB MCP endpoint (edb-endpoints) in AIDB 7.7.0 through 7.8.0 authenticates HTTP Basic credentials by opening a Postgres connection with them, always from the database host over the local Unix socket as…