Impact
Atlantis, a self-hosted Terraform automation tool, allows an authenticated contributor to supply a pull‑request‑controlled workspace name that is concatenated into a command string and executed via the shell. The workspace value is not sanitized, enabling the injection of shell metacharacters. An attacker can execute arbitrary commands as the Atlantis service account, gaining full access to any credentials or resources exposed to that account, including cloud provider tokens and Terraform state files.
Affected Systems
All installations of runatlantis Atlantis from version 0.4.0 through 0.47.1 are vulnerable. The problem arises when the application forwards the workspace field from atlantis.yaml into the Terraform command without any validation during plan operations.
Risk and Exploitability
The CVSS score of 8.8 indicates high severity with full impact on confidentiality, integrity, and availability of the affected infrastructure. The flaw can be exploited by anyone who can create or modify a pull request in a repository that Atlantis monitors, without needing custom workflows or an attacker‑controlled provider. The vulnerability is not currently listed in CISA KEV and no EPSS score is available, but the attack vector is straightforward: a malicious workspace name in a pull request triggers the injection. Prompt patching is advised to eliminate this remote code execution channel.
OpenCVE Enrichment
Github GHSA