CVE-2025-47274: ToolHive - Information Disclosure
- Cve: CVE-2025-47274
- Name: ToolHive - Information Disclosure
- 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).
- Impact: Attackers with filesystem access can read stored secrets from run config files, potentially leading to secret disclosure and security breaches.
- Remediation: Update to version 0.0.33 or later. As a workaround, stop and delete MCP servers or manually remove runconfig files from the specified directories.
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: low
- Cvss score: 2.4
- Cvss 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Epss score: 0.00135
- Epss percentile: 0.02963
- Assignee: [email protected]
- Published at: 2025-05-12T15:16:01Z
- Age in days: 561
- Modified at: 2026-06-17T09:27:38Z
- References total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-47274
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-311 | Missing Encryption of Sensitive Data |
References
Same in every row:
- Source: nvd
- Tags:
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| stacklok/toolhive | commit, fix, releases, security_advisory | yes | /v1/repositories/stacklok/toolhive |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts