CVE-2026-116676 Details
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.
A command injection vulnerability has been identified in Atlantis, a self-hosted Golang application that interacts with Terraform via webhooks. This vulnerability exists in Atlantis versions 0.4.0 through 0.47.0. The issue arises because Atlantis passes the workspace name from the pull request's atlantis.yaml file into Terraform command arguments without proper sanitization. An authenticated contributor can exploit this by including shell metacharacters in the workspace name, leading to arbitrary command execution as the Atlantis service account. The executed commands can access sensitive credentials and resources available to the service.
Users can upgrade to Atlantis version 0.47.1, which addresses this vulnerability by preventing pull request input from being executed in a shell.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 27, 2026CISA-ADP
Assessed Nov 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/runatlantis/atlantis/security/advisories/GHSA-rjh2-4xgw-p2hj | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/runatlantis/atlantis/commit/8dd22b4d0a9d7c129fdbf6a3398dd1c4cf8c3a59 | [email protected] | Source CodeVendor |
| https://github.com/runatlantis/atlantis/commit/f04df0d53f0544d9eb6f5026dd8b74fbefd82ac8 | [email protected] | Source CodeVendor |
| https://github.com/runatlantis/atlantis/pull/6792 | [email protected] | Issue TrackingVendor |
| https://github.com/runatlantis/atlantis/releases/tag/v0.47.1 | [email protected] | Release NotesVendor |
| https://github.com/runatlantis/atlantis/security/advisories/GHSA-rjh2-4xgw-p2hj | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Atlantis | >= 0.4.0, <= 0.47.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 3, 2026 | CVE Modified | CISA-ADP |
| Oct 27, 2026 | New CVE Received | [email protected] |
Volerion