Skip to content
Threat Feed
high advisory

CTFer.io CTFd Terraform Provider: Sensitive credential exposure in state (CVE-2026-116683)

The CTFer.io CTFd Terraform Provider fails to mark team passwords as sensitive, resulting in plain-text storage of credentials within Terraform state files (CVE-2026-116683).

CVE search metadata

CVE search record: CVE-2026-116683. KEV: no. Product: terraform-provider-ctfd (0.1.5-1.1.0), terraform-provider-ctfd/v2 (< 2.8.2). Brief: CTFer.io CTFd Terraform Provider: Sensitive credential exposure in state (CVE-2026-116683). Brief link: https://feed.craftedsignal.io/briefs/2026-10-ctfd-terraform-provider-cred-exposure/

Triage facts

Revision 1
Applicability
terraform-provider-ctfd (0.1.5-1.1.0), terraform-provider-ctfd/v2 (< 2.8.2)
Evidence
Unknown
Severity
High
Action
Elevated
Sources
2 public sources
Freshness
Revision 1Oct 27, 23:59 UTC
Vulnerabilities
1 CVE
Source quality
A1Likely

The CTFer.io Terraform Provider for CTFd contains a vulnerability where the ctfd_team.password attribute is not marked as sensitive within the Terraform resource schema. This configuration causes Terraform to store these passwords in plain text within the state file (CWE-522). Any entity with read access to the state file can retrieve these credentials without requiring the state's encryption key. This affects version ranges 0.1.5 through 1.1.0 for the main provider and all versions prior to 2.8.2 for the v2 provider.

Impact

Successful exploitation allows unauthorized access to team credentials stored in CTFd. Because Terraform state is often stored in version control systems or remote backends, exposure of these files could lead to widespread credential compromise.

Recommendation

  • Upgrade to terraform-provider-ctfd version 2.8.2 or later immediately.
  • Audit existing Terraform state files for the ctfd_team resource and redact any plain-text passwords found.
  • Enforce strict access control on Terraform state storage backends (e.g., S3 buckets, Terraform Cloud) to prevent unauthorized read access by users or automated processes.

Immediate actions

Upgrade terraform-provider-ctfd to v2.8.2 or later

IT Operations 48h

Threat Hunt

Search CI/CD logs, version control systems, and state storage buckets for unencrypted team passwords associated with CTFd infrastructure

high high confidence hunt now

Data: Terraform state files (.tfstate), CI/CD build logs containing Terraform output

Mitigations

Restrict access to Terraform state storage locations to minimize the risk of unauthorized reads

immediate Security Engineering

CVE-2026-116683