CVE-2025-47274 Details
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).
A vulnerability in ToolHive versions prior to 0.0.33 allows for the unintended storage of secrets in run configuration files. These files are used to restart stopped Model Context Protocol (MCP) server containers. As a result, an attacker with access to the user's home directory can read these secrets without needing to access the secrets store. This issue only affects secrets used in containers with active run configurations at the time.
Users can upgrade to ToolHive version 0.0.33, which addresses this vulnerability. For those using earlier versions, it is recommended to stop and delete any running MCP servers and manually remove any run configuration files from the appropriate directory based on the operating system.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 12, 2025CISA-ADP
Assessed May 12, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/stacklok/toolhive/commit/e8efa1b1d7b0776a39339257d30bf6c4a171f2b8 | [email protected] | Source CodeVendor |
| https://github.com/stacklok/toolhive/releases/tag/v0.0.33 | [email protected] | Release NotesVendor |
| https://github.com/stacklok/toolhive/security/advisories/GHSA-xj5p-w2v5-fjm6 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-311 | Missing Encryption of Sensitive Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| stacklok ToolHive | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 12, 2025 | New CVE Received | [email protected] |
Volerion