Approved changes feed: RSS · Atom
cpe:2.3:a:kysely:kysely:*:*:*:*:*:node.js:*:*part: a version: * update: *
| Vendor | Kysely (0d87322c-64a0-5fcb-9478-4fa4851ef122) |
|---|---|
| Product | Kysely (b61f8663-92d9-56dd-8f3c-0a29d306ebe1) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | node.js |
| Target hardware | * |
| Other | * |
Notes
Imported from purl2cpe mapping
PURL mappings
| PURL | Source | Last updated |
|---|---|---|
pkg:github/kysely-org/kysely |
purl2cpe | 2026-06-01 10:13:00.763888 |
pkg:npm/kysely |
purl2cpe | 2026-06-01 10:13:00.763889 |
Vulnerability references
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2026-33468 |
vulnerable | 2026-06-08 07:59:10.138072 |
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 compiled SQL strings
HIGH (8.1)
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 `ImmediateValueTransformer` to inline values — specifically `CreateIndexBuilder.where()` and `CreateViewBuilder.as()`. Version 0.28.14 contains a fix.
Published: 2026-03-26T17:03:05.972Z
Updated: 2026-03-26T19:52:10.689Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-33442 |
vulnerable | 2026-06-08 07:59:09.981913 |
Kysely has a MySQL SQL Injection via Backslash Escape Bypass in non-type-safe usage of JSON path keys.
HIGH (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 `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.
Published: 2026-03-26T17:01:57.866Z
Updated: 2026-03-26T18:47:53.070Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-32763 |
vulnerable | 2026-06-08 07:57:18.126816 |
SQL Injection via unsanitized JSON path keys when ignoring/silencing compilation errors or using `Kysely<any>`.
HIGH (8.2)
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 `visitJSONPathLeg()` function appends user-controlled values from `.key()` and `.at()` directly into single-quoted JSON path string literals (`'$.key'`) without escaping single quotes. An attacker can break out of the JSON path string context and inject arbitrary SQL. This is inconsistent with `sanitizeIdentifier()`, 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.
Published: 2026-03-19T23:14:58.747Z
Updated: 2026-03-21T03:05:22.505Z |
Imported from gcve-enriched-dumps CVE data |
Contribute
You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.
Inspect record JSON
Open this panel to browse, search, copy or download the JSON record.