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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-123370— compose-lint 修复功能误删安全设置漏洞

一分钟漏洞结论

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

compose-lint 是一款用于 Docker Compose 的安全检查工具,能够在部署前识别危险配置。在 0.9.0 至 0.18.0 版本中,compose-lint 的 YAML 解析器将单独的 carriage return(\r)、以及 Unicode 行分隔符 U+0085、U+2028 和 U+2029 均识别为换行符;然而,其修复位置的转换逻辑仅统计换行符(\n)。攻击者可通过拉取请求(pull request)在引号包裹的值中插入上述某种分隔符,导致执行 时,后续所有编辑发生偏移,并删除目标

CVSS 5.1 · Medium

影响版本矩阵 1

厂商产品 版本范围状态
tmatens compose-lint >= 0.9.0, < 0.18.0 affected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
compose-lint: `fix --apply` can delete a line the user did not select, including a security setting
来源: CVE Program / CVE List V5
Vulnerability Description
compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From 0.9.0 until 0.18.0, compose-lint's YAML parser recognizes lone carriage returns and Unicode line separators U+0085, U+2028, and U+2029 as line breaks while fix position conversion counts only newline characters. A pull request can place one of these separators in a quoted value so fix --apply shifts each later edit and deletes the line after the selected target, including an unselected network or other security setting. The resulting Compose file can remain valid, post-edit checks can pass, and the command can report a successful fix even though the dry-run diff was the only place showing the extra deletion. This issue is fixed in version 0.18.0.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
Off-by-one错误
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
tmatens compose-lint >= 0.9.0, < 0.18.0 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-123370 其他参考 (6)

同批安全公告 · tmatens · 2026-11-09 · 共 7 条

CVE-2026-123369 5.3 MEDIUM compose-lint 远程代码执行漏洞
CVE-2026-123368 2.3 LOW compose-lint 通过外部符号链接读取 .env 的环境信息泄露漏洞
CVE-2026-123371 2.3 LOW compose-lint 目录遍历及解析错误漏洞
CVE-2026-123372 2.3 LOW compose-lint 敏感信息泄露漏洞
CVE-2026-123373 2.3 LOW compose-lint 任意文件引用漏洞
CVE-2026-123796 2.3 LOW compose-lint 远程命令执行漏洞

IV. Related Vulnerabilities