SCA: security update for drizzle-orm (GHSA-gpj5-g38j-94v9)

high Tenable Cloud Security Plugin ID 439997

Description

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

- Drizzle is a modern TypeScript ORM. Prior to 0.45.2 and 1.0.0-beta.20, Drizzle ORM improperly escaped
quoted SQL identifiers in its dialect-specific escapeName() implementations. In affected versions,
embedded identifier delimiters were not escaped before the identifier was wrapped in quotes or backticks.
As a result, applications that pass attacker-controlled input to APIs that construct SQL identifiers or
aliases, such as sql.identifier(), .as(), may allow an attacker to terminate the quoted identifier and
inject SQL. This vulnerability is fixed in 0.45.2 and 1.0.0-beta.20. (CVE-2026-39356)

Solution

Update the drizzle-orm library and its related packages to version 0.45.2 or later.

See Also

https://github.com/advisories/GHSA-gpj5-g38j-94v9

Plugin Details

Severity: High

ID: 439997

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 4/8/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.73

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

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: 4/8/2026

Vulnerability Publication Date: 4/7/2026

Reference Information

CVE: CVE-2026-39356

cwe: CWE-89