mcp-cve-project

CVE-2025-47274 | Stacklok ToolHive | Low | 2.4

CVE Information

Field Value
CVE / NVD CVE-2025-47274
EPSS score 0.000410000 (FIRST EPSS, 2026-05-29)
Date (index) 2025-05-12
Affected product (index) Stacklok ToolHive
GHSA ID GHSA-xj5p-w2v5-fjm6
OWASP MCP Top 10 (2025) MCP01 — Token Mismanagement & Secret Exposure
Published / disclosed 2025-05-12
Ecosystem Deployment utility
Component Stacklok ToolHive
CVSS score 2.4 (v4)
CWE CWE-311
Affected versions < 0.0.33
Fixed versions 0.0.33
Fix status Patched
Exploit status No known exploit
Notes Secrets persisted to state/config can enable lateral movement when MCP tooling runs with developer or CI credentials.

CVE Breakdown


What is the vulnerability?

Secrets stored in run config/state files.

Attack prerequisites / exposure

The issue appears when secrets are stored locally or when parent-process credentials are forwarded into MCP subprocesses. Exploitation usually requires local access, compromised workloads, or the ability to create and run affected MCP tasks.

CVE is because of what bug?

Secrets stored in run config/state files

MCP-specific impact / why it matters

Local attacker with user home access may read MCP server secrets. In MCP environments, even a narrow validation bug can become more dangerous when chained with tool invocation and agent autonomy.

Where was the bug? (source + snippet)

Exact file/function details are not yet captured in the repository source set. Use the advisory and upstream fix link above as the starting point for source-level pinpointing.

Add the vulnerable file/function name and a minimal before/after snippet here once the patch commit is linked.

Fix / Remediation

The fix reduces credential exposure by limiting what is stored, inherited, or returned by the affected MCP path, and by tightening trust boundaries around subprocesses or persisted state.

Upstream fix (open source)

Workarounds / mitigations

Detection / verification