CVE-2026-136506 — PostgreSQL psqlODBC
One of 17 PostgreSQL psqlODBC vulnerabilities published together by NVD: our article covers all of them.
DatabasesVulnerabilitiesResearch article
psqlODBC SQL Injection Vulnerability in PostgreSQL
| CVE | CVE-2026-136506 |
|---|---|
| Vendor and product | PostgreSQL psqlODBC |
| Published | November 26, 2026 00:35 UTC |
| Research cut-off | November 26, 2026 00:05 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-11-25); CISA KEV catalog |
Executive summary
CVE-2026-136506 involves SQL injection due to unescaped names in psqlODBC, with a CVSS 3.1 score of 7.5 HIGH [1]. Versions up to 18.00.0006 are affected [1]. The reviewed sources do not report exploitation [2]. The sources do not list a fixed version for CVE-2026-136506 [1].
Key points
- CVE-2026-136506 involves SQL injection in psqlODBC due to unescaped names [1].
- The CVSS 3.1 score is 7.5 HIGH, with a vector of AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H [1].
- Versions up to and including 18.00.0006 are affected [1].
- The reviewed sources do not report exploitation [2].
- The sources do not list a fixed version for CVE-2026-136506 [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-136506 | PostgreSQL | psqlODBC | CWE-89, CWE-706 | 7.5 HIGH, scored by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 | 2026-11-25T23:17:23 | 2026-11-25T23:17:23 | Received |
Vulnerability description
psqlODBC constructs SQL queries from names without proper escaping or qualification, allowing an attacker to inject malicious SQL code. This affects several functions, including SQLForeignKeys(), catalog functions, and SQLSetPos() and SQLBulkOperations() [1].
Attack surface and exploitation prerequisites
The CVSS vector indicates that the vulnerability requires network access (AV:N), low privileges (PR:L), and no user interaction (UI:N) [1]. An attacker must have the ability to create database objects with specially crafted names or provide cursor or parameter names to the application [1].
Impact analysis
The CVSS vector highlights high impact on confidentiality (C:H), integrity (I:H), and availability (A:H). A database user capable of creating objects with specially designed names or an end user providing cursor or parameter names can run SQL commands with the permissions of the application's database role [1].
Affected products and versions
| Affected Version | Fixed Version |
|---|---|
| ≤ 18.00.0006 | not listed |
Exploitation and threat intelligence status
CVE-2026-136506 is not listed in the CISA KEV catalog as of 2026-11-26 [2]. The reviewed sources do not report exploitation.
Detection and exposure assessment
Readers can compare their installed psqlODBC version with the affected range of up to and including 18.00.0006 [1].
Remediation
The sources do not list a fixed version. Readers should monitor for updates from the vendor and apply them promptly if available.
Remediation checklist
- Check the installed version of psqlODBC to ensure it is not ≤ 18.00.0006.
- Monitor for updates from the vendor and apply them promptly if available.
- Restrict user permissions to prevent unauthorized creation of database objects.
Evidence gaps
- The sources do not describe the affected component's internals.
- The sources do not mention a workaround.
- The sources do not describe the exact attack steps.
- The sources do not provide indicators of compromise.
- The sources do not list a fixed version.
References
- CVE-2026-136506 record. NIST National Vulnerability Database (NVD), 2026-11-25. https://nvd.nist.gov/vuln/detail/CVE-2026-136506. Accessed 2026-11-26.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-26. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-26.
Summary
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.
Severity breakdown
High · 7.5
An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality, integrity and availability
Weakness
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
- CWE-706: Use of Incorrectly-Resolved Name or Reference
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| PostgreSQL psqlODBC | ≤ 18.00.0006 | — |
References by type
Vendor advisories
Other references
Affected
- PostgreSQL psqlODBC
Frequently asked questions
What is CVE-2026-136506?
CVE-2026-136506 involves SQL injection due to unescaped names in psqlODBC, with a CVSS 3.1 score of 7.5 HIGH. Versions up to 18.00.0006 are affected. The reviewed sources do not report exploitation. The sources do not list a fixed version for CVE-2026-136506. Weakness type: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (CWE-89).
How severe is CVE-2026-136506?
CVE-2026-136506 has a CVSS 3.1 base score of 7.5 (high), from the CNA. An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-136506 being exploited?
Not as far as is known: CVE-2026-136506 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-136506?
PostgreSQL psqlODBC ≤ 18.00.0006.
How do I fix CVE-2026-136506?
Check the installed version of psqlODBC to ensure it is not ≤ 18.00.0006. Monitor for updates from the vendor and apply them promptly if available. Restrict user permissions to prevent unauthorized creation of database objects.