CVE-2025-47274CWE-311

ToolHive stores secrets in the state store with no encryption

Low · published May 12, 2025

CVSS v4.0
2.4
EPSS
0%
Percentile
2.7
In the wild
Unconfirmed
What it is

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).

The record
Technical detail
CVSS v4.0
2.4 · LOW
Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
EPSS
0.00135 · 2.7th percentile
Weakness
CWE-311 · Missing Encryption of Sensitive Data
Published
2025-05-12T14:57Z
EPSS history
Timeline
  • 12 MAY 14:57Z
    ToolHive stores secrets in the state store with no encryption
    cvelistv5