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

# CVE-2026-138405

Before psqlODBC writes a connection string to its debug log, it masks the password. It masked only a keyword written exactly as PWD or Password. A password given under " PWD", "PWD ", "Passwd" or "sslpassword" went into the log unmasked. The log line for each keyword also showed the value of any keyword the driver does not recognise, so a password under a misspelled keyword was logged as well.  A masked secret was replaced one character at a time, so the log showed the length of the password, and of each secret in pqopt.  CVE-2026-136504 covers two other ways the password reached the log: the …

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

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

## Affected Packages

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