psqlODBCにSQL注入の脆弱性、テーブル名・スキーマ名経由で任意のSQLを実行される恐れ
Summary
psqlODBCのSQLSpecialColumns関数で、テーブル名とスキーマ名がエスケープされずにカタログ問い合わせへ組み込まれ、SQL注入の脆弱性が見つかりました。信頼できない名前を渡すアプリケーションでは、接続の権限で任意のSQLを実行されるおそれがあります。18.00.0006より前の版が対象で、修正版の18.00.0006で対応できます。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
psqlODBCのSQLSpecialColumns関数で、テーブル名とスキーマ名がエスケープされずにカタログ問い合わせへ組み込まれ、SQL注入の脆弱性が見つかりました。信頼できない名前を渡すアプリケーションでは、接続の権限で任意のSQLを実行されるおそれがあります。18.00.0006より前の版が対象で、修正版の18.00.0006で対応できます。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| PostgreSQLpsqlODBC |
< 18.00.0006→ 18.00.0006 |
18.00.0006 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-120062 psqlodbc Fix available
- Ubuntu UBUNTU-CVE-2026-120062 psqlodbc No fixed version in this record
Original description The description as published by the source.
SQLSpecialColumns in psqlODBC splices the table and schema names it receives into its catalog query without escaping them, while the other catalog functions escape them. An application that passes an untrusted table or schema name to SQLSpecialColumns lets the caller execute arbitrary SQL with the privileges of the connection. Versions before psqlODBC 18.00.0006 are affected.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- REDHAT Red Hat
- web github.com