CVE-2026-33442: Kysely is a type-safe TypeScript SQL query builder
CVE-2026-33442 is a high-severity flaw (CVSS 8.1) affecting kysely. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 fixe
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.1 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 61%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2026-03-26 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-33442?
kysely: upgrade to 0.28.14. Exact commands for each OS are on this page.
Is CVE-2026-33442 being exploited?
CVE-2026-33442 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-33442 affect?
CVE-2026-33442 affects kysely. Severity is high (CVSS 8.1). 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
How urgent is CVE-2026-33442?
Priority 48/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-33468 HIGH 8.1 UPGRADE Kysely is a type-safe TypeScript SQL query builder
- CVE-2026-32763 HIGH 8.2 UPGRADE Kysely is a type-safe TypeScript SQL query builder