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

Status: published. Published: 2026-11-25. Updated: 2026-11-25.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- PostgreSQL / psqlODBC (psqlodbc): ≥ 0; ≤ 18.00.0006 (affected, custom). Source: CNA: PostgreSQL

## Severity and prioritization

- CVSS 3.1: 3.6 (low); CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N; source: CNA: PostgreSQL

- CVSS 3.1: 3.6 (low); CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N; source: NVD: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-59, CWE-22

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-g5jq-mpgp-mq7q (CNA: PostgreSQL; vendor-advisory)

- https://odbc.postgresql.org/changelog/ (CNA: PostgreSQL; release-notes)

- https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-g5jq-mpgp-mq7q (f86ef6dc-4d3a-42ad-8f28-e6d5547a5007)

- https://odbc.postgresql.org/changelog/ (f86ef6dc-4d3a-42ad-8f28-e6d5547a5007)

## Provenance

- CNA: PostgreSQL: https://www.cve.org/CVERecord?id=CVE-2026-136513; retrieved 2026-11-25; source updated 2026-11-25

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-136513; retrieved 2026-11-26; source updated 2026-11-25

Revision: 9896ef1f1926bf49f38688ee85dd4dc80bc1f883d72ab142e33721bd26c34f70

Canonical: https://y2.dev/cve/CVE-2026-136513

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.