CVE-2025-59536

Description

CVSS 8.7 High vulnerability: Hooks execute before the trust dialog due to a race condition during init. Patched in v1.0.111 (October 2025). Secondary bypass: enableAllProjectMcpServers: true in .claude/settings.json auto-approves all MCP servers, activating them before the project trust prompt. Attack vector: malicious PR + open-in-Claude-Code triggers pre-trust hook execution silently.

Key claims

Relations

Sources

src-20260419-16b155f4f619