# GHSA-J443-WCQQ-XPRH: Terraform Provider for SendGrid: TLS Session Resumption Bypasses Certificate Authority Trust Store Modifications in Go

- Database: GitHub
- Severity: critical (stated by ghsa, no CVSS score)
- Published: 2026-03-11
- Modified: 2026-03-23

## Also published as

- [GO-2026-4673](https://cve.now/GO-2026-4673.md) (Go)

## Affected versions

- github.com/arslanbekov/terraform-provider-sendgrid (Go): through 1.1.3-0.20250606002314-b4a2dfeb7b0f

## 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.

## References

- https://github.com/arslanbekov/terraform-provider-sendgrid/security/advisories/GHSA-j443-wcqq-xprh
- https://github.com/advisories/GHSA-h355-32pf-p2xm
- https://github.com/arslanbekov/terraform-provider-sendgrid
- https://security.snyk.io/vuln/SNYK-CHAINGUARDLATEST-TERRAFORMPROVIDERSENDGRID-15265295

Page: https://cve.now/GHSA-J443-WCQQ-XPRH

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
