Skip to main content
VulnerabilityPublished

conjunction with TLS certificates containing wildcard · OpenTofu Incorrectly Validates Excluded Subdomain Constraint

Affects github.com/opentofu/opentofuSource GCVE Database

0

Mentioned vulnerabilities

CVSS 5.9 Medium : upgrade to 1.10.8 when convenient.

Data as of 27 Nov 2026, 05:09 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

What to do

Upgrade github.com/opentofu/opentofu to 1.10.8.

Affected software

ProductAffectedFixed in
Gogithub.com/opentofu/opentofuAffected
  • <1.10.8
Fixed in
  • 1.10.8

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

Community reviews

Loading reviews…