Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Databases

CVE-2026-136506 — PostgreSQL psqlODBC

High · CVSS 7.5EPSS 0.5% First seen November 25, 2026

One of 17 PostgreSQL psqlODBC vulnerabilities published together by NVD: our article covers all of them.

DatabasesVulnerabilities

Research article

psqlODBC SQL Injection Vulnerability in PostgreSQL

CVECVE-2026-136506
Vendor and productPostgreSQL psqlODBC
PublishedNovember 26, 2026 00:35 UTC
Research cut-offNovember 26, 2026 00:05 UTC
Sources reviewed2: 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 IDVendorProductCWECVSS 3.1PublishedLast ModifiedRecord Status
CVE-2026-136506PostgreSQLpsqlODBCCWE-89, CWE-7067.5 HIGH, scored by f86ef6dc-4d3a-42ad-8f28-e6d5547a50072026-11-25T23:17:232026-11-25T23:17:23Received

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 VersionFixed Version
≤ 18.00.0006not 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

  1. Check the installed version of psqlODBC to ensure it is not ≤ 18.00.0006.
  2. Monitor for updates from the vendor and apply them promptly if available.
  3. 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

  1. 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. CVE identification, vulnerability description, CVSS scores, affected versions, impact analysis, and detection and exposure assessment.
  2. 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. Exploitation and threat intelligence status.

Written with AI assistance from the 2 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.5 CVSS 3.1 base score 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.

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

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

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

ProductAffected versionsFixed in
PostgreSQL psqlODBC≤ 18.00.0006—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Other references

Details from NVD (public domain).

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.

Timeline & sources

References