Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
runatlantis atlantis
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Atlantis 是一款自托管的 Go 语言应用程序,通过 Webhook 监听 Terraform 的 Pull Request(拉取请求)事件。从 0.4.0 版本到 0.47.1 版本,Atlantis 会将由拉取请求控制的、在 中指定的工作区(workspace)值,作为参数传递给 Terraform 命令;这些参数通过 拼接成字符串后,经由 执行。任何拥有拉取请求权限且其请求符合 Atlantis 执行计划(plan)条件的认证贡献者,均可在工作区名称中注入 Shell 元字符,从而以 Atlantis

CVSS 8.8 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-116676

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Atlantis: OS command injection through PR-controlled Terraform workspace enables RCE during plan
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
runatlantis atlantis >= 0.4.0, < 0.47.1 -

II. Public POCs for CVE-2026-116676

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-116676

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

Other References for CVE-2026-116676 (5)

IV. Related Vulnerabilities