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-2026-27640

CVE-2026-27640: tfplan2md Information Disclosure Flaw

CVE-2026-27640 is an information disclosure vulnerability in tfplan2md that exposes sensitive values in Markdown reports. This article covers the technical details, affected versions, impact, and mitigation.

Published: February 27, 2026

CVE-2026-27640 Overview

CVE-2026-27640 is a Sensitive Data Exposure vulnerability affecting tfplan2md, a software tool designed to convert Terraform plan JSON files into human-readable Markdown reports. Prior to version 1.26.1, a bug in tfplan2md affected several distinct rendering paths including AzApi resource body properties, AzureDevOps variable groups, Scriban template context variables, and hierarchical sensitivity detection. This flaw caused reports to render values that should have been masked as "(sensitive)" instead, potentially exposing confidential infrastructure configuration data.

Critical Impact

Sensitive infrastructure configuration values, credentials, and secrets that should be masked in Terraform plan reports may be inadvertently exposed to unauthorized parties through improperly rendered Markdown output.

Affected Products

  • tfplan2md versions prior to 1.26.1
  • Systems utilizing AzApi resource body property rendering
  • Environments using AzureDevOps variable group integration with tfplan2md

Discovery Timeline

  • 2026-02-25 - CVE CVE-2026-27640 published to NVD
  • 2026-02-25 - Last updated in NVD database

Technical Details for CVE-2026-27640

Vulnerability Analysis

This vulnerability is classified under CWE-212 (Improper Removal of Sensitive Information Before Storage or Transfer). The core issue lies in the failure of tfplan2md to properly mask sensitive values across multiple rendering pathways. When processing Terraform plan JSON files, the tool is designed to identify and redact sensitive values by replacing them with "(sensitive)" markers. However, a bug in the implementation caused this masking logic to fail in specific contexts.

The vulnerability affects four distinct rendering paths within the application: AzApi resource body properties, AzureDevOps variable groups, Scriban template context variables, and the hierarchical sensitivity detection mechanism. Each of these paths failed to properly propagate or detect the sensitivity flag, resulting in plaintext exposure of values that should have been protected.

Root Cause

The root cause stems from improper information removal logic (CWE-212) where the sensitivity detection and masking functionality did not correctly traverse or handle nested data structures across the affected rendering paths. The hierarchical sensitivity detection, in particular, failed to properly inherit sensitivity markers from parent objects to child properties, allowing sensitive values to bypass the masking mechanism.

Attack Vector

The vulnerability is exploitable over a network vector with low attack complexity. An attacker with low-privilege access to generated Markdown reports could view sensitive infrastructure configuration data that should have been redacted. This is particularly concerning in CI/CD pipeline environments where Terraform plan outputs are shared via pull request comments, wiki pages, or documentation systems.

The exposure could include sensitive information such as database connection strings, API keys, service principal credentials, or other secrets embedded in Terraform configurations that rely on the sensitivity masking feature for protection during report generation.

Detection Methods for CVE-2026-27640

Indicators of Compromise

  • Review generated Markdown reports for unexpected exposure of configuration values that should display as "(sensitive)"
  • Audit CI/CD pipeline artifacts for Terraform plan reports containing unmasked credential or secret values
  • Check historical reports generated with tfplan2md versions prior to 1.26.1 for potential data exposure

Detection Strategies

  • Implement automated scanning of generated Markdown output to detect patterns consistent with exposed credentials (API keys, connection strings, tokens)
  • Monitor tfplan2md version in use across development and CI/CD environments to identify vulnerable installations
  • Enable audit logging for systems that consume or display tfplan2md-generated reports

Monitoring Recommendations

  • Configure alerts for Markdown reports containing values matching known sensitive patterns (AWS keys, Azure credentials, database passwords)
  • Implement file integrity monitoring on systems storing generated Terraform plan reports
  • Review access logs for systems hosting potentially exposed infrastructure documentation

How to Mitigate CVE-2026-27640

Immediate Actions Required

  • Upgrade tfplan2md to version 1.26.1 or later immediately
  • Audit all previously generated Markdown reports for sensitive data exposure
  • Rotate any credentials or secrets that may have been exposed in generated reports
  • Review access controls on systems storing or displaying Terraform plan documentation

Patch Information

The vulnerability has been fixed in tfplan2md version 1.26.1. The patch addresses the sensitivity masking logic across all four affected rendering paths: AzApi resource body properties, AzureDevOps variable groups, Scriban template context variables, and hierarchical sensitivity detection. Users should upgrade to this version or later to remediate the vulnerability.

For detailed information about the fix, refer to the GitHub tfplan2md Release v1.26.1 and the GitHub Security Advisory GHSA-5j8r-g94q-2f39.

Workarounds

  • No known workarounds are available according to the vendor advisory
  • As an interim measure, manually review all generated reports before publishing to ensure sensitive values are not exposed
  • Consider temporarily disabling automated publishing of Terraform plan reports until the upgrade is complete
  • Restrict access to generated Markdown reports to minimize exposure risk
bash
# Upgrade tfplan2md to the patched version
# Using your package manager or directly from GitHub releases
# Verify installed version after upgrade
tfplan2md --version
# Expected output: 1.26.1 or later

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechTfplan2md

  • SeverityHIGH

  • CVSS Score8.5

  • EPSS Probability0.04%

  • 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-212
  • Technical References
  • GitHub tfplan2md Release v1.26.1

  • GitHub Security Advisory GHSA-5j8r-g94q-2f39
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS Vulnerability
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