CVE Explorer
CVE-2026-33468
Kysely is a type-safe TypeScript SQL query builder. Prior to version 0.28.14, Kysely's `DefaultQueryCompiler.sanitizeStringLiteral()` only escapes single quotes by doubling them (`'` → `''`) but does not escape backslashes. When used with the MySQL dialect (where `NO_BACKSLASH_ESCAPES` is OFF by default), an attacker can use a backslash to escape the trailing quote of a string literal, breaking out of the string context and injecting arbitrary SQL. This affects any code path that uses `Immediate
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"kysely","vendor":"kysely-org","versions":[{"status":"affected","version":"< 0.28.14"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a25e3fdafaf948e7cc6755d7d28e965a6f5f9b6577609e10d55359c61e7690ce · sha256:842a66cf897aba8b… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a25e3fdafaf948e7cc6755d7d28e965a6f5f9b6577609e10d55359c61e7690ce · sha256:842a66cf897aba8b… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-89","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a25e3fdafaf948e7cc6755d7d28e965a6f5f9b6577609e10d55359c61e7690ce · sha256:842a66cf897aba8b… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"name":"https://github.com/kysely-org/kysely/security/advisories/GHSA-8cpq-38p9-67gx","tags":["x_refsource_CONFIRM"],"url":"https://github.com/kysely-org/kysely/security/advisories/GHSA-8cpq-38p9-67gx"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a25e3fdafaf948e7cc6755d7d28e965a6f5f9b6577609e10d55359c61e7690ce · sha256:842a66cf897aba8b… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.