CVE-2026-142206

Source
https://cve.org/CVERecord?id=CVE-2026-142206
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142206.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142206
Published
2026-12-02T16:50:42Z
Modified
2026-12-02T18:00:22Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
PyPika through 0.51.1 SQL Injection via ClickHouse Search and ToFixedString Functions
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-89"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142206.json"
}
References

Affected packages

Git / github.com/kayak/pypika

Affected ranges

Type
GIT
Repo
https://github.com/kayak/pypika
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "0.51.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

0.*
0.9.3
v0.*
v0.35.10
v0.35.11
v0.35.12
v0.35.13
v0.35.14
v0.35.15
v0.35.16
v0.35.17
v0.35.18
v0.35.19
v0.35.2
v0.35.20
v0.35.21
v0.35.3
v0.35.5
v0.35.6
v0.35.7
v0.35.8
v0.35.9
v0.36.0
v0.36.1
v0.36.2
v0.36.4
v0.37.0
v0.37.1
v0.37.11
v0.37.12
v0.37.13
v0.37.14
v0.37.15
v0.37.16
v0.37.2
v0.37.3
v0.37.4
v0.37.5
v0.37.6
v0.37.7
v0.37.8
v0.37.9
v0.38.0
v0.39.1
v0.40.0
v0.41.0
v0.42.0
v0.43.0
v0.43.1
v0.44.0
v0.44.1
v0.47.0
v0.47.1
v0.47.2
v0.47.3
v0.47.4
v0.47.5
v0.47.6
v0.48.0
v0.48.1
v0.48.2
v0.48.3
v0.48.4
v0.48.5
v0.48.6
v0.48.7
v0.48.8
v0.48.9
v0.50.0
v0.51.0
v0.51.1
v0.8.0
v0.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142206.json"