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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-121747— nvm 任意文件读取漏洞

一分钟漏洞结论

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

Node Version Manager(nvm)是一个符合 POSIX 标准的 Shell 函数,用于管理多个 Node.js 版本。在 0.2.0 至 0.40.8 版本中,nvm 未检查 文件是否为符号链接。若某个仓库或归档将 配置为指向其他文件的符号链接(例如 ,或在 Linux 上指向 ),则执行普通的 、 、 、 、 或 命令时,nvm 会读取该目标文件并将其内容输出到"invalid .nvmrc"错误信息中(即使使用 选项);对于单行文件,其内容还可能出现在"Found ... with versi

CVSS 5.5 · Medium
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
nvm prints the contents of any readable file through a symlinked .nvmrc
来源: CVE Program / CVE List V5
Vulnerability Description
Node Version Manager (nvm) is a POSIX-compliant shell function for managing multiple node.js versions. In versions 0.2.0 through 0.40.8, nvm does not check whether `.nvmrc` is a symbolic link. A repository or archive that ships `.nvmrc` as a symlink to another file (for example `../../.npmrc`, or `/proc/self/environ` on Linux) makes a plain `nvm use`, `nvm install`, `nvm which`, `nvm exec`, `nvm run`, or `nvm-exec` read that file and print its contents in the invalid-`.nvmrc` message (even with `--silent`) or, for a one-line file, in the `Found ... with version <...>` message; with the README's zsh `load-nvmrc` or bash `cdnvm` hook installed, entering the directory is enough. nvm sends the content nowhere; the attacker learns it only where they can see the victim's output, such as a CI log for a contributed branch. Version 0.41.0 still follows a symlinked `.nvmrc`, so deliberate links to another version file keep working, but never prints its content, and accepts it only if it contains a version or the name of an existing alias; the README's bash `cdnvm` hook, which read `.nvmrc` itself, now gets the version from nvm, so users of that hook must also update their copy of it.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
在文件访问前对链接解析不恰当(链接跟随)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
nvm-sh nvm 0.2.0 ~ 0.41.0 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-121747 其他参考 (3)

同批安全公告 · nvm-sh · 2026-11-04 · 共 7 条

CVE-2026-121746 5.5 MEDIUM nvm 通过符号链接 .nvmrc 覆盖任意文件漏洞
CVE-2026-121748 3.6 LOW nvm 远程代码执行漏洞
CVE-2026-121749 3.3 LOW nvm 任意版本 .nvmrc 文件读取漏洞
CVE-2026-121750 3.1 LOW nvm 离线安装校验失败缓存漏洞
CVE-2026-121751 3.1 LOW nvm LTS 别名远程代码执行漏洞
CVE-2026-121745 2.5 LOW nvm curl/wget 命令暴露敏感信息漏洞

IV. Related Vulnerabilities