CVE-2026-116676 Atlantis: OS command injection through PR-controlled Terraform workspace enables RCE during plan
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-116676?
CVE-2026-116676 is a high-severity vulnerability in runatlantis atlantis, published on 27 Oct 2026.
Official 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.
Weakness: CWE-78
Which versions are affected by CVE-2026-116676?
2 open source packages ship an affected version, including github.com/runatlantis/atlantis.
| Package | Affected | Fixed in |
|---|---|---|
github.com/runatlantis/atlantis Go | From 0.4.0 | 0.47.1 |
github.com/runatlantis/atlantis Go | From 0.4.0 | 0.47.1 |
How do I fix CVE-2026-116676?
Upgrade github.com/runatlantis/atlantis to 0.47.1 or later.
Is CVE-2026-116676 being exploited?
There is no known exploitation of CVE-2026-116676 in the wild and no public exploit code.
Sources
Also known as GHSA-rjh2-4xgw-p2hj, MINI-9q5j-hg9f-jv74, MINI-fhjj-c329-cqpq.