跳到正文
原文
Johann Rehberger / Embrace The Red(RSS)·· 2025-08-03AI 评分54

Anthropic Filesystem MCP Server 存在目录访问绕过漏洞(CVE-2025-53109)

Anthropic Filesystem MCP Server: Directory Access Bypass via Improper Path Validation

AI 导读

Johann Rehberger 披露 Anthropic Filesystem MCP Server 的 validatePath 函数仅用 .startsWith 比对 allowedDirectories,不强制路径为目录,导致同名前缀的兄弟目录或文件(如 /mnt/finance/data-archived)也可被访问。

来源:Johann Rehberger / Embrace The Red(RSS) · embracethered.com