10.0critical
Terraform Provider for SendGrid: TLS Session Resumption Bypasses Certificate Authority Trust Store Modifications in Go
- Severity
- 10.0critical CVSS:3.1 by GitHub
- Published
- Last changed
- Also known as
- GO-2026-4673
Description
Summary
A critical vulnerability has been identified at https://security.snyk.io/package/linux/chainguard:latest/terraform-provider-sendgrid, associated with the underlying Go version.
If the server's TLS configuration is mutated between connections — for example, a CA is removed from the trusted list via Config.Clone() combined with modification or GetConfigForClient — the resumed handshake still succeeds using the cached session. The certificate is not re-checked against the updated CA list.
As a result, a client whose CA was revoked or removed between the first and second connection could still establish a connection on the resumed session.
Details
If the server's TLS configuration is mutated between connections — for example, a CA is removed from the trusted list via Config.Clone() combined with modification or GetConfigForClient — the resumed handshake still succeeds using the cached session. The certificate is not re-checked against the updated CA list.
Consequently, a client whose CA was revoked or removed between the first and second connection could still establish a connection on the resumed session.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/arslanbekov/terraform-provider-sendgrid (Go) | up to 1.1.3-0.20250606002314-b4a2dfeb7b0f, all versions | GitHub Advisory Database, Go Vulnerability Database |
Classification
What each source says
GitHub Advisory Database
Summary
A critical vulnerability has been identified at https://security.snyk.io/package/linux/chainguard:latest/terraform-provider-sendgrid, associated with the underlying Go version.
If the server's TLS configuration is mutated between connections — for example, a CA is removed from the trusted list via Config.Clone() combined with modification or GetConfigForClient — the resumed handshake still succeeds using the cached session. The certificate is not re-checked against the updated CA list.
As a result, a client whose CA was revoked or removed between the first and second connection could still establish a connection on the resumed session.
Details
If the server's TLS configuration is mutated between connections — for example, a CA is removed from the trusted list via Config.Clone() combined with modification or GetConfigForClient — the resumed handshake still succeeds using the cached session. The certificate is not re-checked against the updated CA list.
Consequently, a client whose CA was revoked or removed between the first and second connection could still establish a connection on the resumed session.
Go Vulnerability Database
Terraform Provider for SendGrid: TLS Session Resumption Bypasses Certificate Authority Trust Store Modifications in Go in github.com/arslanbekov/terraform-provider-sendgrid
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-j443-wcqq-xprh changed 2026-03-23 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-4673 changed 2026-03-23 | CC-BY-4.0 |