CVE-2025-68143 (CNNVD-202512-3141)

MEDIUM
中文标题:
Model Context Protocol Servers 路径遍历漏洞
英文标题:
mcp-server-git's unrestricted git_init tool allows repository creation at arbitrary filesystem locations
CVSS分数: 6.5
发布时间: 2025-12-17 22:09:43
漏洞类型: 路径遍历
状态: PUBLISHED
数据质量分数: 0.40
数据版本: v3
漏洞描述
中文描述:

Model Context Protocol Servers是Model Context Protocol开源的一个大模型上下文协议服务器。 Model Context Protocol Servers 2025.9.25之前版本存在路径遍历漏洞,该漏洞源于git_init工具接受任意文件系统路径且未验证目标位置,可能导致在服务器进程可访问的任何目录中创建Git仓库。

英文描述:

Model Context Protocol Servers is a collection of reference implementations for the model context protocol (MCP). In mcp-server-git versions prior to 2025.9.25, the git_init tool accepted arbitrary filesystem paths and created Git repositories without validating the target location. Unlike other tools which required an existing repository, git_init could operate on any directory accessible to the server process, making those directories eligible for subsequent git operations. The tool was removed entirely, as the server is intended to operate on existing repositories only. Users are advised to upgrade to 2025.9.25 or newer to remediate this issue.

CWE类型:
CWE-22
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
modelcontextprotocol servers < 2025.9.25 - - cpe:2.3:a:modelcontextprotocol:servers:<_2025.9.25:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-5cgr-j3jf-jw3v x_refsource_CONFIRM
cve.org
访问
https://github.com/modelcontextprotocol/servers/commit/eac56e7bcde48fb64d5a973924d05d69a7d876e6 x_refsource_MISC
cve.org
访问
CVSS评分详情
4.0 (cna)
MEDIUM
6.5
CVSS向量: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
机密性
NONE
完整性
NONE
可用性
NONE
后续系统影响 (Subsequent):
机密性
HIGH
完整性
HIGH
可用性
HIGH
时间信息
发布时间:
2025-12-17 22:09:43
修改时间:
2025-12-18 15:07:15
创建时间:
2026-01-12 02:12:28
更新时间:
2026-01-26 02:11:37
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-68143 2025-12-19 03:24:15 2026-01-12 02:12:28
NVD nvd_CVE-2025-68143 2025-12-19 03:25:39 2026-01-12 02:28:10
CNNVD cnnvd_CNNVD-202512-3141 2026-01-11 06:15:05 2026-01-12 02:38:02
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2026-01-12 02:38:02
vulnerability_type: 未提取 → 路径遍历; cnnvd_id: 未提取 → CNNVD-202512-3141; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 路径遍历
  • cnnvd_id: 未提取 -> CNNVD-202512-3141
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2026-01-12 02:28:10
data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • data_sources: ['cve'] -> ['cve', 'nvd']