Back to list

Sensitive data exposure in state and plan artifacts

9/10 Critical

Terraform stores real secret values (API tokens, database passwords) in plaintext state files and plan output despite showing (sensitive value) in the CLI. When plan files are uploaded as CI/CD artifacts, they become security liabilities if accessible to unauthorized parties.

Category
security
Workaround
hack
Stage
deploy
Freshness
persistent
Scope
framework
Upstream
open
Recurring
Yes
Buyer Type
team

Sources

Collection History

Query: “What are the most common pain points with Terraform for developers in 2025?3/29/2026

Even when the CLI shows (sensitive value), the underlying state and plan data can still contain the real value... State and plan files may include sensitive values like initial database passwords or API tokens — and local state is stored in plaintext by default. That plan file can contain enough information to leak secrets if it's accessible to the wrong people.

Created: 3/29/2026Updated: 3/29/2026