CVE-2026-142206: Vulnerability in Kayak PyPika
Patch soon. 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.
CWE-89
- Exploitation
- None confirmed
- Severity
- 8.7 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-j8qq-4g86-g64h
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- Weakness
- CWE-89
- Published
- 2 Dec 2026
- Last change
- 4 Dec 2026
Affected products
Affected versions and the first fixed release
- Kayak PyPika Through 0.51.1; Version 0 ≤0.51.1. No fixed version recorded
Advisories
Vendor and security advisories
- github.com/kayak/pypika/blob/v0.51.1/pypika/clickhouse/search_string.py
- github.com/kayak/pypika/blob/v0.51.1/pypika/clickhouse/search_string.py
- github.com/kayak/pypika/blob/v0.51.1/pypika/clickhouse/type_conversion.py
- vulncheck.com/advisories/pypika-through-0.51.1-sql-injection-via-clickhouse-search-and-...
Related
- PyPika vulnerabilities Recent advisories, watch this product