CVE-2026-136506

HighCVSS 7.5/10Last modified Dec 2, 2026

Description

psqlODBC builds queries of its own from names, and put these names into them without escaping or qualification:

- the database name in SQLForeignKeys(); - the current schema name in catalog functions; - the table name in the currtid2() call that re-reads rows of updatable cursors; - column names in the inserts and updates of SQLSetPos() and SQLBulkOperations(); - cursor names set with SQLSetCursorName() or returned as refcursors (FetchRefcursors=1); - parameter names (SQL_DESC_NAME) in procedure calls; - the = operator in an OID comparison in SQLColumns(), which the server resolves through search_path.

The column names of the fourth item are a variant of CVE-2026-120065 (GHSA-9cg8-r57h-h6jj). The fix for that advisory, in 18.00.0006, doubles " in the stored row-identifier name, which the keyset queries and the WHERE clause of the positioned statements use. The column names that SQLSetPos() and SQLBulkOperations() put into the SET list of their UPDATE and into the column list of their SQL_ADD INSERT come from the catalog and were not covered by it, so a driver patched to 18.00.0006 is still affected by this one.

A database user who can create a database, schema, table, column or operator with a crafted name, or an end user who supplies a cursor or parameter name to the application, can run SQL with the rights of the application's database role.

Versions up to and including psqlODBC 18.00.0006 are affected.

Metrics

CVSS 3.1 7.5/10CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 25, 2026
Last modified
Dec 2, 2026
NVD status
Awaiting Analysis

Related CVEs from 2026

CVE-2026-1365078.1psqlODBC parsed and built connection strings in ways that let a value end early: - In a braced value, such as PWD={…}, a trailing byte 0x7dCVE-2026-1365086.8On Windows, when a connection takes part in a distributed transaction, psqlODBC and its XA library open further connections of their own to CVE-2026-1365097.5psqlODBC did not check that a server reply matches the query it sent: that a FETCH returns no more rows than it asked for, that each row hasCVE-2026-1365104.8A parameter-array execution that fails part-way leaves the rows it has already queued on the statement handle, and the next execution on thaCVE-2026-1365116.8psqlODBC mapped an SSLmode value in a connection string that it did not recognise, such as SSLmode=Require, SSLmode=Verify-Full, SSLmode={reCVE-2026-1365127.5With SQL_C_DEFAULT, the C type of a bound column or parameter follows its SQL type. An application sizes its buffer from the type it was tolCVE-2026-1365133.6When Debug or CommLog is enabled and the log directory cannot be used, psqlODBC falls back to a directory under the user's home directory. ICVE-2026-1365146.5psqlODBC assumed that a table it reads keeps the definition it had when the statement was described or parsed. A database user who owns a taCVE-2026-1365157.5psqlODBC rewrites statement text for keyset-driven cursors and ODBC escapes using positions it found in the text. These positions could lie CVE-2026-1365176.4The UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP plugin for WordPress is vulnerable to CVE-2026-1365197.2The Advanced Product Fields (Product Addons) for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wapfCVE-2026-1365216.4The Advanced Classifieds & Directory Pro plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'description' p
CVE-2026-136506: High severity, CVSS 7.5 | Vulnix