Skip to content

v0.71.0

Latest

Choose a tag to compare

@toolhive-release-app toolhive-release-app released this 30 Nov 14:47
· 13 commits to main since this release
3e1b3c2

Security fixes

This release fixes six security advisories. All of them are Medium, and none affects a default configuration: three need vMCP code mode enabled, and three need the embedded OAuth authorization server enabled.

vMCP code mode (codeMode.enabled: true, affected since v0.31.0)

  • GHSA-r2fh-h8qq-x5pf (6.8): a data race in parallel() let a client read vMCP's process memory or crash it.
  • GHSA-89h5-vjr4-wf8p (6.5): nested parallel() calls escaped the step limit, the recursion check and the concurrency cap.
  • GHSA-p48f-v9pv-x8vm (5.3): a panic in a parallel() worker ended the vMCP process.

Embedded authorization server (the first affected version differs; see each advisory)

  • GHSA-9g36-v347-4qg8 (5.9): unauthenticated /oauth/authorize requests could exhaust memory.
  • GHSA-5qvc-p8pv-v4rr (5.9): repeated grant_types and response_types in client registration could exhaust memory.
  • GHSA-w35h-j57v-qf63 (5.9): private RSA keys in a registration's inline jwks could exhaust CPU.

All six were found by Anthropic's OSS scanner.

Behaviour changes

Code mode scripts:

  • stepLimit now bounds a script and all its parallel() children together. Scripts that ran many heavy children may need a higher limit.
  • Calling parallel() from a parallel() callable fails with parallel() cannot be called from a parallel() callable. Flatten nested fan-out into one parallel() call.
  • Once parallel() runs, the values its callables can reach and the script's data arguments are read-only for the rest of the script. Changing one fails with Starlark's frozen error.
  • A script now stops at the 60-second deadline instead of running on.

Embedded authorization server:

  • /oauth/authorize stores at most 10 pending authorizations per second per replica (burst 20). Above that, a valid request is redirected with error=temporarily_unavailable.
  • An /oauth/authorize query string over 8 KiB gets HTTP 400 invalid_request.
  • An inline jwks over 32 KiB in client registration gets HTTP 400 invalid_client_metadata.
  • A delegate-client JWKS file that contains private key members now fails when it is loaded at startup.

What's Changed

  • Bind provider-identity rows to their issuer and claim by @jhrozek in #7347
  • Remove unused code found by deadcode by @ChrisJBurns in #7361
  • fix(vmcp): preserve top-level MCP tool Title across pipeline by @aloneangel45 in #7319
  • Let Cedar grant tool visibility with read_tool by @rkb32 in #7358
  • Update module github.com/ogen-go/ogen to v1.26.0 by @renovate[bot] in #7376
  • Restrict the issue triage agent's tools to an explicit allowlist by @rdimitrov in #7382
  • Add per-client vMCP scope challenge responses by @Sanskarzz in #7190
  • Add a runner option for non-fatal secondary legs by @jhrozek in #7377
  • fix: address open code scanning alerts by @rdimitrov in #7378
  • fix(operator): propagate finalizeEmbeddingServer status-update errors by @suantea in #6939
  • Credit oss-scanner findings in fix commits by @rdimitrov in #7385
  • Update docker images by @renovate[bot] in #7365
  • Remove legacy optimizer decorator path by @kocaemre in #6119
  • Update github.com/tailscale/hujson digest to cb690bb by @renovate[bot] in #7374
  • Detect JSON-RPC errors in large audited responses by @ChrisJBurns in #7389
  • feat(ratelimit): attribute rate limit decisions to a tool and caller by @premctl in #6517
  • Release v0.71.0 by @toolhive-release-app[bot] in #7391

New Contributors

Full Changelog: v0.70.1...v0.71.0