Skip to main content

psqlODBC CVE-2026-136511

MEDIUM
Not Failing Securely ('Failing Open') (CWE-636)
2026-11-25 PostgreSQL
6.8
CVSS 3.1 · Vendor: PostgreSQL
View

Attack ChainAIDerived

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

  1. Access
    Gain on-path/MITM network position
  2. Exploit
    Victim configures SSLmode=Require or Verify-Full
  3. Execution
    psqlODBC silently disables TLS, returns SQL_SUCCESS
  4. Impact
    Intercept and alter cleartext PostgreSQL traffic

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Fail-secure design
Exploitation Conditions

Two conditions must both hold. First, the client must use psqlODBC (version ≤18.00.0006) with a connection string that specifies an SSLmode token the driver does not recognize - specifically non-lowercase or brace-wrapped forms such as 'SSLmode=Require', 'SSLmode=Verify-Full', 'SSLmode={require}' or 'SSLmode={verify-full}'; these are silently mapped to 'disable' with SQLDriverConnect() returning SQL_SUCCESS and no diagnostic, so the operator gets no error signal. Second, the attacker must occupy a position on the network path between client and PostgreSQL server (an active MITM), which is the high-complexity limiting factor (AC:H). What limits exploitation: deployments that use the exact lowercase 'sslmode=require'/'verify-full' spelling are unaffected; the attacker gains nothing without network-path control; and there is no availability impact - only interception and modification of traffic (C:H/I:H).

Impact

This is a fail-open TLS flaw (CWE-636): psqlODBC silently maps unrecognized SSLmode strings such as 'Require', 'Verify-Full', '{require}' or '{verify-full}' to 'disable', and SQLDriverConnect() returns SQL_SUCCESS with no diagnostic, so an operator who believes they mandated encryption actually transmits in cleartext. The provided CVSS:3.1 vector (AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N, 6.8) is internally consistent with this: network vector, high complexity (the attacker must hold an on-path/MITM position), no privileges, but a required precondition (UI:R) that a victim configured one of the mis-cased or brace-wrapped SSLmode values. The vuln.today Decision label is this_month - elevated but not act_now/emergency - which aligns with the absence of KEV and the dependency on an attacker already controlling the network path. No EPSS score, no KEV listing, and no PoC/exploit code are present in the input; the two references are a PostgreSQL GHSA advisory and the project changelog, i.e. advisory material rather than working exploit code. Net: a genuine confidentiality/integrity risk for deployments that both use the affected misspelled SSLmode syntax AND whose traffic can be intercepted, but not a mass-exploitable, unauthenticated-against-default-config issue - its real-world priority is gated by the MITM prerequisite and the specific misconfiguration pattern rather than by raw severity.

Exploit ScenarioDerived

An application is configured to connect to PostgreSQL through psqlODBC with a connection string like 'SSLmode=Require' (capitalized) or 'SSLmode={verify-full}', expecting an encrypted, authenticated channel; psqlODBC does not recognize the token and silently falls back to an unencrypted connection while still returning SQL_SUCCESS. An attacker positioned on the network path between the client and the PostgreSQL server (the AC:H condition) then reads and modifies the plaintext database traffic, including credentials and query data. No public exploit code is identified in the provided sources - only a PostgreSQL security advisory and changelog.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 25, 2026

A fail-open TLS configuration flaw in psqlODBC up to and including 18.00.0006 causes unrecognized SSLmode spellings - such as 'SSLmode=Require', 'SSLmode=Verify-Full', 'SSLmode={require}' or 'SSLmode={verify-full}' - to be silently mapped to 'disable', with SQLDriverConnect() returning SQL_SUCCESS and no diagnostic. An operator who believes encryption is mandated instead transmits in cleartext, allowing an attacker positioned on the network path to read and modify connection traffic. Deployments using the exact lowercase 'sslmode=require' or 'sslmode=verify-full' spelling are unaffected, and no public exploit code or confirmed active exploitation was identified at time of analysis.

RemediationAI

