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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-104859— Nx @nx/docker 发布流水线中的操作系统命令注入漏洞

一分钟漏洞结论

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

Nx 是用于 TypeScript 和多语言代码库的 monorepo 解决方案。在版本 21.4.0 至 22.7.8,以及 23.0.0 至 23.1.1 期间,@nx/docker 的发布流水线(release pipeline)将 docker 标签构建、镜像查找和 docker push 操作作为 shell 命令字符串来执行。配置项 release.docker.repositoryName 和 registryUrl 会被插值(interpolated)到这些字符串中,并通过 /bin/sh -c 传

CVSS 7.3 · High

影响版本矩阵 2

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

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

漏洞信息

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

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

Vulnerability Title
Nx: OS command injection in the @nx/docker release pipeline
来源: CVE Program / CVE List V5
Vulnerability Description
Nx is a monorepo solution for TypeScript and polyglot codebases. From 21.4.0 until 22.7.8 and from 23.0.0 until 23.1.1, the @nx/docker release pipeline builds docker tag, image lookup, and docker push invocations as shell command strings. The release.docker.repositoryName and registryUrl configuration values are interpolated into those strings and passed to /bin/sh -c, allowing shell syntax in untrusted Nx configuration to execute during nx release version or nx release publish. A pull request or repository configuration change can therefore execute commands with the release job's privileges and expose registry credentials or cloud tokens, and dry-run publishing does not prevent the vulnerable pre-check command from executing. This issue is fixed in versions 22.7.8 and 23.1.1.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
来源: CVE Program / CVE List V5

受影响产品

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

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-104859 其他参考 (4)

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

CVE-2026-104854 8.5 HIGH Nexus 本地权限提升漏洞
CVE-2026-104853 5.8 MEDIUM Nx 包迁移路径穿越漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-104859

暂无评论


发表评论