CVE-2026-116676: Atlantis · OS command injection through PR-controlled Terraform workspace enables RCE during plan
Affects github.com/runatlantis/atlantisSource GCVE Database
Not known to be exploited · CVSS 8.8 High : upgrade to 0.47.1 soon.
Data as of 27 Oct 2026, 22:27 UTC
- Patch
- Available – fixed in 0.47.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade github.com/runatlantis/atlantis to 0.47.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/runatlantis/atlantis | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in Atlantis version 0.47.1. Users should upgrade to this version or later. The vendor's recommended remediation is to avoid constructing shell commands by concatenating arguments and instead use exec.Command with argument vectors to prevent shell injection. Additionally, stricter validation of workspace names can provide defense in depth. No other immediate actions are required if the system is upgraded.
Description
Atlantis contains an OS command injection vulnerability in its handling of the Terraform workspace name specified in a pull request's atlantis.yaml file. The workspace name is passed into a shell command without proper escaping, allowing an attacker controlling a pull request to execute arbitrary shell commands as the Atlantis service account during the plan phase. This does not require custom workflows or apply permissions. The vulnerability affects versions from 0.4.0 up to but not including 0.47.1 and has been fixed in version 0.47.1.
References
- github.com/runatlantis/atlantis/security/advisories/GHSA-rjh2-4xgw-p2hj (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-116676 (opens in a new tab)
- github.com/runatlantis/atlantis/pull/6792 (opens in a new tab)
- github.com/runatlantis/atlantis/commit/8dd22b4d0a9d7c129fdbf6a3398dd1c4cf8c3a59 (opens in a new tab)
- github.com/runatlantis/atlantis/commit/f04df0d53f0544d9eb6f5026dd8b74fbefd82ac8 (opens in a new tab)
- github.com/runatlantis/atlantis (opens in a new tab)
- github.com/runatlantis/atlantis/releases/tag/v0.47.1 (opens in a new tab)