CVE-2026-27640
Oocx Tfplan2Md ≤ 1.26.1
Raw 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:XSummary
CVE-2026-27640 is a high-severity Improper Removal of Sensitive Information Before Storage or Transfer (CWE-212) vulnerability in Oocx Tfplan2Md. Its CVSS base score is 8.5 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Unsecured Credentials (T1552); ranked at the 22th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to MP-6 (Media Sanitization) and SI-19 (De-identification) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2026-27640 is an information disclosure vulnerability (CWE-212) in tfplan2md, a tool for converting Terraform plan JSON files into human-readable Markdown reports. Published on 2026-02-25, it affects versions prior to 1.26.1 and stems from a bug impacting multiple rendering paths, including AzApi resource body properties, AzureDevOps variable groups, Scriban template context variables, and hierarchical sensitivity detection. These flaws cause the tool to render actual sensitive values in reports rather than masking them as "(sensitive)", with a CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
The vulnerability can be exploited by any network-accessible attacker requiring no privileges, low complexity, or user interaction. By obtaining the generated Markdown reports—potentially through shared CI/CD pipelines, public repositories, or other distribution channels—attackers can achieve high-impact confidentiality breaches, exposing sensitive Terraform plan data such as credentials, secrets, or configuration details that were intended to be protected.
The issue is fully resolved in tfplan2md version 1.26.1. No workarounds are available. For mitigation details, refer to the GitHub release notes at https://github.com/oocx/tfplan2md/releases/tag/v1.26.1 and the security advisory at https://github.com/oocx/tfplan2md/security/advisories/GHSA-5j8r-g94q-2f39.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-8615
Vulnerability Data
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…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 5 hardening rules · 3 OS baselines
V14.2.8V14.3.3
Mitigating Controls (NIST 800-53 r5) AI
Requires sanitization of media before disposal, release, or reuse, directly stopping sensitive information from remaining in resources made available to unauthorized parties.
Mandates removal of specified PII elements from datasets before further use or sharing, addressing a subset of the improper-removal cases.
Mitigating Controls (NIST CSF 2.0) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.
Directly addresses removal of confidential data from process memory and similar in-use contexts before exposure.
Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.
Explicit information-deletion control directly addresses improper removal of sensitive data.
Data-masking techniques can substitute for removal when full deletion is impractical.
Test-data protection rules require sanitization of production data used in testing.
Classification identifies sensitive data that must be removed before storage or transfer.
Information-transfer rules can require sanitization of sensitive content before sharing.
PII-protection requirements include removing identifiers before storage or disclosure.
Hardening callouts derived
Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).
Oracle Linux 8 (3 rules)
- V-248579 OL 8 must restrict access to the kernel message buffer. prevents CWE-212
- V-248580 OL 8 must prevent kernel profiling by unprivileged users. prevents CWE-212
- V-248551 A sticky bit must be set on all OL 8 public directories to prevent unauthorized and unintended information transferred via shared system resources. prevents CWE-212
Oracle Linux 9 (1 rule)
- V-271745 OL 9 must restrict access to the kernel message buffer. prevents CWE-212
RHEL 8 (1 rule)
- V-230269 RHEL 8 must restrict access to the kernel message buffer. prevents CWE-212