CVE-2026-64679: Github.com/runatlantis/atlantis Path Traversal Vulnerability

HIGH
Advisory Identifier: GHSA-26w5-6g95-gj28
CVSS 8.1
CWE-73 CWE-22
Published
Advisory Summary

CVE-2026-64679 is a HIGH (CVSS 8.1) path traversal vulnerability (CWE-73: External Control of File Name or Path) affecting Github.com/runatlantis/atlantis libraries in the Go ecosystem. The issue involves atlantis workspace handling has path traversal that allows out-of-bounds directory deletion/creation. Remediation is available by upgrading affected packages to version 0.45.0.

CVE-2026-64679 at a Glance

CVE Identifier CVE-2026-64679
GHSA Identifier GHSA-26w5-6g95-gj28
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-73: External Control of File Name or Path
Affected Product Github.com/runatlantis/atlantis
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-64679

To remediate this vulnerability, upgrade all affected Github.com/runatlantis/atlantis dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/runatlantis/atlantis fixed: 0.45.0
Upgrade github.com/runatlantis/atlantis to 0.45.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/runatlantis/atlantis

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-64679, inspect your project dependencies for Github.com/runatlantis/atlantis:

inspect dependencies for github.com/runatlantis/atlantis

Analyze the terminal output to locate any version of Github.com/runatlantis/atlantis in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.45.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-73: External Control of File Name or Path, where the product allows user input to control or influence paths or file names that are used in filesystem operations. In Github.com/runatlantis/atlantis, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary Atlantis versions `>= 0.19.8` and `< 0.45.0` did not consistently validate user-controlled `workspace` values before using them to construct local workspace paths. A crafted workspace value containing path traversal segments could cause Atlantis to resolve workspace paths outside the intended per-pull workspace directory. In vulnerable versions or code paths, Atlantis could create, use, or remove/recreate out-of-bounds directories with the privileges of the Atlantis process user, before Terraform rejected the invalid workspace name. The issue is fixed in Atlantis `0.45.0`. ### Details The issue is a path traversal vulnerability in Atlantis workspace handling. `workspace` values can be supplied through repository-level `atlantis.yaml` configuration accepted by the server or through authenticated API input. A value such as `../../../../../../../../tmp/f1-canary` could escape the intended Atlantis workspace root. In affected code paths, Atlantis used the resolved workspace path for local working-directory operations. For example, workspace values were joined into repo pull paths, and clone preparation paths could call directory removal/recreation operations such as `os.RemoveAll` and `os.MkdirAll` on the resolved directory. ### PoC In a local PoC using repo-level `atlantis.yaml`, the following workspace value caused Atlantis to resolve and use `/tmp/f1-canary` outside `~/.atlantis/repos/...`: ```yaml version: 3 projects: - dir: . workspace: ../../../../../../../../tmp/f1-canary ``` Atlantis logs showed the out-of-bounds directory being created and Terraform being run with `/tmp/f1-canary` as the working directory. Terraform rejected the workspace name only after Atlantis had already used the out-of-bounds path. ### Impact A user who can cause Atlantis to process a crafted `workspace` value, for example through repository-level `atlantis.yaml` configuration accepted by the server or an authenticated `/api/plan` request, may cause filesystem operations to occur outside the intended workspace boundary. Depending on the affected version, code path, deployment configuration, and filesystem permissions, this may result in unintended directory creation, deletion, or reuse, integrity impact to writable local paths, or denial of service. Containerized deployments may limit host impact, but writable mounted volumes and persistent Atlantis data paths remain relevant.

CVE-2026-64679 Affected Github.com/runatlantis/atlantis Versions

1 component(s)
Fixed Versions:
0.45.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/runatlantis/atlantis
Go
≥ 0.19.8
< 0.45.0
0.45.0

References

Frequently Asked Questions

