Rightshold™ Sign up
Open betalive and open to everyoneEvidence Delivery$99 / 30 days · Offers are open — review the exact terms and the payment options shown on the service page before accepting.No token, everany ‘Rightshold token’ is not ours

Answers · MCP security

We run the AWS Labs Timestream for InfluxDB MCP server with an InfluxDB token in its environment so an assistant can query our time-series data. What is CVE-2026-126681, which version fixes it, and what else should we change?

Last updated

TL;DR: It could before version 0.0.19. CVE-2026-126681 (GHSA-2f9r-g4f3-wc2j, published November 16, 2026) affects awslabs.timestream-for-influxdb-mcp-server 0.0.12 up to, but not including, 0.0.19. The server didn't restrict which endpoints its InfluxDB tools connected to, so text the assistant read could slip a crafted InfluxDB URL into a tool call, and the server would connect there carrying the InfluxDB API token configured in its environment. Whoever ran that endpoint got the token and, with it, whatever access the token grants to your InfluxDB data. AWS says 0.0.19 fixes it and that anyone who used an affected version should rotate the InfluxDB tokens configured for the server. The current README describes the rule now in place: a URL supplied in a tool call must match INFLUXDB_URL or an entry in INFLUXDB_ALLOWED_URLS, and the server's own token is never used to complete a partly caller-supplied connection. Until you upgrade, AWS's only mitigations are a least-privilege token and keeping the server away from clients that process untrusted content.

What should I check, step by step?

1. Check the installed version: awslabs.timestream-for-influxdb-mcp-server 0.0.12 through 0.0.18 is affected and 0.0.19 is the fix. PyPI listed 0.1.4 as the newest release on November 20, 2026.

  1. Rotate every InfluxDB API token that was set in INFLUXDB_TOKEN while an affected version ran, as AWS recommends. Upgrading doesn't recall a token that already went somewhere else.
  2. Restart clients that launch the server through uvx with @latest so they load a new build; a pinned or cached copy stays on the old version.
  3. Give the server a token scoped to the buckets and permissions the assistant needs. AWS's workaround and the README's best practice both point to a least-privilege, ideally read-only, token.
  4. If the assistant needs more than one InfluxDB endpoint, list each one in INFLUXDB_ALLOWED_URLS rather than letting tool calls name hosts freely.
  5. Leave ALLOW_WRITE and INFLUXDB_WRITE_MODE unset unless a task needs writes. The README says both are set by whoever starts the server and can't be changed by a tool call.
  6. Check InfluxDB and network logs from the period an affected version ran for requests carrying that token from addresses you don't recognise.

What is CVE-2026-126681 in the Timestream for InfluxDB MCP server?

AWS's advisory GHSA-2f9r-g4f3-wc2j (CVE-2026-126681, moderate, CVSS 3.1 5.5, AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N, CWE-923, published November 16, 2026) says the server's connection handling did not restrict which endpoints it connected to. An unauthenticated remote actor could use prompt injection to introduce a crafted InfluxDB URL into the MCP client's context; the server would connect to that URL and send the InfluxDB API token configured on the server to an endpoint the actor controls.

How does the Timestream for InfluxDB MCP server restrict which InfluxDB URLs a tool call can use?

AWS says the issue is addressed in 0.0.19. PyPI shows 0.0.19 uploaded on July 28, 2026, well before the November 16 advisory, so installs updated since then already carry the fix; pinned older copies don't.

How do you stop an MCP server from sending its stored token to a host the model picks?

This is the same shape as the Amazon MQ MCP server's CVE-2026-18655: a tool attaches a stored secret to an outbound request, and the model's tool call chooses where the request goes. Prompt injection only has to change one string.

How do I ask Rightshold about this (free, no key)?

Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code, then ask: “We upgraded the Timestream for InfluxDB MCP server past the CVE-2026-126681 fix, rotated the InfluxDB token it used, and set INFLUXDB_ALLOWED_URLS. Record that change so we have a dated entry outside our own logs.”

One-click setup

{
  "tool": "record_action",
  "arguments": {
    "action_type": "security.credential_rotated",
    "outcome": "success",
    "occurred_at": "2026-11-20T23:30:00Z",
    "client_event_id": "influxdb-mcp:upgrade-rotate-2026-11-20",
    "summary": "awslabs.timestream-for-influxdb-mcp-server upgraded to 0.1.4 (CVE-2026-126681 / GHSA-2f9r-g4f3-wc2j fixed in 0.0.19); InfluxDB API token used by the server revoked and replaced with a read-only token for one bucket; INFLUXDB_ALLOWED_URLS set to our two InfluxDB endpoints"
  }
}

Rightshold isn't affiliated with AWS or InfluxData. It doesn't scan MCP server code, check token scopes or watch outbound connections, and a recorded entry isn't a finding that a setup is safe. Advisory details are as published by AWS in GitHub's advisory database (GHSA-2f9r-g4f3-wc2j), connection and write settings as described in the server's README in the awslabs/mcp repository, and release dates as listed on PyPI, all read November 20, 2026; advisories get updated, so confirm fixed versions on the linked pages.

What are the sources?

Related

Not legal advice. JSON · Markdown · All answers

Get a free API key in one call

No card and no email needed. 100 free credits; the license and policy checks stay free without a key.

curl -s -X POST https://www.rightshold.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export RIGHTSHOLD_API_KEY=rs_...   # the api_key from the reply (shown once)
curl -s https://www.rightshold.com/v1/licenses/check -H "Authorization: Bearer $RIGHTSHOLD_API_KEY" \
  -H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'