跳到正文
CVE-high(cvefeed.io)·· 5 小時前精選AI 評分82

Atlantis 0.4.0‑0.47.1 版本 OS 指令注入漏洞 CVE‑2026‑116676 允許 RCE

CVE-2026-116676 - Atlantis: OS command injection through PR-controlled Terraform workspace enables RCE during plan

AI 導讀

Atlantis 0.4.0‑0.47.1 版本因工作區名稱注入漏洞(CVE‑2026‑116676)允許授權貢獻者在服務帳號下執行任意 shell 指令。

  • 受影響範圍:Atlantis 0.4.0 至 0.47.1,任何能執行 plan 的授權貢獻者皆可能利用。
推薦理由

此漏洞允許授權貢獻者在 Atlantis 服務帳號下執行任意 shell 指令,對 CI/CD 流程安全構成嚴重威脅。受影響版本為 0.4.0 至 0.47.1,建議立即升級至 0.47.1 或以上,並檢查工作區名稱以避免未經授權的執行。

正文 · 原文

Atlantis is a self-hosted golang application that listens for Terraform pull request events via webhooks. From version 0.4.0 until 0.47.1, Atlantis passes the pull-request-controlled workspace value from atlantis.yaml into Terraform command arguments that are joined with strings.Join(args, " ") and executed through sh -c. An authenticated contributor whose pull request is eligible for an Atlantis plan can include shell metacharacters in the workspace name, causing arbitrary commands to execute as the Atlantis service account without custom workflows, apply permission, or a malicious Terraform provider. External contributors can reach the flaw through fork pull requests only when --allow-fork-prs is enabled, while eligible same-repository branches do not require that option. The commands inherit the Atlantis process environment and can access cloud-provider, Terraform, and version-control credentials as well as files, state, and network resources available to the service. This issue is fixed in version 0.47.1.

Impact

Affected Products

The following products are affected by CVE-2026-116676 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Runatlantis atlantis

The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.

Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH MITRE-CVE
CVSS 3.1 HIGH [email protected]

Update Atlantis to version 0.47.1 or later to fix arbitrary command execution vulnerability.

  • Update Atlantis to version 0.47.1 or later.
  • Review and sanitize workspace names in atlantis.yaml.
  • Restrict access for untrusted contributors.

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-116676.

URL Resource
https://github.com/runatlantis/atlantis/commit/8dd22b4d0a9d7c129fdbf6a3398dd1c4cf8c3a59
https://github.com/runatlantis/atlantis/commit/f04df0d53f0544d9eb6f5026dd8b74fbefd82ac8
https://github.com/runatlantis/atlantis/pull/6792
https://github.com/runatlantis/atlantis/releases/tag/v0.47.1
https://github.com/runatlantis/atlantis/security/advisories/GHSA-rjh2-4xgw-p2hj

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-116676 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-116676 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-116676 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-116676 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    十月. 27, 2026

    Action Type Old Value New Value
    Added Description Atlantis is a self-hosted golang application that listens for Terraform pull request events via webhooks. From version 0.4.0 until 0.47.1, Atlantis passes the pull-request-controlled workspace value from atlantis.yaml into Terraform command arguments that are joined with strings.Join(args, " ") and executed through sh -c. An authenticated contributor whose pull request is eligible for an Atlantis plan can include shell metacharacters in the workspace name, causing arbitrary commands to execute as the Atlantis service account without custom workflows, apply permission, or a malicious Terraform provider. External contributors can reach the flaw through fork pull requests only when --allow-fork-prs is enabled, while eligible same-repository branches do not require that option. The commands inherit the Atlantis process environment and can access cloud-provider, Terraform, and version-control credentials as well as files, state, and network resources available to the service. This issue is fixed in version 0.47.1.
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-78
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/116xxx/CVE-2026-116676.json">CVE-2026-116676</a>
    Added Reference https://github.com/runatlantis/atlantis/commit/8dd22b4d0a9d7c129fdbf6a3398dd1c4cf8c3a59
    Added Reference https://github.com/runatlantis/atlantis/commit/f04df0d53f0544d9eb6f5026dd8b74fbefd82ac8
    Added Reference https://github.com/runatlantis/atlantis/pull/6792
    Added Reference https://github.com/runatlantis/atlantis/releases/tag/v0.47.1
    Added Reference https://github.com/runatlantis/atlantis/security/advisories/GHSA-rjh2-4xgw-p2hj

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.

來源: CVE-high (cvefeed.io)
開啟原文