Vulnerability

CVE-2025-47274

lowCVSS 4.0 2.4Published 12 May 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

ToolHive is a utility designed to simplify the deployment and management of Model Context Protocol (MCP) servers. Due to the ordering of code used to start an MCP server container, versions of ToolHive prior to 0.0.33 inadvertently store secrets in the run config files which are used to restart stopped containers. This means that an attacker who has access to the home folder of the user who starts the MCP server can read secrets without needing access to the secrets store itself. This only applies to secrets which were used in containers whose run configs exist at a point in time - other secrets remaining inaccessible. ToolHive 0.0.33 fixes the issue. Some workarounds are available. Stop and delete any running MCP servers, or manually remove any runconfigs from `$HOME/Library/Application Support/toolhive/runconfigs/` (macOS) or `$HOME/.state/toolhive/runconfigs/` (Linux).

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /stacklok/toolhive/commit/e8efa1b1d7b0776a39339257d30bf6c4a…
  • github.com /stacklok/toolhive/releases/tag/v0.0.33
  • github.com /stacklok/toolhive/security/advisories/GHSA-xj5p-w2v5-fjm6

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning