{"id":"CVE-2026-64679","aliases":["CVE-2026-64679","GHSA-26w5-6g95-gj28","GO-2026-6273"],"related":[],"kind":"vulnerability","state":"published","title":"Atlantis: Path Traversal in Atlantis Workspace Handling Allows Out-of-Bounds Directory Deletion/Creation","summary":"Atlantis is a self-hosted golang application that listens for Terraform pull request events via webhooks. From 0.19.8 until 0.45.0, Atlantis does not consistently validate user-controlled workspace values supplied through accepted repository-level atlantis.yaml configuration or authenticated /api/plan input before joining them into local workspace paths. Traversal segments can escape the intended per-pull workspace directory and cause clone preparation or other working-directory code paths to call os.RemoveAll, os.MkdirAll, or related filesystem operations on out-of-bounds directories before Terraform rejects the invalid workspace name. This can create, delete, or reuse writable paths with the privileges of the Atlantis process, causing integrity loss or denial of service. This issue is fixed in version 0.45.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Atlantis is a self-hosted golang application that listens for Terraform pull request events via webhooks. From 0.19.8 until 0.45.0, Atlantis does not consistently validate user-controlled workspace values supplied through accepted repository-level atlantis.yaml configuration or authenticated /api/plan input before joining them into local workspace paths. Traversal segments can escape the intended per-pull workspace directory and cause clone preparation or other working-directory code paths to call os.RemoveAll, os.MkdirAll, or related filesystem operations on out-of-bounds directories before Terraform rejects the invalid workspace name. This can create, delete, or reuse writable paths with the privileges of the Atlantis process, causing integrity loss or denial of service. This issue is fixed in version 0.45.0.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Atlantis Workspace Handling has Path Traversal that Allows Out-of-Bounds Directory Deletion/Creation in github.com/runatlantis/atlantis","format":"markdown","source":"go"},{"lang":"es","text":"Atlantis es una aplicación golang autoalojada que escucha eventos de pull request de Terraform a través de webhooks. Desde la versión 0.19.8 hasta la 0.45.0, Atlantis no valida consistentemente los valores de espacio de trabajo controlados por el usuario proporcionados a través de la configuración atlantis.yaml aceptada a nivel de repositorio o la entrada autenticada de /API/plan antes de unirlos en rutas de espacio de trabajo locales. Los segmentos de recorrido pueden escapar del directorio de espacio de trabajo previsto por pull y causar que la preparación de clonación u otras rutas de código de directorio de trabajo llamen a os.RemoveAll, os.MkdirAll o a operaciones de sistema de archivos relacionadas en directorios fuera de los límites antes de que Terraform rechace el nombre de espacio de trabajo no válido. Esto puede crear, eliminar o reutilizar rutas escribibles con los privilegios del proceso de Atlantis, causando pérdida de integridad o denegación de servicio. Este problema está solucionado en la versión 0.45.0.","source":"nvd"}],"published":"2026-08-21T20:29:55.106Z","modified":"2026-10-12T16:10:00.220Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-22","CWE-73"],"affected":[{"ranges":[{"version":">= 0.19.8, < 0.45.0","status":"affected"}],"vendor":"runatlantis","product":"atlantis","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.19.8","status":"affected","fixed":"0.45.0"}],"ecosystem":"Go","package":"github.com/runatlantis/atlantis","purl":"pkg:golang/github.com/runatlantis/atlantis","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.19.8","status":"affected","fixed":"0.45.0"}],"ecosystem":"Go","package":"github.com/runatlantis/atlantis","purl":"pkg:golang/github.com/runatlantis/atlantis","source":"go"}],"references":[{"url":"https://github.com/runatlantis/atlantis/security/advisories/GHSA-26w5-6g95-gj28","tags":["advisory","exploit","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/runatlantis/atlantis/pull/6254","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/runatlantis/atlantis/commit/ea4e4ceebf8b387d015fff7ed8a7fcca33279afe","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/runatlantis/atlantis/releases/tag/v0.45.0","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/runatlantis/atlantis","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-08-25T17:04:45.481Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64679","url":"https://www.cve.org/CVERecord?id=CVE-2026-64679","licence":"CVE Terms of Use","modified":"2026-08-25T17:05:09.821Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-26w5-6g95-gj28","url":"https://github.com/advisories/GHSA-26w5-6g95-gj28","licence":"CC-BY-4.0","modified":"2026-08-26T01:12:51.034Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6273","url":"https://pkg.go.dev/vuln/GO-2026-6273","licence":"CC-BY-4.0","modified":"2026-08-25T23:51:38.056Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64679","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64679","licence":"Public domain","modified":"2026-10-12T16:10:00.220Z"}],"updatedAt":"2026-11-25T22:59:34.830Z","epss":{"score":0.00701,"percentile":0.54458,"date":"2026-12-01T12:00:22.000Z"}}