github runatlantis/atlantis v0.50.0

one hour ago

Atlantis v0.50.0

v0.50.0 fixes one high-severity security advisory and is a breaking release for anyone using the API or drift detection, which now require an explicit experiment opt-in.

Upgrade checklist

  • API or drift detection users: add the matching names to the new experiments setting before upgrading (see below). Without them, Atlantis refuses to start if api-secret or a drift flag is set, and /api/* routes return HTTP 404.
  • team_authz.command users on Bitbucket Server or Azure DevOps: upgrade promptly (GHSA-7v86-958w-j7hj). No configuration change is needed.
  • Everyone else: no action required.

Security

GHSA-7v86-958w-j7hj: VCS repository name run as shell source in the external team-allowlist command (High, CVSS 7.2)

When team_authz.command is set in the server-side repo config, Atlantis built the external command as one string and ran it with sh -c. The repository full name was not quoted. On Bitbucket Server (project display name) and Azure DevOps (organization, project and repository names), a crafted name could run arbitrary commands on the Atlantis server with its environment and credentials, or make the check print pass and bypass the authorization decision.

The fix passes the Atlantis command name, the repository full name and each owner/team value as separate arguments, so the shell never parses them. The configured command and args are still run by sh, so commands that embed their own arguments keep working, and the argument order your script sees is unchanged.

  • Affected: v0.49.0 and earlier, only with team_authz.command configured, on Bitbucket Server or Azure DevOps. GitHub, GitLab, Gitea and Bitbucket Cloud repository names cannot contain shell metacharacters.
  • Exploiting it requires permission to name or rename a repository or project on the VCS host, which is a project administrator by default.
  • Docs: Repo and project permissions now describe how arguments are passed and how configured args shift their positions.

Reported by EZO Labs Security (@superbot-helper).

Dependency and image security updates

  • Docker image: Alpine OpenSSH 10.3_p1-r2 for CVE-2026-123158 (#7065), Alpine curl 8.23.0-r0 (#7027), Alpine Git 2.54.1-r0 (#7093), Alpine base 3.24.4 (#7076, #7104), git-lfs 3.8.1 (#7080).
  • Go modules: golang.org/x/crypto v0.59.0 (#7087), golang.org/x/net v0.62.0 (#7044), github.com/klauspost/compress v1.20.2 (#7066).
  • Docs site: minimatch 11 and overrides for vulnerable docs-site dependencies (#7045, #7021).

Breaking changes

API and drift detection now require an experiment opt-in (#7030)

The API (/api/plan, /api/apply, /api/locks) and drift detection are experimental features, and a new experiments server setting now has to grant each one:

  • api permits the command and lock routes.
  • drift-detection permits the drift routes.

What changes on upgrade:

  • Atlantis refuses to start if api-secret, enable-drift-detection or enable-drift-remediation is set without the matching experiment.
  • Routes without permission return HTTP 404, including GET /api/locks, which used to be public.

To keep your current behavior, add the experiments you use:

atlantis server --experiments=api,drift-detection
# or
ATLANTIS_EXPERIMENTS=api,drift-detection
experiments:
  - api
  - drift-detection

For a drift-only installation, use only drift-detection. Before rolling back to v0.49.0 or earlier, remove the experiments setting, because older binaries don't recognize it. See Experiments for details.

Bug fixes

  • Atlantis no longer answers its own comments: error, help and command-suggestion replies are suppressed for comments written by the configured Atlantis account, so its validation comments can't trigger further replies (#6724). Valid commands from that account, such as plan and apply, still go through the normal checks. To do this, Atlantis now looks up its own account identity on each VCS, including Bitbucket Server and Azure DevOps, and the GitHub App slug through the /app endpoint.

Documentation

  • The docs site now has a version selector and publishes docs for each release tag from v0.28.0 on (#7029).
  • Architecture decision records are published under Contributing (#7028), and ADR 0002 (API and drift detection) and ADR 0005 (durable storage) are accepted (#7053, #7075).
  • The website and built-in UI use the CNCF Atlantis logos (#7099).
  • Ross Strickland joins as a maintainer (#7094), and Clickup is listed as an adopter (#7035).

Other changes

  • CI: e2e jobs that share the atlantis-tests repo now run one at a time (#7097), and e2e runs clean up webhooks left by cancelled runs (#7103).
  • Translations: the docs translation pipeline judges staleness by the source a page was generated from and retries failing pages before quarantining them (#7023, #7024).
  • Maintenance: golangci-lint v2.15.0 findings fixed (#7026), Renovate settings updated for newer Renovate (#7041), and a test helper fix (#6980).

What's Changed

Breaking Changes 🛠

Provider Bitbucket

  • fix: prevent validation comments from being parsed as commands by @omk2477 in #6724

Provider GitHub

Security changes

  • fix: pass VCS values to team_authz command as arguments (GHSA-7v86-958w-j7hj) by @jamengual, merged from the private advisory fork
  • chore(deps): update dependency minimatch to v11 [security] (main) by @renovate[bot] in #7045
  • chore(deps): update module golang.org/x/net to v0.62.0 [security] (main) by @renovate[bot] in #7044
  • chore(deps): update module github.com/klauspost/compress to v1.20.2 [security] (main) by @renovate[bot] in #7066
  • chore(deps): update module golang.org/x/crypto to v0.59.0 [security] (main) by @renovate[bot] in #7087

Documentation

  • feat(docs): publish versioned release documentation by @pseudomorph in #7029
  • docs: publish architecture decisions under Contributing by @pseudomorph in #7028
  • fix(deps): override vulnerable docs-site dependencies by @jamengual in #7021
  • docs: update machine-translated docs by @github-actions[bot] in #7019
  • chore(deps-dev): Bump esbuild from 0.27.0 to 0.28.1 by @dependabot[bot] in #6945
  • docs: link directly to the CNCF Slack invite by @chenrui333 in #7040
  • docs: repair internal documentation links in legacy blogs by @chenrui333 in #7039
  • docs: highlight community participation in README and homepage by @pseudomorph in #7056
  • chore(deps): update dependency esbuild to v0.28.2 in package.json (main) by @renovate[bot] in #7077
  • docs: use the CNCF Atlantis logos on the website and built-in UI by @jamengual in #7099
  • chore(deps): update dependency vite to v8.3.8 in package.json (main) by @renovate[bot] in #7121
  • chore(deps): update dependency vue to v3.5.45 in package.json (main) by @renovate[bot] in #7123

Dependencies

  • chore(deps): update go in testing/dockerfile (main) by @renovate[bot] in #7052
  • chore(deps): update redis:8.6-alpine docker digest to f4ed7d6 in docker-compose.yml (main) by @renovate[bot] in #7054
  • chore(deps): update alpine docker tag to v3.24.3 in dockerfile (main) by @renovate[bot] in #7076
  • chore(deps): update dependency git-lfs/git-lfs to v3.8.1 in dockerfile (main) by @renovate[bot] in #7080
  • chore(deps): update alpine docker tag to v3.24.4 in dockerfile (main) by @renovate[bot] in #7104
  • chore(deps): update redis:8.6-alpine docker digest to 91c71f9 in docker-compose.yml (main) by @renovate[bot] in #7114
  • chore(deps): update docker/login-action digest to 81c6f93 in .github/workflows/testing-env-image.yml (main) by @renovate[bot] in #7049
  • chore(deps): update step-security/harden-runner digest to 46b06ce in .github/workflows/scorecard.yml (main) by @renovate[bot] in #7058
  • chore(deps): update amannn/action-semantic-pull-request digest to 2252a14 in .github/workflows/pr-lint.yml (main) by @renovate[bot] in #7085
  • chore(deps): update docker/login-action digest to 8aa5831 in .github/workflows/testing-env-image.yml (main) by @renovate[bot] in #7095
  • chore(deps): update github/codeql-action digest to 33d7b85 in .github/workflows/codeql.yml (main) by @renovate[bot] in #7096
  • chore(deps): update step-security/harden-runner digest to 1d88384 in .github/workflows/scorecard.yml (main) by @renovate[bot] in #7098

Other Changes 🔄

New Contributors

  • @github-actions[bot] made their first contribution in #7019
  • @tejisin made their first contribution in #7035
  • @omk2477 made their first contribution in #6724

Full Changelog: v0.49.0...v0.50.0

Don't miss a new atlantis release

NewReleases is sending notifications on new releases.