← Back to search

CVE-2026-116676

8.8 HIGHpublic exploit available

Published 2026-10-27 · Updated 2026-10-28

AI risk analysis

Summary
Atlantis versions before 0.47.1 allow authenticated pull request contributors to inject shell metacharacters into the workspace name in atlantis.yaml, which gets passed unescaped to Terraform commands executed via `sh -c`, leading to arbitrary command execution as the Atlantis service account.
Exploitability
Exploitation requires authentication and the ability to submit a pull request with a modified atlantis.yaml containing a malicious workspace name; external contributors need --allow-fork-prs enabled, while same-repo branches do not.
Blast radius
Successful exploitation grants full access to all credentials, state, and resources accessible to the Atlantis service account, including cloud provider tokens, Terraform state, and internal network resources.
Detection
Log entries showing Atlantis executing `sh -c` with Terraform plan commands containing unexpected shell metacharacters (e.g., semicolons, pipes, backticks, $()) in the workspace argument may indicate exploitation attempts; inspect webhook-triggered command logs for such anomalies.
Prioritized remediation
Upgrade to Atlantis version 0.47.1 or later, which fixes the command injection vulnerability by properly escaping or sanitizing the workspace name before use in shell commands.
command-injectionrceci-cdwebhookterraform

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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

Weaknesses

CWE-78

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.