CVE-2026-136513
published low CVSS 3.1 · 3.6Another local user can redirect log files (incomplete fix for CVE-2026-120066)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| PostgreSQL | — | psqlodbcpsqlODBC · 0 through 18.00.0006 · Other versions: unaffected | Affected | Not stated | PostgreSQL |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | psqlODBCaarch64 | Advisory build | 18.00.0007-1.1 | OPENSUSE-SU-2026:12716-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | psqlODBCppc64le | Advisory build | 18.00.0007-1.1 | OPENSUSE-SU-2026:12716-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | psqlODBCs390x | Advisory build | 18.00.0007-1.1 | OPENSUSE-SU-2026:12716-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | psqlODBCx86_64 | Advisory build | 18.00.0007-1.1 | OPENSUSE-SU-2026:12716-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.6 / 10
- Severity
- low
- Provider
- PostgreSQL · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| PostgreSQL | psqlODBC | 0 through 18.00.0006 (affected · custom)Default: unaffected | PostgreSQL · cna |
Weaknesses
2- CWE-59 CWE-59 Improper Link Resolution Before File Access ('Link Following')
- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
2- GHSA-g5jq-mpgp-mq7q https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-g5jq-mpgp-mq7q
- psqlODBC changelog https://odbc.postgresql.org/changelog/
Provider assertions
1PostgreSQL · cna
Another local user can redirect log files (incomplete fix for CVE-2026-120066)
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- abbd2677916657447003fdb904f2e4737dd4af79b0ef3fb29f1b0f31bb7690dd
- Ingested
- 25 Nov 2026, 22:31:10 UTC
- Source record
- Official CVE record