Skip to main content

psqlODBC CVE-2026-120062

| EUVDEUVD-2026-115375 HIGH
SQL Injection (CWE-89)
2026-11-02 PostgreSQL
7.5
CVSS 3.1 · Vendor: PostgreSQL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with application-level connection
  2. Exploit
    Submit crafted table/schema name to SQLSpecialColumns
  3. Execution
    Driver splices name unescaped into catalog query
  4. Impact
    Execute arbitrary SQL at connection privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a host application that passes an attacker-controlled (untrusted) table or schema name into the psqlODBC SQLSpecialColumns function; only that function is affected, because the other catalog functions escape these identifiers. Applications that pass only trusted or hardcoded identifiers to SQLSpecialColumns are not exploitable. Exploitation is limited to psqlODBC versions before 18.00.0006, and the injected SQL runs only with the privileges of the existing database connection (per CVSS PR:L, an authenticated connection context). The only complete fix per the advisory is updating to 18.00.0006.

Impact

Signals are moderate and partly conditional. The CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N, C:H/I:H/A:H, base 7.5) reflects a SQL injection (CWE-89) that yields arbitrary SQL execution at the connection's privilege level, but two metrics temper real-world risk: AC:H and PR:L indicate the attack is neither trivial nor fully unauthenticated, and - critically - exploitation depends on an application actually passing untrusted input to the specific SQLSpecialColumns function. No EPSS score was provided, there is no CISA KEV listing, and no confirmed public exploit code exists; the single reference is a PostgreSQL/GHSA vendor advisory, not a PoC. The vuln.today decision label is 'this_week' rather than act_now/emergency, which is consistent with a credible-but-not-actively-exploited library flaw. Net: this is a legitimate issue to remediate on a near-term schedule, not a drop-everything emergency, and its exploitability is gated by whether downstream applications feed attacker-controlled table/schema names into this one driver function.

Exploit ScenarioDerived

An application using psqlODBC exposes a feature that passes a user-supplied table or schema name to the SQLSpecialColumns function. An attacker with a valid connection submits a crafted identifier containing SQL syntax, which the driver splices unescaped into its catalog query, causing arbitrary SQL to run with the privileges of the database connection. No public exploit code has been identified for this flaw.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 02, 2026

SQL injection in psqlODBC before 18.00.0006 allows an attacker who can influence a table or schema name passed by a host application to SQLSpecialColumns to execute arbitrary SQL with the privileges of the existing database connection. Only SQLSpecialColumns is affected because it fails to escape these identifiers, while the other catalog functions do escape them; applications that pass only trusted or hardcoded identifiers to that function are not exploitable. The assessed vector is CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, and no public exploit was identified at time of analysis.

RemediationAI

Update psqlODBC to 18.00.0006, which the vendor advisory identifies as the only complete fix (https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-gg8f-fx3w-rj33). Until the update is applied, applications should ensure that table and schema names passed to SQLSpecialColumns are trusted or hardcoded, or avoid passing untrusted identifiers to that function where possible; this reduces exposure but limits application flexibility and is not a substitute for the vendor fix. No other vendor-listed workaround is provided in the available data.

Affected VersionsENISA

psqlODBC 0 <18.00.0006

Affected Packages

euvd psqlodbc fix: 18.00.0006

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

psqlODBC is the PostgreSQL ODBC driver, and SQLSpecialColumns is an ODBC catalog function that returns information about columns that uniquely identify a row. In affected versions, SQLSpecialColumns splices the supplied table and schema names directly into its catalog query without escaping them, whereas the other catalog functions escape those identifiers, producing a CWE-89 SQL injection. CPE data identifies postgresql:psqlodbc across versions before 18.00.0006 as affected. Exploitation requires a host application that passes an attacker-controlled table or schema name into SQLSpecialColumns; the injected SQL runs only with the privileges of the existing connection, consistent with the low-privilege authenticated context in the assessed vector. The supplied sources do not describe additional trigger mechanics beyond this application-level precondition.

Know when Psqlodbc gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (PostgreSQL) PRIMARY 7.5 HIGH
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

Arbitrary SQL at connection privileges gives C/I/A:H; AC:H because it depends on an app feeding untrusted input to this one function, PR:L for the authenticated connection.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (PostgreSQL).

CVSS VectorVendor: PostgreSQL

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 02, 2026 - 20:18 EUVD
CVE Published
Nov 02, 2026 - 19:09 cve.org
HIGH 7.5

DescriptionCVE.org

SQLSpecialColumns in psqlODBC splices the table and schema names it receives into its catalog query without escaping them, while the other catalog functions escape them. An application that passes an untrusted table or schema name to SQLSpecialColumns lets the caller execute arbitrary SQL with the privileges of the connection. Versions before psqlODBC 18.00.0006 are affected.

Executive ViewAI

Why It Matters

A high-severity SQL injection vulnerability in psqlODBC, the PostgreSQL ODBC driver, could allow attackers to execute arbitrary SQL with the privileges of the existing database connection. This affects organizations using psqlODBC in applications that pass untrusted table or schema names to the SQLSpecialColumns function. Leadership should prioritize remediation because exploitation could lead to unauthorized data access or modification, though no public exploit or active exploitation has been identified.

Business Impact: High
Compensating Controls

Vendor-released patch: 18.00.0006

Threat Intelligence Overview

Prevalence
Medium
PostgreSQL ODBC driver, common in data-integration stacks but not universal
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2026-120064 HIGH
7.5 Nov 02

Out-of-bounds reads and writes in psqlODBC before 18.00.0006 arise when a host application forwards untrusted column num

CVE-2026-120061 HIGH
7.5 Nov 02

A stack-based buffer overflow (CWE-121) in the psqlODBC driver, the official PostgreSQL ODBC driver, lets attacker-influ

CVE-2026-120058 HIGH
7.5 Nov 02

Heap out-of-bounds write in the psqlODBC driver (CWE-787) affects all versions before 18.00.0006 and is reachable only w

CVE-2026-120057 HIGH
7.5 Nov 02

A heap buffer overflow in psqlODBC's large-object read path lets a malicious or man-in-the-middle PostgreSQL server over

CVE-2026-120065 HIGH
7.1 Nov 02

SQL injection in psqlODBC before 18.00.0006 can let an authenticated database user who can create a table that an applic

CVE-2026-120059 MEDIUM
6.8 Nov 02

Format-string handling in psqlODBC before 18.00.0006 can crash applications or disclose client memory when an updatable

CVE-2026-109448 MEDIUM
5.9 Oct 12

Heap memory corruption in psqlODBC versions before 18.00.0005 can be triggered when an application binds 32,769 or more

CVE-2026-120067 MEDIUM
5.9 Nov 02

A stack-based buffer overflow in psqlODBC, the PostgreSQL ODBC driver, affects all releases before 18.00.0006 when updat

CVE-2026-120063 MEDIUM
5.9 Nov 02

Stack buffer over-write in psqlODBC before 18.00.0006 can corrupt an application process that forwards attacker-influenc

CVE-2026-120060 MEDIUM
5.9 Nov 02

Client-side crash and limited out-of-bounds read affect psqlODBC before 18.00.0006 when the driver connects to a Postgre

CVE-2026-120066 MEDIUM
5.3 Nov 02

psqlODBC before 18.00.0006 on Unix-like systems can expose query text and data to other local users when logging is enab

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy