SCA: security update for kysely (GHSA-fr9j-6mvq-frcv)

high Tenable Self-Hosted Container Security Plugin ID 439091

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

Solution

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

See Also

https://github.com/advisories/GHSA-fr9j-6mvq-frcv

Plugin Details

Severity: High

ID: 439091

Version: Revision 1.9

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-33442

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-33442

cwe: CWE-89