SCA: security update for kysely (GHSA-pv5w-4p9q-p3v2)

high Tenable Self-Hosted Container Security Plugin ID 441731

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. From 0.26.0 to 0.28.16,
DefaultQueryCompiler.visitJSONPathLeg does not escape JSON-path metacharacters (., [, ], *, **, ?). When
attacker-controlled input flows into eb.ref(col, '->$').key(input) or .at(input) — including type-safe
code where the JSON column is shaped like Record<string, T> so K extends string is the inferred type —
every dot becomes a path-leg separator, letting an attacker traverse from the intended key into sibling
and child fields the developer never meant to expose. The result is read access (and, in update
statements, write access) to JSON sub-fields outside the intended scope across MySQL, PostgreSQL ->$/->>$,
and SQLite. This vulnerability is fixed in 0.28.17. (CVE-2026-44635)

Solution

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

See Also

https://github.com/advisories/GHSA-pv5w-4p9q-p3v2

Plugin Details

Severity: High

ID: 441731

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 5/12/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.69

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2026-44635

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/11/2026

Vulnerability Publication Date: 5/11/2026

Reference Information

CVE: CVE-2026-44635