SCA: security update for typeorm (GHSA-2rp8-mm9q-fp49)

medium Tenable Self-Hosted Container Security Plugin ID 445055

Description

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

- TypeORM is a TypeScript and JavaScript ORM for Node.js that supports PostgreSQL, MySQL, MariaDB, SQLite,
SQL Server, Oracle, and other databases. Prior to versions 0.3.31 and 1.1.0, typeorm migration:generate
embeds database schema metadata into JavaScript or TypeScript template literals in
src/commands/MigrationGenerateCommand.ts, escaping backticks but not ${...} interpolation. An attacker
with database schema write access can place a payload in column COMMENT or DEFAULT metadata, or another
introspected schema string, and the JavaScript engine evaluates the payload when the generated migration
is loaded through migration:run, import, or require. This issue is fixed in versions 0.3.31 and 1.1.0.
(CVE-2026-73651)

Solution

Update the typeorm library and its related packages to version 0.3.31 or later.

See Also

https://github.com/advisories/GHSA-2rp8-mm9q-fp49

Plugin Details

Severity: Medium

ID: 445055

Version: Revision 1.3

Type: Local

Family: SCA Checks

Published: 7/22/2026

Updated: 8/14/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.58

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.2

Temporal Score: 4.6

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

CVSS Score Source: CVE-2026-73651

CVSS v3

Risk Factor: Medium

Base Score: 5.7

Temporal Score: 5

Vector: CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/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: 7/21/2026

Vulnerability Publication Date: 7/21/2026

Reference Information

CVE: CVE-2026-73651

cwe: CWE-94