CVE-2026-32763
Kysely is a type-safe TypeScript SQL query builder.
Published Mar 20, 2026 · updated Jun 17, 2026 · kysely kysely
Kysely is a type-safe TypeScript SQL query builder. Versions up to and including 0.28.11 has a SQL injection vulnerability in JSON path compilation for MySQL and SQLite dialects. The function appends user-controlled values from and directly into single-quoted JSON path string literals ( ) without escaping single quotes. An attacker can break out of the JSON path string context and inject arbitrary SQL. This is inconsistent with , which properly doubles delimiter characters for identifiers — both are non-parameterizable SQL constructs requiring manual escaping, but only identifiers are protected. Version 0.28.12 fixes the issue.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Mar 20, 2026 · NIST NVD
Detected
Kysely is a type-safe TypeScript SQL query builder. Versions up to and including 0.28.11 has a SQL injection vulnerability in JSON path compilation for MySQL and SQLite dialects. The function appends user-controlled values from and directly into single-quoted JSON path string literals ( ) without escaping single quotes. An attacker can break out of the JSON path string context and inject arbitrary
Jun 17, 2026 · NIST NVD
Updated
Kysely is a type-safe TypeScript SQL query builder. Versions up to and including 0.28.11 has a SQL injection vulnerability in JSON path compilation for MySQL and SQLite dialects. The function appends user-controlled values from and directly into single-quoted JSON path string literals ( ) without escaping single quotes. An attacker can break out of the JSON path string context and inject arbitrary
Affected
- cpe kysely/kyselyversion unspecified
Sources
- CVE.orgVulnerability recordCVE-2026-32763
Official CVE identifier
cve.org - NIST NVDVulnerability recordCVE-2026-32763
Kysely is a type-safe TypeScript SQL query builder. Versions up to and including 0.28.11 has a SQL injection vulnerability in JSON path compilation for MySQL and SQLite dialects. The function appends user-controlled values from and directly i
nvd.nist.gov