Antidote
Warning

vulnerableVerifiedAGT-2026-0025

Claude Code runs project hooks/MCP before trust approval (CVE-2025-59536)

A real bug in otherwise honest software. Check your version against the affected range below.

CVE-2025-59536 · GHSA-4fgq-fpq9-mr3g

Check Point Research reported that malicious repository configuration (Hooks, MCP servers) could execute commands when an untrusted project is opened, before the user approves trust. NVD: versions before 1.0.111 vulnerable. A related issue, CVE-2026-21852, let a repo setting redirect API traffic (including the key) before the trust prompt; one source says versions before 2.0.65.

Affected

npm:@anthropic-ai/claude-code
< 1.0.111 (fixed in 1.0.111)

Field marks

Kind
package
Agents
claude-code
Techniques
config-injection, pre-trust-execution
Frameworks
OWASP Agentic ASI05: Unexpected Code Execution
Reported by
antidote-seed

Sources

Wrong or outdated? Open an issue or PR against corpus/entries/AGT-2026-0025.json.