CVE-2026-27900
Sensitive Data Exposure via Debug Logging in Linode Terraform Provider
Publication date: 2026-02-26
Last updated on: 2026-03-11
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| terraform | linode_provider | to 3.9.0 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-532 | The product writes sensitive information to a log file. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2026-27900 is a moderate severity vulnerability in the Terraform Provider for Linode versions prior to 3.9.0 where sensitive information such as passwords, StackScript content, object storage data, and TLS private keys were logged in debug logs without redaction.
This issue occurs only when provider debug logging is explicitly enabled, which is not the default setting. When enabled, sensitive data may be written to logs and then retained, shared, or exported beyond the original execution environment.
An authenticated user with access to these debug logs (via log aggregation systems, CI/CD pipelines, or debug output) could extract sensitive credentials and other confidential information.
The vulnerability was fixed in version 3.9.0 by sanitizing debug logs to log only non-sensitive metadata such as labels, regions, and resource IDs while redacting credentials, tokens, keys, scripts, and other sensitive content.
How can this vulnerability impact me? :
If you enable debug logging in the Linode Terraform provider versions prior to 3.9.0, sensitive information including passwords, StackScript content, object storage data, and TLS private keys could be exposed in logs.
This exposure could lead to unauthorized access if an attacker or unauthorized user gains access to these debug logs through log aggregation systems, CI/CD pipelines, or debug output.
Such exposure risks the confidentiality of your credentials and sensitive data, potentially leading to security breaches or misuse of your Linode resources.
Mitigations include disabling debug logging or setting log levels to WARN or above, restricting access to logs, purging logs that may contain sensitive data, and rotating any potentially exposed secrets or credentials.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
[{'type': 'paragraph', 'content': 'This vulnerability can be detected by checking if Terraform Provider for Linode debug logs are enabled and inspecting those logs for sensitive information such as passwords, StackScript content, object storage data, and TLS private keys.'}, {'type': 'paragraph', 'content': 'Since debug logging is not enabled by default, detection involves verifying if environment variables like TF_LOG or TF_LOG_PROVIDER are set to enable debug logging.'}, {'type': 'paragraph', 'content': 'Commands to detect this might include:'}, {'type': 'list_item', 'content': 'Check environment variables for debug logging: `echo $TF_LOG` and `echo $TF_LOG_PROVIDER`'}, {'type': 'list_item', 'content': "Search logs for sensitive keywords such as passwords, tokens, keys, or StackScript content, for example: `grep -iE 'password|token|key|stackscript' /path/to/terraform/logs/*`"}, {'type': 'list_item', 'content': 'Review CI/CD pipeline logs or centralized log aggregation systems for debug logs containing sensitive data.'}] [2]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include disabling Terraform/provider debug logging or setting the log level to WARN or ERROR to prevent sensitive information from being logged.
Unset or properly configure environment variables such as TF_LOG and TF_LOG_PROVIDER to avoid enabling debug logs.
Restrict access to existing and historical logs that may contain sensitive information.
Purge or retention-trim logs that might have recorded sensitive data to prevent further exposure.
Rotate any potentially exposed secrets, including root passwords, image share group tokens, TLS private keys/certificates, and StackScript content.
Upgrade the Terraform Provider for Linode to version 3.9.0 or later, which includes fixes that sanitize debug logs by redacting sensitive information.