Vulnerability record
CVE-2026-142206
The short answer
CVE-2026-142206 affects Kayak PyPika and is rated high (CVSS 7.5). It is not in CISA's Known Exploited Vulnerabilities catalog.
What it is
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.
Weakness: CWE-89.
Severity
7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Exploited (CISA KEV)
Not listed
CISA lists confirmed exploitation only
EPSS, next 30 days
No score
FIRST scores CVEs within a day of publication
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- None
Affected products
PyPika. NVD's record lists the exact affected versions.
References
- github.com/kayak/pypika/blob/v0.51.1/pypika/clickhouse/search_string.py#L20-L33
- github.com/kayak/pypika/blob/v0.51.1/pypika/clickhouse/search_string.py#L64-L78
- github.com/kayak/pypika/blob/v0.51.1/pypika/clickhouse/type_conversion.py#L24-L30
- www.vulncheck.com/advisories/pypika-through-0.51.1-sql-injection-via-clickhouse-search-and-tofixedstring-functions
Questions
Is CVE-2026-142206 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog as of 2026-12-02.
How do I fix CVE-2026-142206?
Follow the vendor advisory in the references below. NVD lists the affected versions under its configurations.
From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Received. The description is NVD's text, quoted as published.
Related
Newly exploited vulnerabilities, every Monday
What CISA added to its KEV catalog that week, and the Critical CVEs most likely to be exploited. One email a week, one click to stop.
Know the day a CVE lands in your code
Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.