SCA: security update for kysely (GHSA-wmrf-hv6w-mr66)

high Tenable Self-Hosted Container Security Plugin ID 438944

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. 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()`, which properly
doubles delimiter characters for identifiers — both are non-parameterizable SQL constructs requiring
manual escaping, but only identifiers are protected. Version 0.28.12 fixes the issue. (CVE-2026-32763)

Solution

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

See Also

https://github.com/advisories/GHSA-wmrf-hv6w-mr66

Plugin Details

Severity: High

ID: 438944

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 3/18/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3.5

Percentile: 52.04

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.7

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

CVSS Score Source: CVE-2026-32763

CVSS v3

Risk Factor: High

Base Score: 8.2

Temporal Score: 7.4

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

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/18/2026

Vulnerability Publication Date: 3/18/2026

Reference Information

CVE: CVE-2026-32763

cwe: CWE-89