---
title: "CVE-2026-138404"
canonical_url: "https://pkgseek.com/security/CVE-2026-138404"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-138404

With Debug or CommLog on, psqlODBC writes its log files to a shared directory under predictable names. By default that is /tmp on Unix-like systems and C:\\ on Windows, and each file name holds the process ID. The logs hold SQL text, data and connection details.  On Unix-like systems, the fix for CVE-2026-120066 in 18.00.0006 made the driver refuse a symbolic link at the log path. It used an existing file only if it was a regular file owned by the user running the application. It did not check whether the file had other hard links. So another local user could create a hard link at the log path …

CVE-2026-138404 严重级别为 MEDIUM (6.3)，共索引 1 条受影响软件包构建记录，涉及 1 个发行版。

- **级别 / 评分**: MEDIUM (6.3)
- **受影响构建数**: 1
- **涉及发行版**: 1
- **已标明修复版本发行版**: 暂无已标明修复记录

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | odbc-postgresql | 1:17.00.0004-2 | — |
