CVE-2026-73651

Medium

Description

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.

SeverityMedium
CVSS5.7
Exploit probability—
ProductTypeorm
PublishedAug 13, 2026
First seenAug 13, 2026

How to fix

Update
  • typeorm0.3.31, 1.1.0 or later

Affected products

ProductAffected versionsFixed in
typeormnpmv < 0.3.31, 1.0.0 ≤ v < 1.1.00.3.31, 1.1.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-73651 · Typeorm · Dark Radar