A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-52009

CVE-2024-52009: Atlantis Privilege Escalation Vulnerability

CVE-2024-52009 is a privilege escalation flaw in Runatlantis Atlantis that exposes GitHub credentials in logs, allowing attackers to gain organization admin privileges. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 26, 2026

CVE-2024-52009 Overview

Atlantis is a self-hosted Golang application that processes Terraform pull request events through webhooks. The application writes GitHub credentials, specifically tokens prefixed with ghs_, into its logs when those tokens are rotated. Any actor able to read Atlantis logs can extract these tokens and impersonate the Atlantis GitHub App. When Atlantis administers a GitHub organization, this disclosure grants attackers administrative privileges over that organization. The issue is tracked as GHSA-gppm-hq3p-h4rp and is classified as [CWE-532]: Insertion of Sensitive Information into Log File.

Critical Impact

Read access to Atlantis logs yields valid GitHub App tokens, enabling full impersonation of Atlantis and potential takeover of the connected GitHub organization.

Affected Products

  • Runatlantis Atlantis versions prior to v0.30.0
  • Atlantis deployments configured as a GitHub App with token rotation enabled
  • Atlantis instances administering GitHub organizations

Discovery Timeline

  • 2024-11-08 - CVE-2024-52009 published to NVD
  • 2025-09-29 - Last updated in NVD database

Technical Details for CVE-2024-52009

Vulnerability Analysis

The flaw is a sensitive information exposure in log output. Atlantis uses GitHub App authentication, which periodically rotates installation tokens that begin with the ghs_ prefix. During the rotation routine, Atlantis writes the new token value into its application logs instead of redacting or masking it. The result is that any operator, container platform, log aggregator, or downstream user with access to those logs can recover a valid GitHub App token.

The credential is short-lived but remains valid long enough to authenticate against the GitHub API. An attacker reusing the token impersonates the Atlantis GitHub App and inherits every permission granted to that installation. In deployments where Atlantis manages organization-level resources, this includes administrative actions across repositories.

Root Cause

The root cause is missing redaction of secret material in the token rotation code path. Atlantis treats the rotated token like other diagnostic data and emits it through standard logging without applying a secret filter. The remediation in pull request #4667 removes the token from log statements and was shipped in Atlantis v0.30.0.

Attack Vector

Exploitation requires read access to Atlantis logs. This access can come from container stdout streams, mounted log files, centralized logging platforms such as CloudWatch, Loki, or Splunk, or backup archives. An attacker low-privileged on the logging stack but unauthorized on GitHub can extract a ghs_ token, then call the GitHub API directly to read private repository contents, modify protected branches, create webhooks, or alter organization settings depending on the App's scopes. No interaction with Atlantis itself is required after the token is captured.

The vulnerability mechanism is documented in GitHub Issue #4060 and the security advisory. No public proof-of-concept code is required because extraction is a simple log search for the ghs_ prefix.

Detection Methods for CVE-2024-52009

Indicators of Compromise

  • Atlantis log entries containing strings matching the pattern ghs_[A-Za-z0-9]+, which indicates exposed GitHub App installation tokens.
  • Unexpected GitHub audit log entries showing API calls from the Atlantis App outside normal Terraform plan or apply workflows.
  • New webhooks, deploy keys, or collaborator additions on repositories administered by Atlantis that do not correspond to a tracked pull request.

Detection Strategies

  • Grep historical Atlantis logs and log-aggregation indexes for the ghs_ token prefix to confirm whether credentials were ever written to disk.
  • Correlate GitHub organization audit events with Atlantis pull request activity to identify API calls from the App that lack a matching webhook trigger.
  • Monitor for token usage from source IP addresses that do not match the Atlantis deployment's egress addresses.

Monitoring Recommendations

  • Forward GitHub organization audit logs to a SIEM and alert on App actions occurring outside expected automation windows.
  • Implement log-scrubbing rules in the logging pipeline that redact strings matching GitHub token prefixes (ghs_, ghp_, gho_, ghu_, ghr_) before storage.
  • Review IAM and RBAC on log storage to ensure only required operators can read Atlantis output.

How to Mitigate CVE-2024-52009

Immediate Actions Required

  • Upgrade Atlantis to v0.30.0 or later, which contains the fix from pull request #4667.
  • Rotate the GitHub App private key and revoke any installation tokens that may have been logged prior to upgrade.
  • Audit existing log stores for the ghs_ prefix and purge or restrict access to any archives containing matches.
  • Review GitHub organization audit logs for unauthorized App activity since the affected version was deployed.

Patch Information

The vulnerability is fixed in Atlantis v0.30.0. Upgrade instructions and release notes are available on the GitHub Release v0.30.0 Notes page. The corresponding code change is in Pull Request #4667. The vendor advisory states there are no supported workarounds, so patching is the only complete remediation.

Workarounds

  • No vendor-supported workaround exists. If upgrade is delayed, restrict log read access to a minimal set of administrators and apply log-pipeline redaction for GitHub token prefixes.
  • Reduce the blast radius by limiting the Atlantis GitHub App's permissions to the minimum required scopes, avoiding organization-administration grants where possible.
  • Shorten log retention for Atlantis output until the upgrade is completed, then rotate the App private key after upgrading.
bash
# Example: redact GitHub App tokens in a logging pipeline using sed
# Apply this filter before logs reach centralized storage
sed -E 's/ghs_[A-Za-z0-9]{36,}/ghs_[REDACTED]/g'

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechAtlantis

  • SeverityHIGH

  • CVSS Score8.5

  • EPSS Probability0.65%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-532
  • Technical References
  • Argo CD Security Manual

  • GitHub Issue #4060 Discussion

  • GitHub Pull Request #4667

  • GitHub Release v0.30.0 Notes
  • Vendor Resources
  • GitHub Security Advisory GHSA-gppm-hq3p-h4rp
  • Latest CVEs
  • CVE-2024-8261: Prolizyazilim OBS Auth Bypass Vulnerability

  • CVE-2024-13068: LimonDesk Auth Bypass Vulnerability

  • CVE-2025-53679: Fortinet FortiSandbox RCE Vulnerability

  • CVE-2026-9446: Simple POS Inventory System SQLi Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English