CVE-2026-33442
HIGH EPSS 35.3%
Published Mar 26, 20263mo ago · Modified Jun 17, 20262w ago
8.1 CVSS 3.1
Published Mar 26, 2026 3mo ago
Last Modified Jun 17, 2026 2w ago
Description
Kysely is a type-safe TypeScript SQL query builder. In versions 0.28.12 and 0.28.13, the `sanitizeStringLiteral` method in Kysely's query compiler escapes single quotes (`'` → `''`) but does not escape backslashes. On MySQL with the default `BACKSLASH_ESCAPES` SQL mode, an attacker can inject a backslash before a single quote to neutralize the escaping, breaking out of the JSON path string literal and injecting arbitrary SQL. Version 0.28.14 fixes the issue.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
EPSS Exploit Probability
35.3% percentile
Exploit & Patch Status
Public Exploit Known
No Patch Available
Weaknesses 1
CWE-89 SQL Injection Injection
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| kysely | kysely | * | ≥0.28.12 – <0.28.14 |
References 1
- github.com https://github.com/kysely-org/kysely/security/advisories/GHSA-fr9j-6mvq-frcv
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.