CVE-2025-47274

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-47274
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-47274.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-47274
Aliases
  • GHSA-xj5p-w2v5-fjm6
Published
2025-05-12T15:16:01Z
Modified
2025-05-24T03:40:21.696096Z
Summary
[none]
Details

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

References

Affected packages

Git / github.com/stacklok/toolhive

Affected ranges

Type
GIT
Repo
https://github.com/stacklok/toolhive
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v0.*

v0.0.1
v0.0.10
v0.0.11
v0.0.12
v0.0.13
v0.0.14
v0.0.15
v0.0.16
v0.0.17
v0.0.18
v0.0.19
v0.0.2
v0.0.20
v0.0.21
v0.0.22
v0.0.23
v0.0.24
v0.0.25
v0.0.26
v0.0.27
v0.0.28
v0.0.29
v0.0.3
v0.0.30
v0.0.31
v0.0.32
v0.0.4
v0.0.5
v0.0.6
v0.0.7
v0.0.8
v0.0.9