Skip to content

v0.74.0

Choose a tag to compare

@toolhive-release-app toolhive-release-app released this 03 Dec 12:18
· 35 commits to main since this release
9eed213

Security fixes

This release fixes six security advisories: five Medium and one Low. Each needs a non-default setting or a specific deployment, named below.

Authorization (Cedar policies on MCP traffic)

  • GHSA-rqh4-3r95-x954 (4.3): forbid rules on tool annotations did not apply to tools the proxy had not listed, or to tools that did not declare the hint, including in Virtual MCP.
  • GHSA-fc24-4fqm-5xwx (4.2): a request body in another charset, or with ill-formed UTF-8, could be read differently by ToolHive and the backend.

Embedded authorization server

  • GHSA-p75j-74x4-x786 (4.2): refresh token reuse was never detected, so a stolen refresh token kept working.

Kubernetes

Network isolation

  • GHSA-gcqm-xrwm-gmmv (2.7, Low): the egress allowlist matched IP addresses by their reverse DNS name.

GHSA-rqh4-3r95-x954 was reported by basavesh and gaopeng32. GHSA-p75j-74x4-x786, GHSA-mh5c-fvpj-5c45, GHSA-fc24-4fqm-5xwx, GHSA-8g78-m79h-ch2f and GHSA-gcqm-xrwm-gmmv were found by Anthropic's OSS scanner.

Behaviour changes

  • MCP POSTs that declare a charset other than UTF-8 or US-ASCII (an empty charset="" included), carry a Content-Encoding, or contain ill-formed UTF-8 get HTTP 400.
  • Every tools/call gets the MCP default for each tool hint the tool does not declare, so a Cedar forbid on destructiveHint denies tools that declare neither destructiveHint nor readOnlyHint: true, in proxies and in Virtual MCP. Virtual MCP sign-in tools need a name exemption in such a forbid.
  • With Redis storage, the embedded authorization server keeps a small record per refresh token rotation; reuse detection needs the noeviction policy.
  • The operator rejects an authz ConfigMap that would be larger than 1 MiB with its YAML aliases expanded.

What's Changed

  • Accept Workload Authorization Grants in the auth server by @jhrozek in #7444
  • Use the registered auth method for OIDC upstreams by @tgrunnagle in #7440
  • Cap claim JSON size in awssts fuzz harness by @rdimitrov in #7462
  • Advertise the WAG grant profile in discovery metadata by @jhrozek in #7465
  • End GET streams when their session is gone by @rdimitrov in #7454
  • Record oss-scanner finding for token reuse by @rdimitrov in #7474
  • Release v0.74.0 by @toolhive-release-app[bot] in #7478

Full Changelog: v0.73.0...v0.74.0