WR 株式会社WR 松戸のホームページ制作・社内システム・IT相談

株式会社WR

千葉県松戸市
松戸・柏・市川・流山・船橋 対応

ホーム›脆弱性情報›PostgreSQL›CVE-2026-107314

警告 CVSS 5.9 PostgreSQL CVE-2026-107314 公表 2026年10月7日

PostgreSQLのpgjdbcに認証回避の脆弱性

PostgreSQL — CVE-2026-107314

自分のサイトが該当するか無料診断 → 原文を見る(NVD(米国 脆弱性データベース))↗

どんな問題か

PostgreSQLのJDBCドライバpgjdbcで、認証方法の指定が不適切だと、想定していない認証方式を受け入れてしまいます。通信の途中にいる攻撃者に、パスワードを見られるおそれがあります。

放置するとどうなるか

悪用されると、データベースのパスワードが盗まれ、情報流出や不正アクセスにつながるおそれがあります。DBの中身を勝手に見られる危険があります。

今すぐやること

pgjdbcを42.7.14以上に更新してください。requireAuthを設定している場合は、設定内容を見直し、制作会社や保守会社に安全な値か確認しましょう。

自分のサイトが該当するかの確認手順

  1. お使いのサーバー・プログラムに PostgreSQL が使われているか、制作会社・保守会社・サーバー会社に確認します(管理画面やサーバーのバージョン表示でも分かります)。
  2. バージョンが「42.7.11 through 42.7.13」に当てはまるか確認します。
  3. 当てはまる場合は、修正版へのアップデートを依頼します。レンタルサーバーの場合はサーバー会社側で対応済みのこともあるので、お知らせを確認してください。
原文(英語)を表示
pgjdbc, the PostgreSQL JDBC Driver, versions 42.7.11 through 42.7.13 enforce no restriction when the requireAuth connection property excludes all six authentication methods the driver knows, for example requireAuth=!password,!md5,!gss,!sspi,!scram-sha-256,!none. The driver then accepts any method the server asks for, including cleartext password authentication. A value without a method in it, such as requireAuth=, (a single comma), is affected the same way. An attacker positioned between the application and its server can ask for cleartext password authentication and receive the database password. A positive list such as requireAuth=scram-sha-256, and a partial exclusion such as requireAuth=!password,!md5, are enforced correctly. The property has no default value, so a deployment that does not set it is not affected. 42.7.14 fixes the problem: such a connection is refused with SQLState 08004, and a value without a method in it is rejected as invalid.

※ 解説は NVD(米国 脆弱性データベース) の公表内容をもとにAIが生成しています。対象バージョン・修正版などの正確な情報は、必ず原文をご確認ください。

無料で相談する →