OS Command Injection Affecting atlantis package, versions <0.47.1-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.57% (49th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-ATLANTIS-21787758
  • published29 Oct 2026
  • disclosed27 Oct 2026

Introduced: 27 Oct 2026

CVE-2026-116676  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Minimos:latest atlantis to version 0.47.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream atlantis package and not the atlantis package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

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.