# CVE-2025-47274: ToolHive stores secrets in the state store with no encryption

- Severity: Low 2.4 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 5% of CVEs (2026-11-30)
- Published: 2025-05-12T14:57:46.781Z
- Modified: 2026-06-17T09:27:38.950Z
- Weaknesses: CWE-311
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- stacklok toolhive: < 0.0.33

## References

- <https://github.com/stacklok/toolhive/security/advisories/GHSA-xj5p-w2v5-fjm6>
- <https://github.com/stacklok/toolhive/commit/e8efa1b1d7b0776a39339257d30bf6c4a171f2b8>
- <https://github.com/stacklok/toolhive/releases/tag/v0.0.33>

## Sources

- CVE List: [CVE-2025-47274](https://www.cve.org/CVERecord?id=CVE-2025-47274), CVE Terms of Use, modified 2025-05-12
- NVD: [CVE-2025-47274](https://nvd.nist.gov/vuln/detail/CVE-2025-47274), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-47274 · Whole record: https://cve.day/CVE-2025-47274.json · Rebuilt by cve.day 2026-11-25T22:58:57.914Z
