Bug 2584545 (CVE-2026-136508)

Summary: CVE-2026-136508 postgresql-odbc: postgresql-odbc: Data tampering via insecure distributed transaction connections
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rhel-process-autobot, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in postgresql-odbc on Windows. When processing distributed transactions, the driver and its transaction library create secondary connections that fail to retain the application's configured encryption and security settings. A man-in-the-middle network attacker can exploit this issue to force connections into an unencrypted session. Successful exploitation allows the attacker to intercept and modify sensitive transaction data or alter the recorded transaction outcome.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-25 22:32:06 UTC
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 channel_binding=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.