Vulnerability · Published Oct 27, 2026 · Assigned by GitHub_M

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

High 8.8

In plain English

A high-severity OS command injection in atlantis from runatlantis. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.5%top 59.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/runatlantis/atlantis0.47.1GHSA-rjh2-4xgw-p2hj
Gogithub.com/runatlantis/atlantis0.47.1GO-2026-6871

Affected products (as reported)

VendorProductVersions
runatlantis atlantis >= 0.4.0, < 0.47.1

Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References