Repository navigation
v0.50.0 #7125
v0.50.0
#7125
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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
experimentssetting before upgrading (see below). Without them, Atlantis refuses to start ifapi-secretor a drift flag is set, and/api/*routes return HTTP 404.team_authz.commandusers on Bitbucket Server or Azure DevOps: upgrade promptly (GHSA-7v86-958w-j7hj). No configuration change is needed.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.commandis set in the server-side repo config, Atlantis built the external command as one string and ran it withsh -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 printpassand bypass the authorization decision.The fix passes the Atlantis command name, the repository full name and each
owner/teamvalue as separate arguments, so the shell never parses them. The configuredcommandandargsare still run bysh, so commands that embed their own arguments keep working, and the argument order your script sees is unchanged.team_authz.commandconfigured, on Bitbucket Server or Azure DevOps. GitHub, GitLab, Gitea and Bitbucket Cloud repository names cannot contain shell metacharacters.argsshift their positions.Reported by EZO Labs Security (@superbot-helper).
Dependency and image security updates
10.3_p1-r2for CVE-2026-123158 (fix: update Alpine OpenSSH for CVE-2026-123158 #7065), Alpinecurl8.23.0-r0 (fix(docker): bump Alpine curl pin to 8.23.0-r0 #7027), Alpine Git 2.54.1-r0 (fix(deps): update Alpine Git pin to 2.54.1-r0 #7093), Alpine base 3.24.4 (chore(deps): update alpine docker tag to v3.24.3 in dockerfile (main) #7076, chore(deps): update alpine docker tag to v3.24.4 in dockerfile (main) #7104), git-lfs 3.8.1 (chore(deps): update dependency git-lfs/git-lfs to v3.8.1 in dockerfile (main) #7080).golang.org/x/cryptov0.59.0 (chore(deps): update module golang.org/x/crypto to v0.59.0 [security] (main) #7087),golang.org/x/netv0.62.0 (chore(deps): update module golang.org/x/net to v0.62.0 [security] (main) #7044),github.com/klauspost/compressv1.20.2 (chore(deps): update module github.com/klauspost/compress to v1.20.2 [security] (main) #7066).minimatch11 and overrides for vulnerable docs-site dependencies (chore(deps): update dependency minimatch to v11 [security] (main) #7045, fix(deps): override vulnerable docs-site dependencies #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 newexperimentsserver setting now has to grant each one:apipermits the command and lock routes.drift-detectionpermits the drift routes.What changes on upgrade:
api-secret,enable-drift-detectionorenable-drift-remediationis set without the matching experiment.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-detectionFor a drift-only installation, use only
drift-detection. Before rolling back to v0.49.0 or earlier, remove theexperimentssetting, because older binaries don't recognize it. See Experiments for details.Bug fixes
planandapply, 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/appendpoint.Documentation
Other changes
atlantis-testsrepo now run one at a time (ci: serialize e2e jobs that share the atlantis-tests repo #7097), and e2e runs clean up webhooks left by cancelled runs (fix(e2e): delete webhooks left by cancelled runs #7103).What's Changed
Breaking Changes 🛠
Provider Bitbucket
Provider GitHub
Security changes
Documentation
Dependencies
Other Changes 🔄
New Contributors
Full Changelog: v0.49.0...v0.50.0
This discussion was created from the release v0.50.0.
All reactions