Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-27640: CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer in oocx tfplan2md

0
High
VulnerabilityCVE-2026-27640cvecve-2026-27640cwe-212
Published: Wed Feb 25 2026 (02/25/2026, 03:52:26 UTC)
Source: CVE Database V5
Vendor/Project: oocx
Product: tfplan2md

Description

tfplan2md is software for converting Terraform plan JSON files into human-readable Markdown reports. Prior to version 1.26.1, a bug in tfplan2md affected several distinct rendering paths: AzApi resource body properties, AzureDevOps variable groups, Scriban template context variables, and hierarchical sensitivity detection. This caused reports to render values that should have been masked as "(sensitive)" instead. This issue is fixed in v1.26.1. No known workarounds are available.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/04/2026, 20:34:21 UTC

Technical Analysis

The vulnerability identified as CVE-2026-27640 affects tfplan2md, a tool designed to convert Terraform plan JSON files into human-readable Markdown reports. Prior to version 1.26.1, tfplan2md contained a bug related to improper handling of sensitive information (classified under CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer). Specifically, several rendering paths within the software—such as AzApi resource body properties, AzureDevOps variable groups, Scriban template context variables, and hierarchical sensitivity detection—failed to mask sensitive values correctly. Instead of displaying the placeholder "(sensitive)", the reports rendered actual sensitive data in plaintext. This flaw exposes secrets, credentials, or other confidential configuration details embedded in Terraform plans. The vulnerability can be exploited remotely without authentication or user interaction, as the reports are generated from input JSON files. The CVSS 4.0 vector indicates network attack vector (AV:N), low attack complexity (AC:L), no privileges required (PR:L), no user interaction (UI:N), and high impact on confidentiality (VC:H), with no impact on integrity or availability. The scope is high, indicating that the vulnerability affects components beyond the initially vulnerable software. No known exploits are currently in the wild, but the high severity and ease of exploitation make it a critical concern for organizations using tfplan2md in their infrastructure as code workflows. The issue was addressed and fixed in tfplan2md version 1.26.1, but no alternative mitigations or workarounds are available.

Potential Impact

The primary impact of CVE-2026-27640 is the unauthorized disclosure of sensitive information contained within Terraform plan files when converted to Markdown reports using vulnerable versions of tfplan2md. This can lead to exposure of secrets such as API keys, passwords, tokens, or other confidential configuration data. Such leakage can facilitate further attacks including unauthorized access to cloud resources, privilege escalation, and lateral movement within an organization's infrastructure. Since Terraform is widely used for managing cloud infrastructure, organizations relying on tfplan2md for reporting are at risk of inadvertently leaking sensitive data to unauthorized parties if reports are shared or stored insecurely. The vulnerability does not affect the integrity or availability of systems directly but significantly compromises confidentiality. The ease of exploitation without authentication or user interaction increases the risk, especially in automated CI/CD pipelines or shared environments. This can result in regulatory compliance violations, reputational damage, and financial losses. The lack of workarounds means organizations must promptly update to the fixed version to prevent exposure.

Mitigation Recommendations

To mitigate CVE-2026-27640, organizations should immediately upgrade tfplan2md to version 1.26.1 or later, where the vulnerability is fixed. Since no workarounds exist, patching is the only effective remediation. Additionally, organizations should audit existing Markdown reports generated by vulnerable versions to identify any inadvertent exposure of sensitive data and take appropriate steps to secure or remove such reports. Implement strict access controls and encryption for storage and transmission of Terraform plan reports to minimize risk of data leakage. Review and enhance sensitivity detection policies within Terraform configurations to reduce the amount of sensitive data included in plan files. Integrate automated scanning tools to detect sensitive data exposure in generated reports as part of CI/CD pipelines. Educate DevOps and security teams about the risks of sharing unmasked Terraform reports and enforce policies to avoid distributing reports generated by vulnerable tfplan2md versions. Monitor for any emerging exploits or indicators of compromise related to this vulnerability and respond accordingly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-02-20T22:02:30.029Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 699e7673b7ef31ef0bd379bc

Added to database: 2/25/2026, 4:11:31 AM

Last enriched: 3/4/2026, 8:34:21 PM

Last updated: 4/12/2026, 3:26:10 AM

Views: 55

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses