Read the docs
TI-2026-82208 Aliases GHSA-473q-m89c-ghf8

Password sent before certificate check in MySqlConnector zero-configuration TLS

Priority LOW 38CWE-200Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Information disclosure
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-200.

Summary

MySqlConnector versions from 0 before 2.6.1 send a clear-text password before verifying the server certificate when SslMode is VerifyCA or VerifyFull and no SslCa is configured. An attacker who can act as a man-in-the-middle MySQL proxy with any self-signed certificate can capture the plaintext database password, defeating the protection VerifyFull is expected to provide (CWE-200). Configured CA validation, local connections and empty passwords are not affected.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

Description from the GitHub advisory

## Summary With `SslMode` set to `VerifyCA` or `VerifyFull` with no configured CA certificate, an unvalidated TLS connection is treated as secure and a clear-text password can be sent before the certificate is checked. This can occur when relying on the password to validate a self-signed cert, e.g., MariaDB's [zero-configuration TLS](https://mariadb.com/docs/server/security/encryption/data-in-transit-encryption/zero-configuration-ssl). ## Impact An attacker who can deploy a man-in-the-middle MySQL proxy presenting any self-signed certificate can capture the plaintext database password of a client that: - uses `SslMode = VerifyCA` or `VerifyFull`, and - does not use the `SslCa` connection string option, and - uses a non-empty password. The attacker completes the TLS handshake with its own cert, requests a clear-text password authentication scheme (`mysql_clear_password`, or forces the `caching_sha2_password`/`sha256_password` clear-text fallback), and receives the password before the fingerprint check rejects the connection, defeating the man-in-the-middle protection `VerifyFull` is expected to provide. Not affected: a configured CA (`SslCa`), CA-validated TLS, local connections (Unix socket / loopback), or empty passwords. Using `SslMode` set to `Preferred` or `Required` is out of scope (this is documented as not authenticating the server). ## Workarounds Provide `SslCa` with `VerifyCA`/`VerifyFull`, use a local/Unix-socket connection, or avoid clear-text authentication. ## References - https://mariadb.org/mission-impossible-zero-configuration-ssl/

Why it matters now

Fix Fixed MySqlConnector (NuGet): 2.6.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—MySqlConnector (NuGet)before 2.6.12.6.1Patch availableGHSA-473q-m89c-ghf8
  • MySqlConnector (NuGet) Vendor— Affected before 2.6.1 Fixed in 2.6.1 Patch available GHSA-473q-m89c-ghf8

Remediation

Update MySqlConnector to version 2.6.1 or later. Alternatively, set SslCa with VerifyCA or VerifyFull, use a local Unix socket or loopback connection, or avoid clear-text authentication.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

  • Fix · GHSA-473q-m89c-ghf8 MySqlConnector (NuGet) Fixed in 2.6.1 Advisory →

Timeline

  1. 2026-10-28 Threatist record created from GHSA-473q-m89c-ghf8

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences