SCA: security update for kysely (GHSA-8cpq-38p9-67gx)

high Tenable Cloud Security Plugin ID 439090

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-33468)

Solution

Update the kysely library and its related packages to version 0.28.14 or later.

See Also

https://github.com/advisories/GHSA-8cpq-38p9-67gx

Plugin Details

Severity: High

ID: 439090

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 3/21/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.88

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 6

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-33468

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.3

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/20/2026

Vulnerability Publication Date: 3/20/2026

Reference Information

CVE: CVE-2026-33468

cwe: CWE-89