CVE-2026-142206
waiting for further signalsZero needs more public information before it can validate it.description
PyPika through 0.51.1 can generate unsafe ClickHouse SQL when values supplied to certain search-pattern functions or ToFixedString are not trusted. An attacker who controls those values may alter the resulting query, potentially bypassing tenant restrictions or accessing data from other tables.
mitigation
Do not pass untrusted input to the affected ClickHouse pattern functions or ToFixedString; use strict allowlists or application-side validation for those values. Restrict the database account used by the application to only the tables and operations it requires until a fixed PyPika release is available.
outcome
Contextual, not validated: no deterministic check could cover this one, and no technique passed our review.
source signals
Public signals that triggered or updated the pipeline. These are inputs for the deltas above.
- 2026-12-02 16:50Zcve_org: trigger signal, started the run
this entry in the feed
GET /api/v1/feed/CVE-2026-142206
{ "etk_id": "ETK-2026-6253", "cve_id": "CVE-2026-142206", "display_id": "CVE-2026-142206", "ghsa_id": null, "euvd_id": "EUVD-2026-141624", "status": "published", "anchor_state": "anchored", "title": "SQL injection in PyPika ClickHouse query generation", "summary": "PyPika through 0.51.1 can generate unsafe ClickHouse SQL when values supplied to certain search-pattern functions or ToFixedString are not trusted. An attacker who controls those values may alter the resulting query, potentially bypassing tenant restrictions or accessing data from other tables.", "mitigation": "Do not pass untrusted input to the affected ClickHouse pattern functions or ToFixedString; use strict allowlists or application-side validation for those values. Restrict the database account used by the application to only the tables and operations it requires until a fixed PyPika release is available.", "vendor": "Kayak", "product": "PyPika", "affected": [ { "affected_notes": [], "affected_ranges": [ ">= 0, <= 0.51.1" ], "ecosystem": "pypi", "fixed_versions": [], "package_name": "PyPika", "purl": "pkg:pypi/PyPika" } ], "cwes": [ 89 ], "cvss_score": 8.7, "cvss_src": "cna_vendor", "cvss_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", "epss_score": 0.0064, "epss_percentile": 0.52, "epss_asof": "2026-12-03", "automation": "contextual", "check": false, "check_confidence_basis": null, "exploit": false, "pipeline_minutes": 13.717187116666667, "t0_at": "2026-12-02T16:50:42.376000+00:00", "signals": { "trigger_signal": { "at": "2026-12-02T16:50:42.376000+00:00", "days": 0, "is_lower_bound": false, "measured_at": "2026-12-02T16:50:42.376000+00:00", "url": "https://www.cve.org/CVERecord?id=CVE-2026-142206" } } }
published 2026-12-02 18:10Z
last change 2026-12-03 15:04Z
Need the technical details behind an entry?
Every entry here shows what we attempted and when. The technical details, the generated exploit that fired it and the evidence behind the verdict are not public. Tell us about your use case and we’ll get back to you about extended API access.