CVE-2026-136508
Last modified
CVE-2026-136508 is a medium-severity vulnerability rated 6.8/10 on the CVSS scale. 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..
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| PostgreSQL | psqlODBC | <= 18.00.0006 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-136508?
How severe is CVE-2026-136508?
How do I fix CVE-2026-136508?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-136502psqlODBC scans statement text itself to substitute parameter…8.1
- CVE-2026-136503psqlODBC frees memory that is still in use, frees it twice, …7.5
- CVE-2026-136504With the driver's debug log (MyLog) turned on, two paths wri…5
- CVE-2026-136505psqlODBC uses sizes and counts without checking their range,…7.5
- CVE-2026-136506psqlODBC builds queries of its own from names, and put these…7.5
- CVE-2026-136507psqlODBC parsed and built connection strings in ways that le…8.1
- CVE-2026-136509psqlODBC did not check that a server reply matches the query…7.5
- CVE-2026-136510A parameter-array execution that fails part-way leaves the r…4.8
- CVE-2026-136511psqlODBC mapped an SSLmode value in a connection string that…6.8
- CVE-2026-136512With SQL_C_DEFAULT, the C type of a bound column or paramete…7.5
- CVE-2026-136513When Debug or CommLog is enabled and the log directory canno…3.6
- CVE-2026-136514psqlODBC assumed that a table it reads keeps the definition …6.5
Are you affected by CVE-2026-136508?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
