目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-55585— QWED 通过不安全 SymPy parse_expr() 远程代码执行漏洞

一分钟漏洞结论

影响对象
QWED-AI qwed-verification
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

以下是该漏洞描述信息的中文翻译: QWED 是一个开源的 AI 验证基础设施,用于在生产环境执行之前,对大语言模型(LLM)的输出、工具调用、代码、模式以及智能体状态进行确定性验证。在版本 5.1.2 之前,qwed 软件包将调用者控制的数学表达式直接传递给 SymPy 的 函数,且未限制 和 命名空间,从而导致 Python 的 能够解析内置函数并在 API 服务器进程中执行任意 Python 代码。 在 文件中, 接口虽通过 进行了租户身份验证,但接受任何有效的租户 API 密钥。该接口读取 字段,仅应用了形式

CVSS 8.8 · High

影响版本矩阵 1

厂商产品 版本范围状态
QWED-AI qwed-verification < 5.1.2 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-55585 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
QWED: Authenticated Remote Code Execution via Unsafe SymPy `parse_expr()`
来源: CVE Program / CVE List V5
Vulnerability Description
QWED is open-source AI verification infrastructure for deterministic verification of LLM outputs, tool calls, code, schemas, and agent state before production execution. Prior to 5.1.2, the qwed package passes caller-controlled math expressions directly to SymPy parse_expr() without restricted global_dict and local_dict namespaces, allowing Python eval() to resolve builtins and execute arbitrary Python code in the API server process. In src/qwed_new/api/main.py, POST /verify/math is protected by get_current_tenant but accepts any valid tenant API key, reads the expression field, applies only a cosmetic re.sub(r'(\d)(()', r'\1*\2', expression) normalization, and passes the result to parse_expr(). In src/qwed_new/core/batch.py, POST /verify/batch sends math items through batch_service.create_job(), stores item.query verbatim, and _verify_item() passes VerificationType.MATH input to parse_expr() without sanitization. The default-enabled POST /auth/signup endpoint allows anyone to create a standard tenant account, POST /auth/api-keys issues an x-api-key, and either vulnerable path can then be used to read or write files, modify data, execute operating system commands, terminate the service, and compromise other tenants in a shared deployment. This issue is fixed in version 5.1.2.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
QWED-AI qwed-verification < 5.1.2 -

二、漏洞 CVE-2026-55585 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-55585 的情报信息

登录查看更多情报信息。

CVE-2026-55585 补丁与修复 (2)

CVE-2026-55585 厂商安全公告 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-55585

暂无评论


发表评论