字号·· | 护眼
漏洞档案 · 严重

Aquasecurity Trivy 供应链投毒(CVE-2026-33634):攻击者用被窃凭据发布恶意版本并劫持 GitHub Action 标签,可致凭据大规模外泄

CVE-2026-33634 别名:GHSA-69FQ-XP46-6X23
CVSS 9.4 / 4.0 EPSS 2.0% CISA KEV 在野利用 公开 PoC · 5
综合风险70/ 100
CVSS9.4严重
EPSS2.0%30 天利用概率
机构收录时间2026-03-23更新 2026-11-27

研判简报

Aquasecurity Trivy 供应链投毒(CVE-2026-33634):攻击者用被窃凭据发布恶意版本并劫持 GitHub Action 标签,可致凭据大规模外泄

概述

2026 年 3 月 19 日,威胁行为者使用被窃取的凭据发布了恶意的 Trivy v0.69.4 版本,将 aquasecurity/trivy-action 77 个版本标签中的 76 个强制推送为窃取凭据的恶意代码,并把 aquasecurity/setup-trivy 全部 7 个标签替换为恶意提交。该事件是 2026 年 2 月底开始的供应链攻击的延续:3 月 1 日首次披露后虽执行了凭据轮换,但轮换并非原子操作,攻击者可能在轮换窗口内利用有效令牌窃取新轮换的密钥,从而保留访问权限并发动 3 月 19 日攻击。凡在暴露窗口内拉取或运行过受影响 Trivy 二进制、容器镜像或 GitHub Action 的 CI/CD 流水线,其可访问的密钥均应视为已泄露。安全研究员、DevOps 与供应链安全负责人应重点关注。

严重性

CVSS 9.4(4.0),综合风险分 81.99/100,评级 critical;EPSS 30 天利用概率 62.0%(百分位 99.2%)。攻击面为开发者与 CI/CD 供应链:恶意代码在构建/扫描环节执行,可直接触及流水线持有的全部密钥。

利用状态

截至核查日期 2026-11-25:已收录 CISA KEV(2026-03-26),KEV 要求动作期限 2026-04-09;Exploit-DB/公开 PoC 共 5 条;CISA SSVC 判定 exploitation=active、technical_impact=total、automatable=no。材料未给出勒索软件关联信息,材料未给出 Nuclei 模板状态。

受影响产品

  • aquasecurity:trivy 二进制与容器镜像 = 0.69.4;参考材料补充:经 Docker Hub 分发的 v0.69.5、v0.69.6 镜像亦为恶意。
  • aquasecurity:trivy-action < 0.35.0(即 0.0.1 – 0.34.2,76/77 个标签被劫持)。
  • aquasecurity:setup-trivy < 0.2.6(0.2.0 – 0.2.6,0.2.6 重建前的标签)。
  • 关联组件:BerriAI:LiteLLM >= 1.82.7, <= 1.82.8;team-telnyx:telnyx >= 4.87.1, <= 4.87.2。
  • 部署形态:GitHub Actions 工作流、容器镜像仓库(GHCR/ECR public/Docker Hub)、Deb/RPM 分发及 PyPI 包。

修复版本

官方已发布安全版本:Trivy 二进制 0.69.2、0.69.3;trivy-action 0.35.0;setup-trivy 0.2.6(以安全提交重建)。参考材料另指出 v0.69.3 受 GitHub immutable releases 保护、v0.69.2 可用 sigstore 签名校验完整性。关联包 telnyx 的安全版本材料未给出具体版本号(仅称 4.87.0 及更早不受影响)。

缓解措施

  • 无法立即升级时,改用按 digest 引用的 Trivy 镜像、从源码构建的二进制,或以 SHA 固定到 2025-04-09 之后的安全提交。
  • 避免使用 latest 参数引用 trivy-action;不要以未固定的标签引用 setup-trivy。
  • 按 KEV 要求执行厂商缓解指引,并遵循 BOD 22-01 云服务相关要求;无缓解手段时应停用该产品。
  • 将受影响流水线可访问的所有密钥视为已暴露并立即轮换,轮换应原子完成,避免再次出现可被利用的窗口。

响应步骤

  1. 排查暴露窗口内是否拉取/运行过 Trivy v0.69.4(及 Docker Hub 的 v0.69.5/v0.69.6)、trivy-action 0.0.1–0.34.2、setup-trivy 0.2.0–0.2.6,以及 telnyx 4.87.1/4.87.2、LiteLLM 1.82.7/1.82.8。
  2. 检查 CI 日志、镜像与中间缓存中是否残留恶意制品(官方称制品已下架但可能滞留于缓存)。
  3. 立即轮换受影响流水线可访问的全部密钥(SSH、云厂商凭据、Kubernetes 令牌、Docker 配置、.env、数据库凭据、加密钱包等)。
  4. 审计轮换窗口内的令牌使用记录,排查攻击者是否借有效令牌窃取新密钥并保持访问。
  5. 升级至安全版本并按 SHA/digest 固定依赖,复核 GitHub Actions 工作流的版本引用方式。
  6. 若发现 Kubernetes 访问痕迹,排查是否存在特权 Pod 横向移动迹象。

参考来源

  1. https://github.com/aquasecurity/trivy/security/advisories/GHSA-69fq-xp46-6x23x_refsource_CONFIRM,advisory,euvd
  2. https://github.com/team-telnyx/telnyx-python/security/advisories/GHSA-955r-262c-33jcx_refsource_MISC,advisory,euvd
  3. https://github.com/BerriAI/litellm/issues/24518x_refsource_MISC,advisory,euvd
  4. https://docs.litellm.ai/blog/security-update-march-2026x_refsource_MISC,advisory,euvd
  5. https://futuresearch.ai/blog/litellm-pypi-supply-chain-attackx_refsource_MISC,advisory,euvd
  6. https://github.com/aquasecurity/trivy/discussions/10425x_refsource_MISC,advisory,euvd
  7. https://github.com/pypa/advisory-database/tree/main/vulns/litellm/PYSEC-2026-2.yamlx_refsource_MISC,advisory,euvd
  8. https://inspector.pypi.io/project/litellm/1.82.7/packages/79/5f/b6998d42c6ccd32d36e12661f2734602e72a576d52a51f4245aef0b20b4d/litellm-1.82.7-py3-none-any.whl/litellm/proxy/proxy_server.py#line.130x_refsource_MISC,advisory,euvd
  9. https://inspector.pypi.io/project/litellm/1.82.8/packages/f6/2c/731b614e6cee0bca1e010a36fd381fba69ee836fe3cb6753ba23ef2b9601/litellm-1.82.8.tar.gz/litellm-1.82.8/litellm_init.pth#line.1x_refsource_MISC,advisory,euvd
  10. https://www.wiz.io/blog/teampcp-attack-kics-github-actionx_refsource_MISC,advisory,euvd
  11. https://rosesecurity.dev/2026/03/20/typosquatting-trivy.htmlexploit
  12. https://www.microsoft.com/en-us/security/blog/2026/03/24/detecting-investigating-defending-against-trivy-supply-chain-compromise/third-party-advisory
  13. https://github.com/BerriAI/litellm/issues/24518#issuecomment-4127436387third-party-advisory
  14. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-33634government-resource
  15. https://nvd.nist.gov/vuln/detail/CVE-2026-33634kev
  16. https://www.kaspersky.com/blog/critical-supply-chain-attack-trivy-litellm-checkmarx-teampcp/55510/kev