Skip to content
High 7.5

psqlODBCにSQL注入の脆弱性、テーブル名・スキーマ名経由で任意のSQLを実行される恐れ

CVE-2026-120062 First seen on SecPulse

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

PackageAffected → Fixed
PostgreSQLpsqlODBC
< 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.

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

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details