No vendor-released patch version is identified in the available data for this issue; the advisory GHSA-9vpf-qm3q-xh5x (https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-9vpf-qm3q-xh5x) and the changelog at https://odbc.postgresql.org/changelog/ should be monitored for the fixed release, and psqlODBC should be upgraded as soon as one is published. In the interim, the actionable mitigation is to audit every connection string and DSN configuration and use the exact lowercase token 'sslmode=require' or 'sslmode=verify-full' rather than mixed-case or brace-wrapped spellings, verifying after connection that the session is actually encrypted (for example by checking pg_stat_ssl on the server); the trade-off is that this is a manual configuration review whose completeness depends on finding every client and DSN in use. Restricting network reachability so that PostgreSQL clients cannot be reached by hosts off the trusted path reduces MITM exposure but does not fix the fail-open behavior, and operators should be aware that the driver provides no error signal when it silently downgrades to cleartext.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

psqlODBC is the official ODBC driver for PostgreSQL; applications pass connection parameters, including the SSL mode, through SQLDriverConnect(). The SSL mode governs whether TLS is negotiated and how strictly the server certificate is validated. CWE-636 (Not Failing Securely / 'fail open') describes the root cause: rather than rejecting an SSLmode token it does not parse, the driver maps the unrecognized value to 'disable' and proceeds unencrypted, returning SQL_SUCCESS without a diagnostic record. Because the failure is silent, the connection succeeds normally and the application has no signal that its confidentiality requirement was dropped. Exploitation requires the connection string to contain a non-canonical form (mixed/upper case or brace-wrapped) while an attacker holds a position on the network path, consistent with the AC:H metric in the assessed vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N. There is no availability impact; the exposure is interception and modification of traffic, which is why C:H and I:H apply.

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 6.8 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
vuln.today AI 6.8 MEDIUM

AV:N and AC:H because exploitation needs an attacker-uncontrolled on-path position; PR:N as no auth is needed; UI:R since a victim must configure a misrecognized SSLmode; C:H/I:H for read/modify, A:N.

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

Primary rating from Vendor (PostgreSQL).

CVSS VectorVendor: PostgreSQL

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

DescriptionCVE.org

psqlODBC mapped an SSLmode value in a connection string that it did not recognise, such as SSLmode=Require, SSLmode=Verify-Full, SSLmode={require} or SSLmode={verify-full}, to disable. SQLDriverConnect() then returned SQL_SUCCESS with no diagnostic, and the connection was not encrypted.

An attacker on the network path of such a connection can read and change its traffic.

Versions up to and including psqlODBC 18.00.0006 are affected.

Threat Intelligence Overview

EPSS Score
0.4%
Top 78% exploitable
Prevalence
Medium
official PostgreSQL ODBC driver, common in enterprise PostgreSQL integrations but a subset
Social Media
1
Sightings
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Medium

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:postgresql:psqlodbc:*:*:*:*:*:*:*:*
CVE-2026-136507 HIGH
8.1 Nov 25

psqlODBC through 18.00.0006 parses and rebuilds connection strings in several ways that let an attacker-influenced value

CVE-2026-136502 HIGH
8.1 Nov 25

SQL injection in psqlODBC up to and including 18.00.0006 lets remote unauthenticated attackers run SQL with the applicat

CVE-2026-136500 HIGH
8.1 Nov 25

SQL injection in psqlODBC through 18.00.0006 lets an attacker who controls a bound character parameter or a name passed

CVE-2026-136515 HIGH
7.5 Nov 25

Heap corruption in psqlODBC through 18.00.0006 can crash an application or corrupt its memory when it processes attacker

CVE-2026-136505 HIGH
7.5 Nov 25

Extreme sizes and counts handled without range checks in psqlODBC's driver core let 16-bit counters and 2 GiB-scale size

CVE-2026-136509 HIGH
7.5 Nov 25

Heap corruption and driver crashes in psqlODBC (all versions up to and including 18.00.0006) stem from the driver not ve

CVE-2026-136506 HIGH
7.5 Nov 25

SQL injection in psqlODBC through crafted database, schema, table, column, operator, cursor, or parameter identifiers ca

CVE-2026-136512 HIGH
7.5 Nov 25

A client-side memory-corruption flaw in the PostgreSQL ODBC driver (psqlODBC) through 18.00.0006 causes the driver to wr

CVE-2026-136503 HIGH
7.5 Nov 25

Memory-safety defects across several code paths in psqlODBC, the PostgreSQL ODBC driver, allow a hostile or compromised

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-120062 HIGH
7.5 Nov 02

SQL injection in psqlODBC before 18.00.0006 allows an attacker who can influence a table or schema name passed by a host

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

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