Cyber Resilience

CVE-2026-27640

Oocx Tfplan2Md ≤ 1.26.1

Published
25 February 2026
Modified
04 March 2026
Patch / advisory
CVSS Score v4 8.5
Click a component to see what it means
Raw vectorCVSS: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
EPSS Score 0.0030 22th percentile
Risk Priority 38 floored blend · peak EPSS

Summary

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

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

T1552 Unsecured Credentials Credential Access
Adversaries may search compromised systems to find and obtain insecurely stored credentials.
T1552.001 Credentials In Files Credential Access
Adversaries may search local file systems and remote file shares for files containing insecurely stored credentials.
T1552.002 Credentials in Registry Credential Access
Adversaries may search the Registry on compromised systems for insecurely stored credentials.
T1552.004 Private Keys Credential Access
Adversaries may search for private key certificate files on compromised systems for insecurely stored credentials.
T1552.006 Group Policy Preferences Credential Access
Adversaries may attempt to find unsecured credentials in Group Policy Preferences (GPP).
T1003 OS Credential Dumping Credential Access
Adversaries may attempt to dump credentials to obtain account login and credential material, normally in the form of a hash or a clear text password.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-48708Shared CWE-212
CVE-2023-52376Shared CWE-212
CVE-2024-56353Shared CWE-212
CVE-2025-61643Shared CWE-212
CVE-2025-8860Shared CWE-212
CVE-2025-20118Shared CWE-212
CVE-2024-31493Shared CWE-212
CVE-2024-43554Shared CWE-212
CVE-2023-28834Shared CWE-212
CVE-2026-1732Shared CWE-212

Affected Assets

oocx
tfplan2md
≤ 1.26.1

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 5 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V14.2.8
  • V14.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.

PR.DS-10 mostly match
prevents

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.

degrades

Explicit information-deletion control directly addresses improper removal of sensitive data.

prevents

Data-masking techniques can substitute for removal when full deletion is impractical.

prevents

Test-data protection rules require sanitization of production data used in testing.

prevents

Classification identifies sensitive data that must be removed before storage or transfer.

prevents

Information-transfer rules can require sanitization of sensitive content before sharing.

prevents

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

References