Skip to content
High 8.7

PyPikaにSQLインジェクションの脆弱性、ClickHouse検索でデータを読まれるおそれ

CVE-2026-142206 First seen on SecPulse

Summary

PyPikaの0.51.1以前には、ClickHouseの検索関数とToFixedString関数で入力値がエスケープされず、SQLを注入される脆弱性があります。攻撃者はテナントの絞り込みを回避したり、ほかのテーブルのデータを読み取ったりできるおそれがあります。CVSS v3は7.5、v4は8.7で、修正版は事実に含まれていないため、最新の情報を確認してください。

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.

PyPikaの0.51.1以前には、ClickHouseの検索関数とToFixedString関数で入力値がエスケープされず、SQLを注入される脆弱性があります。攻撃者はテナントの絞り込みを回避したり、ほかのテーブルのデータを読み取ったりできるおそれがあります。CVSS v3は7.5、v4は8.7で、修正版は事実に含まれていないため、最新の情報を確認してください。

Affected packages

PackageAffected → Fixed
KayakPyPika
≤ 0.51.1→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

PyPika through 0.51.1 contains an sql injection vulnerability that allows attackers to inject SQL through unescaped pattern arguments in ClickHouse search functions and ToFixedString. Attackers controlling Match, Like, NotLike, MultiSearchAny, MultiMatchAny patterns or ToFixedString values can close string literals to bypass tenant filters or read other tables.

Source: CVE.org (CVE Program・cvelistV5) NVD

References

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