What is CVE-2026-64679?
CVE-2026-64679 is a security vulnerability in Github.com/runatlantis/atlantis involving Atlantis Workspace Handling has Path Traversal that Allows Out-of-Bounds Directory Deletion/Creation under CWE-73: External Control of File Name or Path.
Which Github.com/runatlantis/atlantis versions are affected?
Affected versions include releases prior to 0.45.0 across affected packages: github.com/runatlantis/atlantis.
What version fixes CVE-2026-64679?
Upgrading to 0.45.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/runatlantis/atlantis affected?
Yes, github.com/runatlantis/atlantis is affected in releases prior to 0.45.0. Upgrade your dependency to 0.45.0 or later.
What is the CVSS score of CVE-2026-64679?
CVE-2026-64679 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H.
What CWE is associated with CVE-2026-64679?
CVE-2026-64679 is classified under CWE-73: External Control of File Name or Path (The product allows user input to control or influence paths or file names that are used in filesystem operations.).
How can I check Go dependencies for CVE-2026-64679?
Run the dependency tree command: 'inspect dependencies for github.com/runatlantis/atlantis'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-26w5-6g95-gj28",
  "modified" : "2026-08-21T20:55:33Z",
  "published" : "2026-08-21T20:55:33Z",
  "aliases" : [ "CVE-2026-64679" ],
  "summary" : "Atlantis Workspace Handling has Path Traversal that Allows Out-of-Bounds Directory Deletion/Creation",
  "details" : "### Summary\nAtlantis versions `>= 0.19.8` and `< 0.45.0` did not consistently validate user-controlled `workspace` values before using them to construct local workspace paths.\n\nA crafted workspace value containing path traversal segments could cause Atlantis to resolve workspace paths outside the intended per-pull workspace directory. In vulnerable versions or code paths, Atlantis could create, use, or remove/recreate out-of-bounds directories with the privileges of the Atlantis process user, before Terraform rejected the invalid workspace name.\n\nThe issue is fixed in Atlantis `0.45.0`.\n\n### Details\nThe issue is a path traversal vulnerability in Atlantis workspace handling. `workspace` values can be supplied through repository-level `atlantis.yaml` configuration accepted by the server or through authenticated API input. A value such as `../../../../../../../../tmp/f1-canary` could escape the intended Atlantis workspace root.\n\nIn affected code paths, Atlantis used the resolved workspace path for local working-directory operations. For example, workspace values were joined into repo pull paths, and clone preparation paths could call directory removal/recreation operations such as `os.RemoveAll` and `os.MkdirAll` on the resolved directory.\n\n### PoC\nIn a local PoC using repo-level `atlantis.yaml`, the following workspace value caused Atlantis to resolve and use `/tmp/f1-canary` outside `~/.atlantis/repos/...`:\n\n```yaml\nversion: 3\nprojects:\n  - dir: .\n    workspace: ../../../../../../../../tmp/f1-canary\n```\n\nAtlantis logs showed the out-of-bounds directory being created and Terraform being run with `/tmp/f1-canary` as the working directory. Terraform rejected the workspace name only after Atlantis had already used the out-of-bounds path.\n\n### Impact\nA user who can cause Atlantis to process a crafted `workspace` value, for example through repository-level `atlantis.yaml` configuration accepted by the server or an authenticated `/api/plan` request, may cause filesystem operations to occur outside the intended workspace boundary.\n\nDepending on the affected version, code path, deployment configuration, and filesystem permissions, this may result in unintended directory creation, deletion, or reuse, integrity impact to writable local paths, or denial of service. Containerized deployments may limit host impact, but writable mounted volumes and persistent Atlantis data paths remain relevant.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/runatlantis/atlantis"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.19.8"
      }, {
        "fixed" : "0.45.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/runatlantis/atlantis/security/advisories/GHSA-26w5-6g95-gj28"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/runatlantis/atlantis/pull/6254"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/runatlantis/atlantis/commit/ea4e4ceebf8b387d015fff7ed8a7fcca33279afe"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/runatlantis/atlantis"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/runatlantis/atlantis/releases/tag/v0.45.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22", "CWE-73" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-08-21T20:55:33Z",
    "nvd_published_at" : null
  }
}