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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-104853— Nx 包迁移路径穿越漏洞

一分钟漏洞结论

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

Nx 是一个用于 TypeScript 和多语言代码库的 monorepo(单仓多包)解决方案。在版本 13.10.0 至 22.7.10 以及 23.2.1 之前,Nx 的迁移规划功能会从目标包的包清单(package manifest)中读取 字段,但未验证该值是否为受限的相对路径。恶意直接依赖项,或通过受信任包的 引入的包,可以在该字段中提供包含 路径段或绝对路径的值,导致 命令将本应逃逸到外部目录的路径拼接到其临时目录中。迁移存档随后可能将攻击者控制的字节写入临时目录之外的位置;此外,在打开目标输出流时,即

CVSS 5.8 · Medium

影响版本矩阵 2

厂商产品 版本范围状态
nrwl nx >= 13.10.0, < 22.7.10 affected
>= 23.0.0, < 23.2.1 affected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Nx: Path traversal in nx migrate package-migrations extraction
来源: CVE Program / CVE List V5
Vulnerability Description
Nx is a monorepo solution for TypeScript and polyglot codebases. From 13.10.0 until 22.7.10 and 23.2.1, Nx migration planning reads the nx-migrations.migrations value from a target package manifest without validating that it is a contained relative path. A hostile direct dependency or a package introduced through a trusted package's packageGroup can supply .. segments or an absolute path, causing nx migrate to join an escaping destination onto its temporary directory. The migration archive can then write attacker-controlled bytes outside the temporary directory, while opening the destination stream can truncate an existing writable file even when no archive entry matches. This occurs during migration planning before review of the migration list or use of --run-migrations; the vulnerable installed Nx copy is reached when the normal nx@latest handoff is bypassed with NX_USE_LOCAL, NX_MIGRATE_USE_LOCAL, NX_MIGRATE_CLI_VERSION, --run-id, or fallback after a temporary-install failure. This issue is fixed in versions 22.7.10 and 23.2.1.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
nrwl nx >= 13.10.0, < 22.7.10 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

请登录查看更多情报信息。

CVE-2026-104853 其他参考 (7)

同批安全公告 · nrwl · 2026-10-02 · 共 3 条

CVE-2026-104854 8.5 HIGH Nexus 本地权限提升漏洞
CVE-2026-104859 7.3 HIGH Nx @nx/docker 发布流水线中的操作系统命令注入漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-104853

暂无评论


发表评论