Live threats

All CVEs / typeorm

CVE-2026-73651typeorm

Medium 5.7

Priority
34
CVSS 3.1
5.7
EPSS
—
Auth required
Yes
Published
Aug 13, 2026
Updated
Sep 18, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for typeorm.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm typeorm < 0.3.31 0.3.31 npm install typeorm@0.3.31
npm typeorm ≥ 1.0.0 < 1.1.0 1.1.0 npm install typeorm@1.1.0

Per OSV / GitHub Advisories (GHSA-2rp8-mm9q-fp49). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.