Vulnerabilities

Security fix · CVE-2026-116676

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

Published Oct 27, 2026 · catalog updated Oct 27, 2026 · Atlantis: OS command injection

Last checked Nov 6, 2026. A connected source was read within the last 7 days.

Check if you run it

No confirmed exploitation is on record for CVE-2026-116676. EPSS is 0.47%. Act only if a listed version of Atlantis: OS command injection is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (Atlantis: OS command injection).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
High8.8
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.47%
Remediation
Version ranges on file
Affected products
Go github.com/runatlantis/atlantis · go github.com/runatlantis/atlantis · golang github.com

### Summary Atlantis passes the Terraform value from a pull request's into a shell command without quoting or escaping it. A contributor whose pull request is eligible for an Atlantis plan can include shell metacharacters in the workspace name and execute arbitrary commands as the Atlantis service account. This does not require custom workflows, , or permission to run . The executed command inherits the Atlantis process environment, which commonly contains cloud-provider, Terraform, and VCS credentials. ### Details Verified against current commit on August 13, 2026. The vulnerable data flow is: 1. The PR-controlled project workspace is validated in [ ](https://github.com/runatlantis/atlantis/blob/92ce5c51d1a050357e44df3535483425e59fa984/server/core/config/raw/project.go#L139-L149). Validation rejects only , , and . Shell metacharacters such as , , , redirections, and whitespace remain permitted. 2. The workspace is passed directly as a Terraform command argument in [ ](https://github.com/runatlantis/atlantis/blob/92ce5c51d1a050357e44df3535483425e59fa984/server/core/runtime/workspace_step_runner_delegate.go#L86-L96): 3. Terraform arguments are concatenated into a single string using in [ ](https://github.com/runatlantis/atlantis/blob/92ce5c51d1a050357e44df3535483425e59fa984/server/core/terraform/tfclient/terraform_client.go#L451-L468): 4. The resulting string is executed through in [ ](https://github.com/runatlantis/atlantis/blob/92ce5c51d1a050357e44df3535483425e59fa984/server/core/terraform/tfclient/terraform_client.go#L416-L427): Consequently, a workspace such as: produces commands equivalent to: was confirmed to return no error for this workspace value. Atlantis documents that planning untrusted Terraform can already be dangerous because providers and external data sources execute code. The distinct issue here is that an ordinary project configuration field becomes shell source, bypassing the explicit control and requiring no malicious provider, external data sour

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • Go github.com/runatlantis/atlantis0.4.0 → 0.47.1
  • go github.com/runatlantis/atlantis>= 0.4.0, <= 0.47.0
  • golang github.comversion unspecified

How to fix CVE-2026-116676

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2026-116676. EPSS is 0.47%. Act only if a listed version of Atlantis: OS command injection is installed.

Which versions are affected?

Compare what you have installed with 0.4.0 → 0.47.1, >= 0.4.0, <= 0.47.0. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-78: OS Command Injection. EPSS 0.47%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Technology hubs

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Oct 27, 2026 · GitHub Advisory Database

    Detected

    ### Summary Atlantis passes the Terraform value from a pull request's into a shell command without quoting or escaping it. A contributor whose pull request is eligible for an Atlantis plan can include shell metacharacters in the workspace name and execute arbitrary commands as the Atlantis service account. This does not require custom workflows, , or permission to run . The executed command inheri

  2. Oct 27, 2026 · GitHub Advisory Database

    Fix available

    github.com/runatlantis/atlantis fixed in 0.47.1

  3. Oct 27, 2026 · GitHub Advisory Database

    Fix available

    github.com/runatlantis/atlantis fixed in 0.47.1

  4. Oct 27, 2026 · GitHub Advisory Database

    Updated

    ### Summary Atlantis passes the Terraform value from a pull request's into a shell command without quoting or escaping it. A contributor whose pull request is eligible for an Atlantis plan can include shell metacharacters in the workspace name and execute arbitrary commands as the Atlantis service account. This does not require custom workflows, , or permission to run . The executed command inheri

Sources

  • CVE.orgVulnerability recordCVE-2026-116676

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2026-116676

    30-day exploitation probability 0.47%

    first.org
  • GitHub Advisory DatabasePackage advisoryGHSA-rjh2-4xgw-p2hj

    GitHub Advisory Database record mirrored by OSV.

    github.com
  • GitLab Advisory DatabasePackage advisoryCVE-2026-116676

    Atlantis passes the Terraform workspace value from a pull request's atlantis.yaml into a shell command without quoting or escaping it. A contributor whose pull request is eligible for an Atlantis plan can include shell metacharacters in the workspace name and execute arbitrary commands as the Atlantis service account. This does not require custom workflows, allow_custom_workflows, or permission to

    advisories.gitlab.com
  • Go Vulnerability DatabasePackage advisoryGHSA-rjh2-4xgw-p2hj

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

    osv.dev
  • OpenSSF OSV / OSV ScannerPackage advisoryGHSA-rjh2-4xgw-p2hj

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

    osv.dev

References

Freshness

Last verified in this catalog Nov 6, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • FIRST EPSSNov 6, 2026
  • Go Vulnerability DatabaseOct 28, 2026
  • GitHub Advisory DatabaseOct 28, 2026
  • OpenSSF OSV / OSV ScannerOct 28, 2026
  • CVE.orgOct 28, 2026
  • GitLab Advisory DatabaseOct 28, 2026