Skip to content
Threat Feed
high advisory

Atlantis: Command injection via atlantis.yaml workspace parameter (CVE-2026-116676)

Atlantis versions 0.4.0 through 0.47.0 contain a command injection vulnerability where shell metacharacters in the workspace parameter can trigger arbitrary code execution as the service account.

CVE search metadata

CVE search record: CVE-2026-116676. Severity: high. CVSS: 8.8. KEV: no. Product: Atlantis (< 0.47.1). Brief: Atlantis: Command injection via atlantis.yaml workspace parameter (CVE-2026-116676). Brief link: https://feed.craftedsignal.io/briefs/2026-10-atlantis-command-injection/

Triage facts

Revision 1
Applicability
Atlantis (< 0.47.1)
Evidence
Unknown
Severity
High
Action
Immediate escalation
Sources
1 public source
Freshness
Revision 1Oct 27, 20:04 UTC
Vulnerabilities
1 CVE
Source quality
A5Likely

Atlantis versions 0.4.0 through 0.47.0 are vulnerable to command injection through the workspace value defined in the atlantis.yaml configuration file. This vulnerability arises because the workspace parameter is improperly sanitized before being included in a Terraform command argument joined and executed via sh -c. An authenticated contributor can inject shell metacharacters into the workspace name to execute arbitrary commands with the privileges of the Atlantis service account. This allows for potential access to sensitive environment variables, cloud provider credentials, and Terraform state files. The issue is addressed in version 0.47.1.

Impact

Successful exploitation allows for arbitrary command execution as the Atlantis service user. This provides access to the process environment, including cloud-provider and version-control credentials, Terraform state files, and internal network resources reachable from the host.

Recommendation

  • Upgrade Atlantis to version 0.47.1 or later immediately.
  • Audit atlantis.yaml configurations in existing repositories for suspicious or unconventional workspace names.
  • Evaluate the risk of the --allow-fork-prs flag; disable this option if not strictly required to mitigate exposure to external contributors.
  • Monitor the Atlantis service process for the execution of child processes that deviate from the expected Terraform workflow.

Immediate actions

Upgrade Atlantis to 0.47.1

IT Operations 24h

Threat Hunt

Identify child processes spawned by the Atlantis service account that are not standard Terraform binaries

T1059.004 high high confidence hunt now

Data: Process creation logs (e.g., Sysmon Event ID 1 or Linux auditd)

Mitigations

Disable --allow-fork-prs if not required

immediate IT Operations

CVE-2026-116676