Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Skip to content
Check your stack
CVE-2026-136513

Another local user can redirect log files (incomplete fix for CVE-2026-120066)

Products / packages PostgreSQL psqlODBC

Published

Share

Severity and exploitation

Not in CISA KEV

KEV coverage does not rule out exploitation.

KEV checked 28/11/2026, 20:45:32 UTC
PostgreSQL · CVSS:3.1 · 3.6
Assessment vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Severity

low3.6

CVSS measures technical severity, not the likelihood of an attack.

Known exploitation

Not listed in the checked CISA KEV catalog

Absence from CISA KEV does not rule out attacks.

Public exploit

Not established by this record

Missing evidence does not mean no public exploit exists.

Remediation

Fix status not established

No structured fix or guidance is available here. Check the latest publisher advisory.

What this means

A local user can redirect log files in psqlODBC versions up to 18.00.0006 by controlling a directory on the log path, potentially creating files in any writable directory. The issue occurs when Debug or CommLog is enabled and the log directory is unusable. Another local user can exploit this weakness.

Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.

Attack conditions

No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.

Review supporting sources →

Affected versions

Check the exact model, release, and any platform requirements against your installation.

PostgreSQL · PostgreSQL

psqlODBC

1 range

Compare with this publisher’s ranges. This does not inspect your installation.

affected

0 → through 18.00.0006

custom versions

unaffected

unknown

Other versions: unaffected

Automatic dependency matching is unavailable for this record. Use the product evidence and publisher’s instructions to check your installation.

What to do

Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.

No structured fix or remediation guidance is available here. Check the full source description and vendor’s latest advisory for a patch or workaround; do not assume another version is safe.

cve.new guidance unless attributed to a publisher. This page does not inspect your installation.

Public exploit evidence

No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.

Original source description

Read the full publisher description

When Debug or CommLog is enabled and the log directory cannot be used, psqlODBC falls back to a directory under the user's home directory. It wrote that path with an unexpanded ~, which is resolved relative to the process's current directory. Another local user who controls a directory on that path can make the driver create the victim's mylog_.log and psqlodbc_.log files in any directory the victim can write to, or leave the victim's process blocked in open().

This completes the fix for CVE-2026-120066 in 18.00.0006.

Versions up to and including psqlODBC 18.00.0006 are affected.

References

2 sources

Inside the record

Evidence available

Package identity · not supplied
Version evidence
Remediation guidance · not supplied
Weakness classification
Additional publishers · not supplied

Describes the evidence in this view, not whether the product is safe.

Original records

CVE-2026-136513

View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.

cve.new JSON →

Underlying weaknesses

The source’s classification of what caused the vulnerability.

CWE-59 ↗

CWE-59 Improper Link Resolution Before File Access ('Link Following')

PostgreSQL

Related →
CWE-22 ↗

CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

PostgreSQL

Related →
Contributing organizations · 1
PostgreSQL

Assigning organization

2026-11-25

Timeline

All times UTC
  1. Advisory published

    Publication date supplied by the source.

  2. Last imported by cve.new

    Latest catalog import, not the date we first saw this advisory.

What changed

Follow changes
No substantive changes have been recorded here yet. History starts when cve.new observes a change after tracking is enabled; earlier edits are not reconstructed.

Large field values are marked as truncated previews. Original source snapshots remain retained.

Recent advisories affecting the same package or the same recorded vendor and product. These are separate vulnerabilities, not additional evidence for this advisory.

medium6.5
CVE-2026-136514

Another database user can crash applications by changing a table they own

psqlODBC assumed that a table it reads keeps the definition it had when the statement was described or parsed. A database user who owns a table or view another user's application reads can crash that application, with an honest server and default options, in these cases:

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

PostgreSQL · psqlODBC
high7.5
CVE-2026-136512

Buffer overflows when a converted value does not fit the application's buffer

With SQL_C_DEFAULT, the C type of a bound column or parameter follows its SQL type. An application sizes its buffer from the type it was told when it described the statement. When the column had another type at fetch time, because the server reported another type, the table was altered, or an output parameter's result column had another type, psqlODBC wrote the larger type into the smaller buffer: 12 bytes past a 4-byte buffer for a uuid, and more in multi-row fetches, where the driver also steps through the array by the larger size.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

PostgreSQL · psqlODBC
medium6.8
CVE-2026-136511

An SSLmode value written with capitals or braces connects without TLS

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.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

PostgreSQL · psqlODBC
medium4.8
CVE-2026-136510

Statement after an abandoned parameter array sends the abandoned batch's rows instead of its own

A parameter-array execution that fails part-way leaves the rows it has already queued on the statement handle, and the next execution on that handle sends them. After a data-at-execution batch is abandoned, by SQLCancel or a rejected SQLPutData, the next SQLExecDirect sends the failed batch's rows and returns SQL_SUCCESS without sending its own statement.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

PostgreSQL · psqlODBC
high7.5
CVE-2026-136509

Driver does not check that server replies match the queries it sent

psqlODBC did not check that a server reply matches the query it sent: that a FETCH returns no more rows than it asked for, that each row has the described number of columns, that one query produces one result, and that a COPY, a transaction or the connection ends where the protocol says. By sending replies that do not match, a hostile or compromised server, or anyone on the network path of a connection that does not use sslmode=verify-full (the default is disable) can corrupt memory in the application:

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

PostgreSQL · psqlODBC