Install
kysely
Type safe SQL query builder
0.29.9Latest, 12 Nov 2026
134MDownloads, last month
0Advisories on the latest
4Advisories, all versions
MITLicence
14KStars
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| High | Kysely: JSON-path traversal injection via unsanitized path-leg metacharacters in `JSONPathBuilder.key()` / `.at()` CVE-2026-44635 | Fixed in 0.28.17 | 11 May 2026 |
| High | Kysely has a MySQL SQL Injection via Insufficient Backslash Escaping in `sql.lit(string)` usage or similar methods that append string literal values into the co CVE-2026-33468 | Fixed in 0.28.14 | 20 Mar 2026 |
| High | Kysely has a MySQL SQL Injection via Backslash Escape Bypass in non-type-safe usage of JSON path keys. CVE-2026-33442 | Fixed in 0.28.14 | 20 Mar 2026 |
| High | SQL Injection via unsanitized JSON path keys when ignoring/silencing compilation errors or using `Kysely<any>`. CVE-2026-32763 | Fixed in 0.28.12 | 18 Mar 2026 |
In the news
- Kysely Tutorial: Type-Safe SQL Queries Without an ORM dev.to, 26 Nov 2026
- Building a Type-Safe Database Workflow With Kysely hackernoon.com, 23 Sep 2026
- Setting Up Better-Auth in Next.js with Kysely + Prisma Schema dev.to, 14 Nov 2025
- Using Prisma for Schema and Kysely for Queries in a Next.js App dev.to, 4 Nov 2025
On Hacker News
- Kysely: TypeScript SQL Query Builder 236 points, 70 comments, 24 Jan 2023
- Show HN: Kysely, a type-safe SQL query builder for TypeScript 90 points, 63 comments, 21 Jun 2023
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.