CVE Explorer
CVE-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 `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()`
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.26.0, < 0.28.12"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:293dee4511f08530c30d8368c085f320742bf7cd0198039fa0312c159b7f54d3 · sha256:2267a9bd77243124… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:293dee4511f08530c30d8368c085f320742bf7cd0198039fa0312c159b7f54d3 · sha256:2267a9bd77243124… · /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:293dee4511f08530c30d8368c085f320742bf7cd0198039fa0312c159b7f54d3 · sha256:2267a9bd77243124… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/kysely-org/kysely/commit/0a602bff2f442f6c26d5e047ca8f8715179f6d24","tags":["x_refsource_MISC"],"url":"https://github.com/kysely-org/kysely/commit/0a602bff2f442f6c26d5e047ca8f8715179f6d24"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:293dee4511f08530c30d8368c085f320742bf7cd0198039fa0312c159b7f54d3 · sha256:2267a9bd77243124… · /containers/cna/references/1
{"name":"https://github.com/kysely-org/kysely/releases/tag/v0.28.12","tags":["x_refsource_MISC"],"url":"https://github.com/kysely-org/kysely/releases/tag/v0.28.12"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:293dee4511f08530c30d8368c085f320742bf7cd0198039fa0312c159b7f54d3 · sha256:2267a9bd77243124… · /containers/cna/references/2
{"name":"https://github.com/kysely-org/kysely/security/advisories/GHSA-wmrf-hv6w-mr66","tags":["x_refsource_CONFIRM"],"url":"https://github.com/kysely-org/kysely/security/advisories/GHSA-wmrf-hv6w-mr66"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:293dee4511f08530c30d8368c085f320742bf7cd0198039fa0312c159b7f54d3 · sha256:2267a9bd77243124… · /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.