CVE-2026-136508: MSDTC connections drop the connection's TLS and channel binding settings
On Windows, when a connection takes part in a distributed transaction, psqlODBC and its XA library open further connections of their own to finish the transaction. These connections did not keep the security settings of the application's connection:
- When the XA library's first connection attempt failed, it tried again with sslmode=allow, even for a data source configured with sslmode=verify-full or verify-ca. - The connections the driver opens itself ignored every libpq option given through pqopt, such as channelbinding=require, and the open string it registers with MSDTC carried no pqopt, so the XA library's connections dropped those options too.
An attacker on the network path between the MSDTC host and the PostgreSQL server, without a certificate or credentials, can make those connections go to a server of their choosing without TLS, read and change what they send, and decide the outcome MSDTC records for the transaction.
Versions up to and including psqlODBC 18.00.0006 are affected.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Windows deployments using psqlODBC with MSDTC distributed transactions are exposed. Versions up to and including psqlODBC 18.00.0006 are affected.
What must an attacker be able to do to exploit it?
The attacker must be on the network path between the MSDTC host and the PostgreSQL server. They do not need a certificate or credentials, but exploitation requires the transaction-related connections opened by psqlODBC or its XA library.
Are connections configured for certificate verification or required channel binding still protected?
No. After an XA library connection failure, the retry can use sslmode=allow even when the data source uses verify-full or verify-ca; driver-created connections also omit libpq options supplied through pqopt, including channel_binding=require.
What is the impact if exploitation succeeds?
An attacker can redirect the affected transaction connections to a server they control without TLS, read or modify transmitted data, and control the transaction outcome that MSDTC records.