Skip to main content
VulnerabilityPublished

CVE-2026-138404: With Debug or CommLog on, psqlODBC writes its log files to a shared directory under predictable names

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-138404· Medium 6.3

Not known to be exploited · CVSS 6.3 Medium.

Data as of 29 Nov 2026, 22:32 UTC

CVSS 3.1 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (PostgreSQL)CVSS 3.16.3
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
psqlODBCpsqlodbcAffected
  • <=18.00.0007
Fixed in–

AI-suggested

Debug and CommLog logging are off by default and should only be enabled by administrators when necessary. Users should upgrade to versions later than 18.00.0007 once available, as these versions are affected. Until a patch is released, administrators should avoid enabling Debug or CommLog logging in multi-user environments or restrict access to the log directories to trusted users only. Monitor vendor advisories for official fixes.

Description

psqlODBC versions up to and including 18.00.0007 have a vulnerability where enabling Debug or CommLog causes log files to be written to shared directories with predictable names. On Unix-like systems, this can allow local users to create hard links to victim-owned files, causing logs to be appended to unintended files. On Windows, log files created by elevated processes in C:\ or its subdirectories inherit directory permissions that allow other local users to read or modify them. Debug and CommLog are off by default and require administrator activation.

References

Community reviews

Loading reviews…