# Atlantis fixes forged-webhook path to Terraform code execution

Cite as: Gloqo AI, "Atlantis fixes forged-webhook path to Terraform code execution", reviewed 25 Oct 2026, https://www.gloqo.ai/security-updates/advisories/atlantis-2026-10-25/.

Gloqo reviewed the vendor and CNA records on 25 Oct 2026. Those sources are the authority for the vulnerability.

Product: Atlantis
Published: 2026-10-25
Reviewed: 2026-10-25T22:08:22Z

## Summary

Unvalidated GitHub clone-URL hosts and trusted webhook repository names can bypass Atlantis fork protection and repository allowlisting. Atlantis can then fetch and plan attacker-controlled Terraform, executing code with the Atlantis host's credentials.

## Affected

Atlantis before 0.49.0. The unauthenticated route requires access to /events and no configured GitHub webhook secret. A configured secret rejects the forged unsigned webhook; it does not remove the underlying clone-host validation flaw.

## Fix

Upgrade to 0.49.0 and configure a GitHub webhook secret. Review the breaking-release checklist: Docker images no longer bundle Terraform/OpenTofu, so configure --default-tf-version (plus --default-tf-distribution opentofu for OpenTofu) or supply the binary; --gh-hostname must match the clone-URL host.

## Evidence

The advisory includes a proof of concept but does not claim in-the-wild exploitation. Code runs with service credentials, not necessarily root.

## Severity

The vendor rates GHSA-6mjf-4m52-m5cq Critical, CVSS v3.1 9.8. No CVE is assigned in the reviewed advisory.

## Context

The October 25 release fixes twelve security advisories; they are not all rated Critical. This entry covers the clone-host/forged-webhook issue.

## Sources

1. [Atlantis: clone-host validation and forged-webhook advisory](https://github.com/runatlantis/atlantis/security/advisories/GHSA-6mjf-4m52-m5cq)
2. [Atlantis 0.49.0 release and upgrade checklist](https://github.com/runatlantis/atlantis/releases/tag/v0.49.0)
