CVE-2026-142206 PyPika - SQL Injection

PyPika <= 0.51.1 contains an sql injection caused by unescaped pattern arguments in ClickHouse search functions and ToFixedString, letting attackers inject SQL to bypass tenant filters or read other tables, exploit requires control over specific pattern inputs.

CVSS base score 7.5 /10
High
CISA KEV
Not listed
Public exploit
None known
Authentication
Not required
View the NVD record ↗

Details

Type
SQL Injection
Impact
SQL Injection, Information Disclosure, Data Tampering
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
2 December 2026
Updated
3 December 2026
Weakness
CWE-89

Vendor fix

Update to the latest version beyond 0.51.1.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

References

← All CVEs