# CVE-2024-52009: runatlantis Atlantis sensitive information leak in logs

Source: https://junglewise.ai/threats/cve-2024-52009-runatlantis-atlantis-sensitive-information-leak-in-logs  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-11-08. Updated: 2026-06-26  
License: CC BY 4.0 with a link back

CVE-2024-52009 · Severity: high · CVSS 4 · Published 2024-11-08

Atlantis, a tool used for automating Terraform workflows, was found to leak sensitive GitHub credentials in its application logs during token rotation. An attacker or unauthorized employee with access to these logs could steal these credentials to impersonate the application and gain administrative control over GitHub organizations and repositories. This could lead to unauthorized infrastructure changes or full compromise of source code and deployment environments.

Technologies: [Atlantis](https://junglewise.ai/threats/technologies/atlantis), [github.com/runatlantis/atlantis (Go)](https://junglewise.ai/threats/technologies/github-com-runatlantis-atlantis). Vendors: [Atlantis](https://junglewise.ai/threats/vendors/atlantis), [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2024-52009 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-52009 being exploited in the wild.

**How severe is CVE-2024-52009?** High severity, with a CVSS score of 4, published 8 November 2024.

**Which products and versions are affected?** Atlantis < 0.30.0; github.com/runatlantis/atlantis (Go) < 0.30.0, SEMVER:introduced=0,fixed=0.30.0.

**Is there a fix for CVE-2024-52009?** Yes. github.com/runatlantis/atlantis (Go): upgrade to 0.30.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2024-52009 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2024-52009?** Check whether you run Atlantis or github.com/runatlantis/atlantis (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/runatlantis/atlantis (Go): upgrade to 0.30.0 or later

  ```sh
  go get github.com/runatlantis/atlantis@v0.30.0
  ```


## Technical details

A sensitive information leak (CWE-532) exists in Atlantis versions prior to 0.30.0. The vulnerability occurs in the GitHub App credential rotation logic within 'vcs/gh_app_creds_rotator.go', where the application logs the full 'ghs_' token at the debug level. An attacker with low-privileged network access to log aggregation tools (such as Argo CD or Kubernetes log viewers) can extract these tokens. These tokens grant the same permissions as the Atlantis GitHub App, potentially allowing full administrative access to managed GitHub organizations. The issue is fixed in version 0.30.0 by removing the sensitive logging.

## Affected products

- runatlantis atlantis < 0.30.0

## Identifiers

- CVE-2024-52009
- GHSA-gppm-hq3p-h4rp
- GO-2024-3265

## Timeline

- 2024-11-08: advisory: GitHub Advisory GHSA-gppm-hq3p-h4rp published
- 2024-11-08: patched: Fix included in Atlantis v0.30.0

## References

- [https://api.github.com/users/niooss-ledger](https://api.github.com/users/niooss-ledger)
- [https://github.com/niooss-ledger](https://github.com/niooss-ledger)
- [https://api.github.com/users/niooss-ledger/gists%7B/gist_id%7D](https://api.github.com/users/niooss-ledger/gists%7B/gist_id%7D)
- [https://api.github.com/users/niooss-ledger/repos](https://api.github.com/users/niooss-ledger/repos)
- [https://avatars.githubusercontent.com/u/64031241?v=4](https://avatars.githubusercontent.com/u/64031241?v=4)
- [https://api.github.com/users/niooss-ledger/events%7B/privacy%7D](https://api.github.com/users/niooss-ledger/events%7B/privacy%7D)

## Related threats

- [Atlantis shell command injection in workspace argument parsing](https://junglewise.ai/threats/cve-2026-116676-atlantis-is-a-self-hosted-golang-application-that-listens-for)
- [Atlantis path traversal in workspace handling](https://junglewise.ai/threats/cve-2026-64679-atlantis-path-traversal-in-workspace-handling)
- [GO-2025-3940 - Atlantis Exposes Service Version Publicly on /status API Endpoint in github.com/runatlantis/atlantis](https://junglewise.ai/threats/cve-2025-58445-atlantis-exposes-service-version-publicly-on-status-api-endpoint)
- [GO-2022-0534 - Timing attack in github.com/runatlantis/atlantis](https://junglewise.ai/threats/cve-2022-24912-atlantis-events-vulnerable-to-timing-attack)
