Atlantis: OS command injection through PR-controlled Terraform workspace enables RCE during plan
CVE-2026-116676
Summary 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, allowcustomworkflows, or permission to run terraform apply. The executed command inherits the Atlantis process environment, which commonly contains cloud-provider, Terraform, and VCS credentials. Details Verified against current upstream/main commit 92ce5c51d1a050357e44df3535483425e59fa984 on August 13, 2026. The vulnerable data flow is: 1. The PR-controlled project workspace is validated in [server/core/config/raw/project.go](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…
Assessment
- CVSS
- 8.8 (v3.1)
- Severity
- High
- EPSS
- 0.00466% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 27 October 2026
- Last updated
- 27 October 2026
- Affected
- go · github.com/runatlantis/atlantis
- Weakness
- CWE-78
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
At the source
References
- https://github.com/runatlantis/atlantis/security/advisories/GHSA-rjh2-4xgw-p2hj
- https://nvd.nist.gov/vuln/detail/CVE-2026-116676
- https://github.com/runatlantis/atlantis/pull/6792
- https://github.com/runatlantis/atlantis/commit/8dd22b4d0a9d7c129fdbf6a3398dd1c4cf8c3a59
- https://github.com/runatlantis/atlantis/commit/f04df0d53f0544d9eb6f5026dd8b74fbefd82ac8
- https://github.com/runatlantis/atlantis/releases/tag/v0.47.1
- https://github.com/advisories/GHSA-rjh2-4xgw-p2hj
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-116676