zh19980811/Easy-MCP-AutoCad
这个项目是一个基于Model Context Protocol (MCP)的AutoCAD集成服务器,它允许通过自然语言与AutoCAD进行交互。通过这个服务器,用户可以使用Claude等大型语言模型来创建、修改和分析AutoCAD图纸,同时还可以存储和查询CAD元素的相关数据。目前制作参考学习,仅实现端到端之间的通信,具体工具函数尚未晚上
47347ced06c6autocad-mcp-server0.1.0 in pyproject.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 1 place a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
Top risks in plain words
- CRITICAL9 production dependencies have known vulnerabilities (worst: critical).
- HIGHTools
execute_query,query_and_highlightrun SQL by design: an agent steered by prompt injection can use them that way.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Connect it with a read-only database user
execute_query,query_and_highlightcan run any query it is given. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
execute_query,query_and_highlight, switch them off. - Update its vulnerable packages
Use
anyio4.14.2 or later,certifi2026.10.18 or later,h110.16.0 or later,idna3.15 or later and 5 more. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 42 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
copy_entity, count_text_patterns, create_layer, create_new_drawing, draw_circle, draw_device_connection and 15 moreNo tool was seen to: start other programs on the machine; read or write files; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
18 request addresses could not be settled from the code (built at run time).
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- web or API responses18 tools · copy_entity, count_text_patterns, create_layer +15
Not all three are present in the tools the scanner traced.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (42: 42 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
execute_querytool NetworkRuns SQL
No description.
execute_querytool 执行自定义数据库查询NetworkRuns SQL
执行自定义数据库查询
query_and_highlighttool Networkoutside textRuns SQL
No description.
query_and_highlighttool 根据SQL查询结果高亮显示AutoCAD实体
NetworkRuns SQL
根据SQL查询结果高亮显示AutoCAD实体
Args:
sql_query: 必须是返回handle列的SQL查询
highlight_color: 高亮颜色码(1-255)copy_entitytool Networkoutside text
No description.
copy_entitytool 复制实体
复制实体
Args:
handle: 源实体句柄
start_point: 基干点 [x, y, z]
end_point: 目标点 [x, y, z]count_text_patternstool Networkoutside text
No description.
count_text_patternstool 统计图纸中文本实体中特定模式的出现次数
统计图纸中文本实体中特定模式的出现次数
Args:
pattern: 要搜索的文本模式,默认为"PMC-3M"create_layertool Networkoutside text
No description.
create_layertool 创建或修改图层
创建或修改图层
Args:
name: 图层名称
color_index: 颜色索引 (1-255)create_new_drawingtool Networkoutside text
No description.
create_new_drawingtool 创建新的 AutoCAD 图纸
创建新的 AutoCAD 图纸
draw_circletool Networkoutside text
No description.
draw_circletool 在AutoCAD中绘制圆
在AutoCAD中绘制圆
Args:
center_x: 圆心X坐标
center_y: 圆心Y坐标
radius: 半径
layer: 可选的图层名称draw_device_connectiontool Networkoutside text
No description.
draw_device_connectiontool 绘制设备之间的连接线
Network
绘制设备之间的连接线
Args:
start_device: 起始设备标签,如"P14"
end_device: 结束设备标签,如"P02"
start_x: 可选的起始点X坐标(如果不提供则自动查找设备)
start_y: 可选的起始点Y坐标
end_x: 可选的结束点X坐标
end_y: 可选的结束点Y坐标
layer: 可选的图层名称draw_linetool Networkoutside text
No description.
draw_linetool 在AutoCAD中绘制直线
在AutoCAD中绘制直线
Args:
start_x: 起点X坐标
start_y: 起点Y坐标
end_x: 终点X坐标
end_y: 终点Y坐标
layer: 可选的图层名称draw_linetool 在AutoCAD中绘制直线
在AutoCAD中绘制直线
draw_linetool 在AutoCAD中绘制直线
在AutoCAD中绘制直线
draw_polylinetool Networkoutside text
No description.
draw_polylinetool 绘制多段线 (Polyline)
绘制多段线 (Polyline)
Args:
points: 坐标列表 [x1, y1, x2, y2, ...]
closed: 是否闭合
layer: 图层名称draw_rectangletool Networkoutside text
No description.
draw_rectangletool 绘制矩形
绘制矩形
Args:
x1, y1: 角点1坐标
x2, y2: 对角点2坐标
layer: 图层名称draw_texttool Networkoutside text
No description.
draw_texttool 绘制单行文字
绘制单行文字
Args:
text_string: 文字内容
insert_x, insert_y: 插入点坐标
height: 文字高度
rotation: 旋转角度 (度)
layer: 图层名称export_dxftool Networkoutside text
No description.
get_all_tablestool Network
No description.
get_all_tablestool 获取数据库中的所有表Network
获取数据库中的所有表
get_table_schematool Network
No description.
get_table_schematool 获取指定表的结构信息Network
获取指定表的结构信息
highlight_entitytool Networkoutside text
No description.
highlight_entitytool 通过Handle在AutoCAD中高亮显示指定实体
通过Handle在AutoCAD中高亮显示指定实体
Args:
handle: 实体的Handle值
color: 高亮颜色码(1=红色, 2=黄色, 3=绿色, 4=青色, 5=蓝色, 6=洋红色)highlight_text_matchestool Networkoutside text
No description.
highlight_text_matchestool 高亮显示包含指定文本模式的所有文本实体
高亮显示包含指定文本模式的所有文本实体
Args:
pattern: 要搜索的文本模式,默认为"PMC-3M"
color: 高亮颜色码(1=红色, 2=黄色, 3=绿色, 4=青色, 5=蓝色, 6=洋红色)move_entitytool Networkoutside text
No description.
move_entitytool 移动实体
移动实体
Args:
handle: 实体句柄
start_point: 基干点 [x, y, z](通常都是[0,0,0]或者实体的某个点)
end_point: 目标点 [x, y, z]rotate_entitytool Networkoutside text
No description.
rotate_entitytool 旋转实体
旋转实体
Args:
handle: 实体句柄
base_point: 旋转中心点 [x, y, z]
angle: 旋转角度(度)save_drawingtool Networkoutside text
No description.
scan_all_entitiestool Networkoutside text
No description.
scan_all_entitiestool 扫描当前图纸中的所有实体并保存到数据库
扫描当前图纸中的所有实体并保存到数据库
Text the model reads (42)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
create_new_drawing tool
draw_line tool
draw_circle tool
draw_polyline tool
draw_rectangle tool
draw_text tool
create_layer tool
scan_all_entities tool
highlight_entity tool
count_text_patterns tool
highlight_text_matches tool
get_all_tables tool
get_table_schema tool
execute_query tool
query_and_highlight tool
draw_device_connection tool
move_entity tool
rotate_entity tool
copy_entity tool
save_drawing tool
export_dxf tool
create_new_drawing tool
创建新的 AutoCAD 图纸
draw_line tool
在AutoCAD中绘制直线\x0d
\x0d
Args:\x0d
start_x: 起点X坐标\x0d
start_y: 起点Y坐标\x0d
end_x: 终点X坐标\x0d
end_y: 终点Y坐标\x0d
layer: 可选的图层名称draw_circle tool
在AutoCAD中绘制圆\x0d
\x0d
Args:\x0d
center_x: 圆心X坐标\x0d
center_y: 圆心Y坐标 \x0d
radius: 半径\x0d
layer: 可选的图层名称scan_all_entities tool
扫描当前图纸中的所有实体并保存到数据库
highlight_entity tool
通过Handle在AutoCAD中高亮显示指定实体\x0d
\x0d
Args:\x0d
handle: 实体的Handle值\x0d
color: 高亮颜色码(1=红色, 2=黄色, 3=绿色, 4=青色, 5=蓝色, 6=洋红色)count_text_patterns tool
统计图纸中文本实体中特定模式的出现次数\x0d
\x0d
Args:\x0d
pattern: 要搜索的文本模式,默认为"PMC-3M"highlight_text_matches tool
高亮显示包含指定文本模式的所有文本实体\x0d
\x0d
Args:\x0d
pattern: 要搜索的文本模式,默认为"PMC-3M"\x0d
color: 高亮颜色码(1=红色, 2=黄色, 3=绿色, 4=青色, 5=蓝色, 6=洋红色)get_all_tables tool
获取数据库中的所有表
get_table_schema tool
获取指定表的结构信息
execute_query tool
执行自定义数据库查询
query_and_highlight tool
根据SQL查询结果高亮显示AutoCAD实体\x0d
\x0d
Args:\x0d
sql_query: 必须是返回handle列的SQL查询\x0d
highlight_color: 高亮颜色码(1-255)draw_line tool
在AutoCAD中绘制直线
draw_line tool
在AutoCAD中绘制直线
draw_polyline tool
绘制多段线 (Polyline)\x0d
\x0d
Args:\x0d
points: 坐标列表 [x1, y1, x2, y2, ...]\x0d
closed: 是否闭合\x0d
layer: 图层名称draw_rectangle tool
绘制矩形\x0d
\x0d
Args:\x0d
x1, y1: 角点1坐标\x0d
x2, y2: 对角点2坐标\x0d
layer: 图层名称draw_text tool
绘制单行文字\x0d
\x0d
Args:\x0d
text_string: 文字内容\x0d
insert_x, insert_y: 插入点坐标\x0d
height: 文字高度\x0d
rotation: 旋转角度 (度)\x0d
layer: 图层名称create_layer tool
创建或修改图层\x0d
\x0d
Args:\x0d
name: 图层名称\x0d
color_index: 颜色索引 (1-255)draw_device_connection tool
绘制设备之间的连接线\x0d
\x0d
Args:\x0d
start_device: 起始设备标签,如"P14"\x0d
end_device: 结束设备标签,如"P02"\x0d
start_x: 可选的起始点X坐标(如果不提供则自动查找设备)\x0d
start_y: 可选的起始点Y坐标\x0d
end_x: 可选的结束点X坐标\x0d
end_y: 可选的结束点Y坐标\x0d
layer: 可选的图层名称move_entity tool
移动实体\x0d
\x0d
Args:\x0d
handle: 实体句柄\x0d
start_point: 基干点 [x, y, z](通常都是[0,0,0]或者实体的某个点)\x0d
end_point: 目标点 [x, y, z]rotate_entity tool
旋转实体\x0d
\x0d
Args:\x0d
handle: 实体句柄\x0d
base_point: 旋转中心点 [x, y, z]\x0d
angle: 旋转角度(度)copy_entity tool
复制实体\x0d
\x0d
Args:\x0d
handle: 源实体句柄\x0d
start_point: 基干点 [x, y, z]\x0d
end_point: 目标点 [x, y, z]What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 42 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 42 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 42 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 42 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQL HIGH2 findings in execute_query, query_and_highlight
- Tools that start processesNot seen in the traced code of 42 capabilities; 42 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 42 capabilities; 42 more call code the scanner could not follow, where it may happen
- Tools that call the network26 of 42 capabilities call the network; 16 more call code the scanner could not follow, where it may happen
Where the code is: 42 handlers in 2 files at commit 47347ced06c6
freecad_linux/server_freecad.pycreate_new_drawing, draw_line, draw_circle, draw_polyline, draw_rectangle, draw_text, create_layer, scan_all_entities, highlight_entity, count_text_patterns, highlight_text_matches, get_all_tables +9server.pycreate_new_drawing, draw_line, draw_circle, scan_all_entities, highlight_entity, count_text_patterns, highlight_text_matches, get_all_tables, get_table_schema, execute_query, query_and_highlight, draw_line +9
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests2 manifests: pyproject.toml, requirements.txt
- Lockfiles checked against OSV2 files resolved and checked against the OSV database; 2 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked; requirements.txt: 6 dependency lines carry no exact version, so the installed version was not checked; pin them or add a lockfile
- Known vulnerabilities in production dependencies CRITICAL9 production packages with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionmcp >=1.2.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 42 capabilities; 42 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (1 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (9 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
anyioPyPI 4.8.0 CRITICAL 4 advisories 4.14.2
- CRITICALGHSA-82r6-8w77-94w6 CVE-2026-63374 PYSEC-2026-4025AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
- MEDIUMGHSA-5p39-cfhj-2xmp CVE-2026-64847 PYSEC-2026-4024AnyIO process-pool workers can block indefinitely on undrained stderr
- MEDIUMPYSEC-2026-4024 CVE-2026-64847 GHSA-5p39-cfhj-2xmpAnyIO process-pool workers can block indefinitely on undrained stderr
- MEDIUMPYSEC-2026-4025 CVE-2026-63374 GHSA-82r6-8w77-94w6AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
certifiPyPI 2025.1.31 CRITICAL 2 advisories 2026.10.18
- CRITICALGHSA-6q48-6c7w-9gw2 PYSEC-2026-4320certifi bundles emSign root CAs with compromised intermediate CA keys
- MEDIUMPYSEC-2026-4320 GHSA-6q48-6c7w-9gw2certifi bundles emSign root CAs with compromised intermediate CA keys
h11PyPI 0.14.0 CRITICAL 2 advisories 0.16.0
- CRITICALGHSA-vqfr-h8mv-ghfj CVE-2025-43859 PYSEC-2026-348h11 accepts some malformed Chunked-Encoding bodies
- MEDIUMPYSEC-2026-348 CVE-2025-43859 GHSA-vqfr-h8mv-ghfjh11 accepts some malformed Chunked-Encoding bodies
starlettePyPI 0.46.1 HIGH 14 advisories 0.47.20.49.11.0.1+3 more
- HIGHGHSA-82w8-qh3p-5jfq CVE-2026-54283 PYSEC-2026-249Starlette: request.form() limits silently ignored for application/x-www-form-urlencoded enable DoS
- HIGHGHSA-7f5h-v6xp-fcq8 CVE-2025-62727 PYSEC-2026-1942Starlette vulnerable to O(n^2) DoS via Range header merging in ``starlette.responses.FileResponse``
- HIGHGHSA-wqp7-x3pw-xc5r CVE-2026-48818 PYSEC-2026-2281Starlette: SSRF and NTLM credential theft via UNC paths in StaticFiles on Windows
- MEDIUMPYSEC-2026-2280 CVE-2026-48817 GHSA-x746-7m8f-x49cStarlette is a lightweight ASGI framework/toolkit. In versions 1.0.1 and below, when dispatching a request, HTTPEndpoint selects the handler by lowercasing the HTTP method and looking it up as an attribute with getattr, without restricting the lookup to a known set of HTTP verbs. When an HTTPEndpoint subclass is registered through Route(...) without an explicit methods= argument, the route does not constrain the method and every method reaches the endpoint. If a non-standard HTTP method whose lowercased name matches an attribute on the endpoint subclass reaches the endpoint, that attribute is invoked as if it were a request handler. An attacker can use this to reach methods that were never meant to be HTTP handlers, such as internal helpers, without the authorization checks applied by the intended public handler. An application (including Starlette-based frameworks like FastAPI) is affected if it registers an HTTPEndpoint subclass via Route(...) without explicitly setting methods=, and that subclass includes extra methods named like non-standard HTTP verbs that take one request argument and return a response. This issue has been fixed in version 1.1.0.
- MEDIUMGHSA-2c2j-9gv5-cj73 CVE-2025-54121 PYSEC-2026-1941Starlette has possible denial-of-service vector when parsing large files in multipart forms
- MEDIUMGHSA-86qp-5c8j-p5mr CVE-2026-48710 PYSEC-2026-161 X41-2026-002Starlette has missing Host header validation that poisons request.url.path, bypassing path-based security checks
- MEDIUMPYSEC-2026-2281 CVE-2026-48818 GHSA-wqp7-x3pw-xc5rStarlette is a lightweight ASGI framework/toolkit. In versions 1.0.1 and earlier, StaticFiles on Windows is vulnerable to SSRF. An UNC path such as \\\\attacker.com\\share can cause os.path.realpath to initiate an outbound SMB connection before the path is rejected, exposing the service account’s NTLMv2 credentials for offline cracking or relay even though the HTTP response is only a 404. The issue affects default follow_symlink=False deployments, including frameworks built on Starlette such as FastAPI; POSIX systems and follow_symlink=True are unaffected. The issue is fixed in 1.1.0.
- MEDIUMGHSA-x746-7m8f-x49c CVE-2026-48817 PYSEC-2026-2280Starlette: Arbitrary HTTP method dispatched to `HTTPEndpoint` attributes via `getattr`
- MEDIUMPYSEC-2026-249 CVE-2026-54283 GHSA-82w8-qh3p-5jfqStarlette is a lightweight ASGI framework/toolkit. From 0.4.1 until 1.3.1, request.form() accepts max_fields and max_part_size to bound resource consumption while parsing form data. These limits are enforced for multipart/form-data, but silently ignored for application/x-www-form-urlencoded. An unauthenticated attacker can therefore send a urlencoded body with an arbitrarily large number of fields or an arbitrarily large field, even when the application configured limits it believed would apply. This vulnerability is fixed in 1.3.1.
- MEDIUMPYSEC-2026-1941 CVE-2025-54121 GHSA-2c2j-9gv5-cj73Starlette has possible denial-of-service vector when parsing large files in multipart forms
- MEDIUMPYSEC-2026-161 CVE-2026-48710 GHSA-86qp-5c8j-p5mr X41-2026-002BadHost: Missing Host header validation poisons request.url.path, bypassing path-based security checks
- MEDIUMPYSEC-2026-248 CVE-2026-54282 GHSA-jp82-jpqv-5vv3Starlette is a lightweight ASGI framework/toolkit. Prior to 1.3.0, the HTTP request path is not validated before being used to reconstruct request.url. Because request.url is rebuilt by concatenating {scheme}://{host}{path} and re-parsing the result, a path that does not begin with / (for example @google.com) moves the authority boundary during re-parsing, so request.url.hostname and request.url.netloc become attacker-controlled. Code that reads request.url.hostname (rather than the Host header or scope) can therefore be misled into trusting an attacker-supplied host. This vulnerability is fixed in 1.3.0.
- MEDIUMPYSEC-2026-1942 CVE-2025-62727 GHSA-7f5h-v6xp-fcq8Starlette vulnerable to O(n^2) DoS via Range header merging in ``starlette.responses.FileResponse``
- LOWGHSA-jp82-jpqv-5vv3 CVE-2026-54282 PYSEC-2026-248Starlette: Unvalidated request path concatenated into authority poisons request.url.hostname
mcpPyPI 1.4.1 HIGH 10 advisories 1.9.41.10.01.23.0+2 more
- HIGHGHSA-jpw9-pfvf-9f58 CVE-2026-52869 PYSEC-2026-3482MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
- HIGHGHSA-j975-95f5-7wqh CVE-2025-53365 PYSEC-2026-1618MCP Python SDK has Unhandled Exception in Streamable HTTP Transport, Leading to Denial of Service
- HIGHGHSA-vj7q-gjh5-988w CVE-2026-59950 PYSEC-2026-3483MCP Python SDK: WebSocket server transport does not support Host/Origin validation
- HIGHGHSA-9h52-p55h-vw2f CVE-2025-66416 PYSEC-2026-1617Model Context Protocol (MCP) Python SDK does not enable DNS rebinding protection by default
- HIGHGHSA-3qhf-m339-9g5v CVE-2025-53366 PYSEC-2026-1616MCP Python SDK vulnerability in the FastMCP Server causes validation error, leading to DoS
- MEDIUMPYSEC-2026-1617 CVE-2025-66416 GHSA-9h52-p55h-vw2fModel Context Protocol (MCP) Python SDK does not enable DNS rebinding protection by default
- MEDIUMPYSEC-2026-1616 CVE-2025-53366 GHSA-3qhf-m339-9g5vMCP Python SDK vulnerability in the FastMCP Server causes validation error, leading to DoS
- MEDIUMPYSEC-2026-1618 CVE-2025-53365 GHSA-j975-95f5-7wqhMCP Python SDK has Unhandled Exception in Streamable HTTP Transport, Leading to Denial of Service
- MEDIUMPYSEC-2026-3483 CVE-2026-59950 GHSA-vj7q-gjh5-988wMCP Python SDK: WebSocket server transport does not support Host/Origin validation
- MEDIUMPYSEC-2026-3482 CVE-2026-52869 GHSA-jpw9-pfvf-9f58MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
setuptoolsPyPI 76.0.0 HIGH 5 advisories 250a6d17978f9f6ac3ac887091f2d32886fbbb0b78.1.183.0.0+1 more
- HIGHGHSA-5rjg-fvgr-3xxf BIT-setuptools-2025-47273 CVE-2025-47273 PYSEC-2025-49setuptools has a path traversal vulnerability in PackageIndex.download that leads to Arbitrary File Write
- MEDIUMGHSA-h35f-9h28-mq5c BIT-setuptools-2026-59890 CVE-2026-59890 PYSEC-2026-3447setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+
- MEDIUMPYSEC-2026-3447 BIT-setuptools-2026-59890 CVE-2026-59890 GHSA-h35f-9h28-mq5csetuptools is a package that allows users to download, build, install, upgrade, and uninstall Python packages. Prior to 83.0.0, FileList applied MANIFEST.in exclude, global-exclude, recursive-exclude, and prune directives by matching compiled glob patterns against on-disk file names without Unicode normalization, so on macOS APFS or HFS+ an NFD file name could bypass an NFC exclusion rule and be packed into a source distribution. This issue is fixed in version 83.0.0.
- MEDIUMPYSEC-2025-49 BIT-setuptools-2025-47273 CVE-2025-47273 GHSA-5rjg-fvgr-3xxfsetuptools is a package that allows users to download, build, install, upgrade, and uninstall Python packages. A path traversal vulnerability in `PackageIndex` is present in setuptools prior to version 78.1.1. An attacker would be allowed to write files to arbitrary locations on the filesystem with the permissions of the process running the Python code, which could escalate to remote code execution depending on the context. Version 78.1.1 fixes the issue.
- LOWGHSA-xmj3-9gf7-h52wsetuptools: Windows path escape via namespace_packages.txt during legacy wheel installation Description
idnaPyPI 3.10 MEDIUM 2 advisories 3.15
- MEDIUMPYSEC-2026-215 CVE-2026-45409 GHSA-65pc-fj4g-8rjxInternationalized Domain Names in Applications (IDNA) for Python provides support for Internationalized Domain Names in Applications (IDNA) and Unicode IDNA Compatibility Processing. In versions prior to 3.15, payloads such as `"\\u0660" * N` or `"\\u30fb" * N + "\\u6f22"` utilize the `valid_contexto` function prior to length rejection, and for high values of `N` will take a long time to process. This is the same issue as CVE-2024-3651, however the original remediation in 2024 was not a complete fix. A specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service. Starting in version 3.14, the function rejects long inputs as soon as practicable prior to any further processing to minimize resource consumption. In version 3.15, this approach was extended to lesser used alternate functions (i.e. per-label conversions and codec support). A workaround is available. Domain names cannot exceed 253 characters in length. If this length limit is enforced prior to passing the domain to the `idna.encode()` function, it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.
- MEDIUMGHSA-65pc-fj4g-8rjx CVE-2026-45409 PYSEC-2026-215Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix
pygmentsPyPI 2.19.1 MEDIUM 2 advisories 2.20.0
- MEDIUMPYSEC-2026-2987 CVE-2026-4539 GHSA-5239-wwwm-4pmqPygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID Matching
- LOWGHSA-5239-wwwm-4pmq CVE-2026-4539 PYSEC-2026-2987Pygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID Matching
python-dotenvPyPI 1.0.1 MEDIUM 2 advisories 1.2.2
- MEDIUMGHSA-mf9w-mj56-hr94 CVE-2026-28684 PYSEC-2026-2270python-dotenv: Symlink following in set_key allows arbitrary file overwrite via cross-device rename fallback
- MEDIUMPYSEC-2026-2270 CVE-2026-28684 GHSA-mf9w-mj56-hr94python-dotenv reads key-value pairs from a .env file and can set them as environment variables. Prior to version 1.2.2, `set_key()` and `unset_key()` in python-dotenv follow symbolic links when rewriting `.env` files, allowing a local attacker to overwrite arbitrary files via a crafted symlink when a cross-device rename fallback is triggered. Users should upgrade to v.1.2.2 or, as a workaround, apply the patch manually.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | mcp >=1.2.0 |
| Servers in the code | 2 (FreeCAD-DB-Server, AutoCAD-DB-Server) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-10-15 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 5 catalogs (awesome_tensorblock, github_search, glama, mcp_toplist, mcpservers_org) |
|---|---|
| License | not stated |
| Created | 2025-03-17 |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.