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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-12398— Ansible Galaxy NG 命令注入漏洞

一分钟漏洞结论

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

Galaxy NG是美国Ansible公司开源的新一代后端服务。 Ansible Galaxy NG存在命令注入漏洞,该漏洞源于galaxy_ng中do_git_checkout()函数将未经过清理的git ref名称插入shell命令,可能导致经过身份验证的用户通过创建包含shell元字符的分支或标签实现在pulp worker上远程执行代码。

CVSS 7.5 · High EPSS 0.89% · P58

影响版本矩阵 9

厂商产品 版本范围状态
Red Hat Red Hat Ansible Automation Platform 2 全部 unaffected
全部 affected
全部 affected
全部 affected
全部 affected
全部 unknown
全部 unknown
全部 unknown
… +1 条更多
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Galaxy_ng: shell injection in legacy role import via unsanitized git ref names
来源: CVE Program / CVE List V5
Vulnerability Description
A command injection vulnerability was found in galaxy_ng. The do_git_checkout() function in the legacy role import API (v1) interpolates unsanitized git ref names (branch/tag names) into shell commands executed via subprocess.run() with shell=True. An authenticated user who controls a git repository can create a branch or tag with shell metacharacters in the name to achieve remote code execution on the pulp worker. The vulnerable endpoint is only reachable when GALAXY_ENABLE_LEGACY_ROLES is set to True, which is not the default configuration.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
来源: CVE Program / CVE List V5
Vulnerability Title
Ansible Galaxy NG 命令注入漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Galaxy NG是美国Ansible公司开源的新一代后端服务。 Ansible Galaxy NG存在命令注入漏洞,该漏洞源于galaxy_ng中do_git_checkout()函数将未经过清理的git ref名称插入shell命令,可能导致经过身份验证的用户通过创建包含shell元字符的分支或标签实现在pulp worker上远程执行代码。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Red Hat Red Hat Ansible Automation Platform 2 - cpe:/a:redhat:ansible_automation_platform:2
Red Hat Red Hat Ansible Automation Platform 2 - cpe:/a:redhat:ansible_automation_platform:2
Red Hat Red Hat Ansible Automation Platform 2 - cpe:/a:redhat:ansible_automation_platform:2
Red Hat Red Hat Ansible Automation Platform 2 - cpe:/a:redhat:ansible_automation_platform:2
Red Hat Red Hat Ansible Automation Platform 2 - cpe:/a:redhat:ansible_automation_platform:2
Red Hat Red Hat Ansible Automation Platform 2 - cpe:/a:redhat:ansible_automation_platform:2
Red Hat Red Hat Ansible Automation Platform 2 - cpe:/a:redhat:ansible_automation_platform:2
Red Hat Red Hat Ansible Automation Platform 2 - cpe:/a:redhat:ansible_automation_platform:2
Red Hat Red Hat Ansible Automation Platform 2 - cpe:/a:redhat:ansible_automation_platform:2

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

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

CVE-2026-12398 其他参考 (1)

同批安全公告 · Red Hat · 2026-06-16 · 共 7 条

CVE-2026-10649 8.6 HIGH ClusterLabs Pacemaker 数字错误漏洞
CVE-2026-1767 5.6 MEDIUM GNOME localsearch 安全漏洞
CVE-2026-1766 5.6 MEDIUM GNOME localsearch MP3 Extractor 安全漏洞
CVE-2026-1765 5.6 MEDIUM GNOME localsearch 安全漏洞
CVE-2026-1764 5.6 MEDIUM GNOME localsearch MP3 Extractor 安全漏洞
CVE-2026-4367 5.5 MEDIUM X.Org libXpm 安全漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-12398

暂无评论


发表评论