SQL Injection Vulnerability in Kysely's Type-Safe TypeScript Query Builder
CVE-2026-32763

8.2HIGH

Key Information:

Vendor

Kysely-org

Status
Vendor
CVE Published:
19 March 2026

What is CVE-2026-32763?

Kysely, a type-safe TypeScript SQL query builder, has a vulnerability affecting versions up to 0.28.11, which can lead to SQL injection. This vulnerability arises from the visitJSONPathLeg() function, where user-supplied values added to JSON path strings are not properly escaped. Specifically, single quotes are directly appended to JSON path string literals, allowing an attacker to manipulate the SQL context and execute arbitrary SQL commands. While identifiers are protected through proper sanitization, the vulnerability enables exploitation due to the inadequate handling of JSON paths. The issue has been resolved in version 0.28.12.

Affected Version(s)

kysely >= 0.26.0, < 0.28.12

References

CVSS V3.1

Score:
8.2
Severity:
HIGH
Confidentiality:
High
Integrity:
Low
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.