conjunction with TLS certificates containing wildcard · OpenTofu Incorrectly Validates Excluded Subdomain Constraint
Affects github.com/opentofu/opentofuSource GCVE Database
Mentioned vulnerabilities
CVSS 5.9 Medium : upgrade to 1.10.8 when convenient.
Data as of 27 Nov 2026, 05:09 UTC
- Patch
- Available – fixed in 1.10.8
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:NWhat to do
Upgrade github.com/opentofu/opentofu to 1.10.8.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/opentofu/opentofu | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should upgrade OpenTofu to version 1.10.8 or later, which includes the fix by upgrading to Go 1.24.11. Users on these versions are advised to plan an upgrade to v1.10.8. No additional mitigations are specified or required beyond applying the official fix.
Description
OpenTofu versions prior to 1.10.8 improperly validate excluded subdomain constraints when verifying TLS certificates containing wildcard Subject Alternative Names (SANs). This flaw allows a certificate chain with conflicting constraints to be accepted as valid for a target hostname, potentially undermining TLS client authentication. The issue arises from reliance on the Go standard library's crypto/x509 package, which had a known vulnerability (CVE-2025-61727) affecting wildcard name verification against excluded DNS name constraints. OpenTofu 1.10.8 addresses this by upgrading to Go 1.24.11, which includes the upstream fix.
References
- github.com/opentofu/opentofu/security/advisories/GHSA-mjcp-gpgx-ggcg (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-61727 (opens in a new tab)
- github.com/opentofu/opentofu/issues/3546 (opens in a new tab)
- github.com/opentofu/opentofu (opens in a new tab)
- github.com/opentofu/opentofu/releases/tag/v1.10.8 (opens in a new tab)