CVE-2026-136508 — PostgreSQL psqlODBC
One of 17 PostgreSQL psqlODBC vulnerabilities published together by NVD: our article covers all of them.
WindowsOperating systemsDatabasesVulnerabilitiesSummary
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.
Severity breakdown
Medium · 6.8
An attacker without an account can exploit this over the network if a user is tricked into an action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- no
- User action needed
- yes, someone must click, open or visit something
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality and integrity, none on availability
Weakness
- CWE-319: Cleartext Transmission of Sensitive Information
- CWE-757: Selection of Less-Secure Algorithm During Negotiation ('Algorithm Downgrade')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| PostgreSQL psqlODBC | ≤ 18.00.0006 | — |
References by type
Vendor advisories
Other references
Affected
- PostgreSQL psqlODBC
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-136508?
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. Weakness type: Cleartext Transmission of Sensitive Information (CWE-319).
How severe is CVE-2026-136508?
CVE-2026-136508 has a CVSS 3.1 base score of 6.8 (medium), from the CNA. An attacker without an account can exploit this over the network if a user is tricked into an action, but only under specific conditions.
Is CVE-2026-136508 being exploited?
Not as far as is known: CVE-2026-136508 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-136508?
PostgreSQL psqlODBC ≤ 18.00.0006.
How do I fix CVE-2026-136508?
Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.
Timeline & sources
References
Related vulnerabilities & news
- psqlODBC Memory Corruption Vulnerability in PostgreSQL
- psqlODBC Connection String Parsing Flaw Enables Remote Code Execution
- psqlODBC Case Sensitivity Flaw Enables Privilege Escalation
- psqlODBC SQL Injection Vulnerability in PostgreSQL
- PowerPanel Business Vulnerabilities Exploited in Targeted Cyberattack