Tfplan2md
CVE-2026-27640
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Terraform plan JSON file
-
ExploitProcess with tfplan2md <1.26.1
-
ExecutionSensitive values rendered unmasked
-
ImpactExtract exposed credentials and secrets
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V14 - Data Protection Data removal before release
|
| Exploitation Conditions | tfplan2md version prior to 1.26.1 processing Terraform plan files containing AzApi resource bodies, AzureDevOps variable groups, or Scriban template context with marked sensitive values. No authentication required; attacker needs access to generated Markdown output or control over plan file processing. |
| Impact | CVSS 7.5 (HIGH). Attack vector: Network. Complexity: Low. Privileges required: None. User interaction: None. |
| Exploit ScenarioDerived | An attacker could exploit this vulnerability to compromise the affected system. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 12, 2026
tfplan2md versions before 1.26.1 fail to properly mask sensitive values in Terraform plan reports across multiple rendering paths, causing credentials and other confidential data to be exposed in plaintext markdown output instead of being redacted. Administrators and developers using affected versions to generate infrastructure reports may inadvertently expose secrets to unauthorized parties with access to the generated documentation. No patch is currently available for this high-severity information disclosure vulnerability affecting Azure and Terraform workflows.
Earlier versions of this analysis (1)
tfplan2md is software for converting Terraform plan JSON files into human-readable Markdown reports. [CVSS 7.5 HIGH]
RemediationAI
Monitor vendor advisories for a patch. Restrict network access to the affected service where possible.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Affects Tfplan2Md. 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.
Know when Tfplan2md gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
DescriptionGitHub Advisory
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.
Executive ViewAI
CVE-2026-27640 affects tfplan2md, a tool used to convert Terraform infrastructure-as-code plans into readable reports. Organizations using this tool in CI/CD pipelines or for infrastructure documentation face potential data exposure or unauthorized infrastructure modifications. Without an available patch, immediate inventory and mitigation actions are required to prevent exploitation.
Restrict network access to tfplan2md instances to trusted CI/CD systems only; implement strict input validation and sanitization on Terraform plan JSON files before processing; disable markdown export feature if unused; apply principle of least privilege to service accounts running tfplan2md; monitor and log all tfplan2md activity; consider air-gapping systems processing sensitive infrastructure plans; use Web Application Firewall (WAF) rules if tfplan2md is exposed via HTTP; segment tfplan2md from production systems and sensitive data stores.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
NVD
CVE.org
EPSS
GitHub
Exploit-DB