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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-126644— Ansible authorized_key 模块目录遍历漏洞

一分钟漏洞结论

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

在 集合的 模块中发现了一个链接跟随漏洞,这是 CVE-2026-11837 修复措施的残留问题。该修复仅保护了路径的最终组件(即在 函数中使用 并设置 ,以及使用 标志)。 当未授权本地用户将其 目录替换为指向其不拥有目录的符号链接,随后管理员以 root 身份运行 任务(这是一种常见的配置部署模式)时,该模块会通过符号链接解析其路径操作: 会将临时文件写入符号链接的目标目录,并将其重命名为 ,从而在攻击者指定的目录中创建或覆盖文件;同时, 会跟随符号链接并修改目标目录的权限。 虽然所写入的文件会被设置为未授权用

CVSS 3.9 · Low
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Ansible.posix: authorized_key module follows a parent-directory symlink allowing writes outside the intended directory
来源: CVE Program / CVE List V5
Vulnerability Description
A link-following flaw was found in the authorized_key module of the ansible.posix collection, residual to the fix for CVE-2026-11837. That fix guards only the final path component (os.chown with follow_symlinks=False and O_NOFOLLOW in _safe_open_write()). When an unprivileged local user replaces their ~/.ssh directory with a symlink to a directory they do not own, and an operator subsequently runs the authorized_key task as root (a common provisioning pattern), the module resolves its path operations through the symlink: atomic_move() writes the temporary file in the symlink target and renames it to <target>/authorized_keys, creating or overwriting a file in the attacker-chosen directory, and os.chmod(sshdir, 0o700) follows the symlink and changes the target directory's permissions. The written file is chowned to the unprivileged user, so this is not a privilege escalation, but it allows an attacker to create or overwrite files (for example in /etc/apt/apt.conf.d/, which APT reads regardless of file ownership) to cause integrity and availability impacts.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
来源: CVE Program / CVE List V5
Vulnerability Type
在文件访问前对链接解析不恰当(链接跟随)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
Red Hat Red Hat Enterprise Linux 10 - cpe:/a:redhat:enterprise_linux:10
Red Hat Red Hat Enterprise Linux 9 - cpe:/a:redhat:enterprise_linux:9

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-126644 其他参考 (2)

同批安全公告 · Red Hat · 2026-11-12 · 共 5 条

CVE-2026-126643 6.5 MEDIUM Aap-gateway-operator 自动化控制器明文泄露漏洞
CVE-2026-126641 6.5 MEDIUM Ansible-pylibssh 主机密钥伪造漏洞
CVE-2026-126642 6.5 MEDIUM AWX webhook 凭据分配绕过角色检查致令牌泄露
CVE-2026-71367 4.3 MEDIUM Ansible AWX WebSocket 广播组跨组织作业元数据泄露漏洞

IV. Related Vulnerabilities