Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-0690

CVE-2024-0690: Ansible Information Disclosure Vulnerability

CVE-2024-0690 is an information disclosure vulnerability in Red Hat Ansible that exposes sensitive data in logs despite ANSIBLE_NO_LOG settings. This article covers technical details, affected versions, and remediation.

Updated: January 22, 2026

CVE-2024-0690 Overview

An information disclosure vulnerability has been identified in ansible-core that fails to properly respect the ANSIBLE_NO_LOG configuration directive in certain scenarios. When executing specific tasks, particularly those involving loops, sensitive information that should be suppressed from output is still included in task results. This can lead to the exposure of confidential data, including decrypted secret values, in Ansible playbook output and logs.

Critical Impact

Sensitive information such as decrypted secrets, credentials, and other confidential data may be exposed in Ansible task output despite ANSIBLE_NO_LOG being configured, potentially leading to credential compromise in CI/CD pipelines and automation logs.

Affected Products

  • Red Hat Ansible (multiple versions)
  • Red Hat Enterprise Linux 8.0 and 9.0
  • Red Hat Ansible Automation Platform 2.4
  • Red Hat Ansible Developer 1.1
  • Red Hat Ansible Inside 1.2
  • Fedora 38 and 39

Discovery Timeline

  • 2024-02-06 - CVE-2024-0690 published to NVD
  • 2025-11-04 - Last updated in NVD database

Technical Details for CVE-2024-0690

Vulnerability Analysis

This vulnerability stems from an improper output encoding issue (CWE-116) combined with improper output neutralization for logs (CWE-117) in ansible-core. The flaw specifically affects how Ansible processes and outputs task results when using loop constructs.

When an Ansible playbook executes tasks within loops, the no_log directive that normally suppresses sensitive output is bypassed. This means that even when administrators have properly configured their playbooks to hide sensitive data, the loop item results may still contain and display confidential information such as passwords, API keys, and other secrets.

The vulnerability requires local access to the system where Ansible is running, meaning an attacker would need to have access to view Ansible output, log files, or CI/CD pipeline results to exploit this information disclosure.

Root Cause

The root cause lies in the failure of ansible-core to consistently apply the no_log filtering mechanism across all output contexts. Specifically, when tasks iterate through loops, the suppression logic fails to properly sanitize loop item data before it reaches output handlers. This inconsistency between the documented behavior of ANSIBLE_NO_LOG and its actual implementation creates a false sense of security for administrators who rely on this feature to protect sensitive information.

Attack Vector

The attack vector is local, requiring an attacker to have access to systems where Ansible output is stored or displayed. Potential exposure points include:

The vulnerability can be exploited by any user with read access to Ansible execution logs, CI/CD pipeline outputs, terminal history, or centralized logging systems that capture Ansible runs. Since many organizations store Ansible logs for auditing purposes, historical logs may contain previously exposed secrets.

Attackers with access to shared systems, log aggregation platforms, or build server outputs could harvest exposed credentials without requiring elevated privileges on the target systems managed by Ansible.

Detection Methods for CVE-2024-0690

Indicators of Compromise

  • Review Ansible execution logs for the presence of sensitive data patterns (API keys, passwords, tokens) in loop item output
  • Check CI/CD pipeline logs for unexpected credential exposure in Ansible task results
  • Audit centralized logging systems for historical Ansible output containing secrets
  • Monitor for unauthorized access to systems storing Ansible execution logs

Detection Strategies

  • Implement log scanning tools to detect patterns matching credential formats in Ansible output
  • Configure alerting on access to historical Ansible log files
  • Review playbooks using loops with sensitive data to assess exposure risk
  • Audit no_log directive usage in playbooks handling secrets

Monitoring Recommendations

  • Enable audit logging for access to Ansible log directories and files
  • Monitor for bulk log file access that could indicate credential harvesting
  • Implement data loss prevention (DLP) rules to detect exposed secrets in log streams
  • Track version information to identify systems running vulnerable ansible-core versions

How to Mitigate CVE-2024-0690

Immediate Actions Required

  • Update ansible-core to the latest patched version available for your platform
  • Review existing Ansible logs for potential credential exposure and rotate any compromised secrets
  • Audit playbooks that use loops with sensitive data and implement additional protection measures
  • Restrict access to Ansible execution logs to authorized personnel only

Patch Information

Red Hat has released security advisories addressing this vulnerability. Administrators should apply the appropriate patches based on their environment:

  • Red Hat Security Advisory RHSA-2024:0733 - Initial patch release
  • Red Hat Security Advisory RHSA-2024:2246 - Additional updates
  • Red Hat Security Advisory RHSA-2024:3043 - Extended platform coverage

The fix was implemented via GitHub Ansible Pull Request #82565, which properly enforces no_log behavior across loop iterations.

Fedora users should update using the package updates announced in the Fedora package announcements for Fedora 38 and 39.

Workarounds

  • Avoid using loops for tasks that handle sensitive data until patching is complete
  • Store sensitive variables in Ansible Vault and limit output verbosity when running playbooks
  • Implement post-execution log scrubbing to remove potential credential exposure
  • Use delegate_to: localhost with no_log: true for sensitive operations as an additional layer
bash
# Configuration example - Verify ansible-core version and update
ansible --version
# Update on RHEL/CentOS
sudo dnf update ansible-core
# Update on Fedora
sudo dnf update ansible
# Verify no_log is properly set in sensitive tasks
grep -r "no_log:" /path/to/playbooks/

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechRedhat Ansible

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-117

  • CWE-116
  • Technical References
  • Red Hat Security Advisory RHSA-2024:2246

  • Red Hat Security Advisory RHSA-2024:3043

  • Red Hat Bugzilla Issue #2259013

  • Fedora Package Announcement IZQGCRDSZL7ONCULMB6ZUHOE4L44KIBP

  • Fedora Package Announcement VDYSWOCPZMNRU5LWKIEBW4WGWLMTU7WQ

  • NetApp Security Advisory NTAP-20250117-0001
  • Vendor Resources
  • Red Hat Security Advisory RHSA-2024:0733

  • Red Hat CVE Details CVE-2024-0690

  • GitHub Ansible Pull Request #82565
  • Related CVEs
  • CVE-2021-3447: Red Hat Ansible Information Disclosure Flaw

  • CVE-2020-1736: Ansible Engine Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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