CVE-2026-33468 | kysely-org kysely up to 0.28.13 CreateViewBuilder.as sanitizeStringLiteral sql injection (GHSA-8cpq-38p9-67gx)
VulDBArchived Mar 26, 2026✓ Full text saved
A vulnerability was found in kysely-org kysely up to 0.28.13 and classified as critical . This vulnerability affects the function sanitizeStringLiteral of the file CreateViewBuilder.as . Executing a manipulation can lead to sql injection. This vulnerability is handled as CVE-2026-33468 . The attack can be executed remotely. There is not any exploit available. It is suggested to upgrade the affected component.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-353687 · CVE-2026-33468 · GHSA-8CPQ-38P9-67GX
KYSELY-ORG KYSELY UP TO 0.28.13 CREATEVIEWBUILDER.AS SANITIZESTRINGLITERAL SQL INJECTION
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
6.7 $0-$5k 1.63+
Summaryinfo
A vulnerability was found in kysely-org kysely up to 0.28.13. It has been classified as critical. This issue affects the function sanitizeStringLiteral of the file CreateViewBuilder.as. The manipulation leads to sql injection. This vulnerability is uniquely identified as CVE-2026-33468. The attack is possible to be carried out remotely. No exploit exists. Upgrading the affected component is recommended.
Detailsinfo
A vulnerability was found in kysely-org kysely up to 0.28.13 and classified as critical. This issue affects the function sanitizeStringLiteral of the file CreateViewBuilder.as. The manipulation with an unknown input leads to a sql injection vulnerability. Using CWE to declare the problem leads to CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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.
It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2026-33468 since 03/20/2026. The exploitation is known to be difficult. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1505 according to MITRE ATT&CK.
Upgrading to version 0.28.14 eliminates this vulnerability.
Productinfo
Vendor
kysely-org
Name
kysely
Version
0.28.0
0.28.1
0.28.2
0.28.3
0.28.4
0.28.5
0.28.6
0.28.7
0.28.8
0.28.9
0.28.10
0.28.11
0.28.12
0.28.13
Website
Product: https://github.com/kysely-org/kysely/
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 6.8
VulDB Meta Temp Score: 6.7
VulDB Base Score: 5.6
VulDB Temp Score: 5.4
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 8.1
CNA Vector (GitHub_M): 🔒
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Sql injection
CWE: CWE-89 / CWE-74 / CWE-707
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: kysely 0.28.14
Timelineinfo
03/20/2026 CVE reserved
03/26/2026 +6 days Advisory disclosed
03/26/2026 +0 days VulDB entry created
03/26/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: GHSA-8cpq-38p9-67gx
Status: Confirmed
CVE: CVE-2026-33468 (🔒)
GCVE (CVE): GCVE-0-2026-33468
GCVE (VulDB): GCVE-100-353687
Entryinfo
Created: 03/26/2026 19:03
Changes: 03/26/2026 19:03 (66)
Complete: 🔍
Cache ID: 99:506:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