High severity · published Oct 27, 2026
CVE-2026-116676
Atlantis: OS command injection through PR-controlled Terraform workspace enables RCE during plan
New
8.8
CVSS
–
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AT
atlantis · runatlantis
>= 0.4.0, < 0.47.1 · source: vendor
Affected product
AT
atlantis
runatlantis
More from atlantis
9.8
CVE-2024-52009
Atlantis is a self-hosted golang application that listens for Terraform pull request events via webhooks
8.1
CVE-2026-64679
Atlantis: Path Traversal in Atlantis Workspace Handling Allows Out-of-Bounds Directory Deletion/Creation
8.0
CVE-2026-82282
Atlantis GitHub App Setup Endpoint Returns App Credentials to Unauthenticated Callers
7.5
CVE-2025-58445
Atlantis is a self-hosted golang application that listens for Terraform pull request events via webhooks
7.5
CVE-2022-24912
The package github.com/runatlantis/atlantis/server/controllers/events before 0.19.7 are vulnerable to Timing Attack in the webhook event validator code, which does not use a…