# GO-2026-6871: OS command injection through PR-controlled Terraform workspace enables RCE during plan in github.com/runatlantis/atlantis

- Database: Go
- Published: 2026-11-05
- Modified: 2026-11-05

## Tracked as

- [CVE-2026-116676](https://cve.now/CVE-2026-116676.md): Atlantis: OS command injection through PR-controlled Terraform workspace enables RCE during plan

## Also published as

- [GHSA-RJH2-4XGW-P2HJ](https://cve.now/GHSA-RJH2-4XGW-P2HJ.md) (GitHub)

## Affected versions

- github.com/runatlantis/atlantis (Go): from 0.4.0, fixed in 0.47.1

## Description

OS command injection through PR-controlled Terraform workspace enables RCE during plan in github.com/runatlantis/atlantis

## References

- https://github.com/runatlantis/atlantis/security/advisories/GHSA-rjh2-4xgw-p2hj
- https://github.com/runatlantis/atlantis/commit/8dd22b4d0a9d7c129fdbf6a3398dd1c4cf8c3a59
- https://github.com/runatlantis/atlantis/commit/f04df0d53f0544d9eb6f5026dd8b74fbefd82ac8
- https://github.com/runatlantis/atlantis/pull/6792
- https://github.com/runatlantis/atlantis/releases/tag/v0.47.1

Page: https://cve.now/GO-2026-6871

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
