{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-73651","published":"2026-08-13T19:17:38.617000Z","last_modified":"2026-09-18T20:05:53.723000Z","status":"Awaiting Analysis","cvss":{"version":"3.1","score":5.7,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-94"],"cpes":[],"cpes_truncated":false,"vendors":["typeorm"],"products":["typeorm/typeorm"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-2rp8-mm9q-fp49","ecosystem":"npm","name":"typeorm","purl":"pkg:npm/typeorm","ranges":[{"introduced":"0","fixed":"0.3.31"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-2rp8-mm9q-fp49","ecosystem":"npm","name":"typeorm","purl":"pkg:npm/typeorm","ranges":[{"introduced":"1.0.0","fixed":"1.1.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":34,"links":{"html_es":"/es/cve/CVE-2026-73651/","html_en":"/en/cve/CVE-2026-73651/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-73651","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-73651"},"untrusted":{"vendor_name":"typeorm","product_name":"typeorm","desc_en":"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.","affected":[{"untrusted_vendor":"typeorm","untrusted_product":"typeorm","versions":[]}],"references":[{"url":"https://github.com/typeorm/typeorm/commit/41d1c62fe49f99c3ca916d4d986f61ee9f45d519","tags":[]},{"url":"https://github.com/typeorm/typeorm/commit/b175f9b8be422edd2a2ac035ba90c3f2ce782dfe","tags":[]},{"url":"https://github.com/typeorm/typeorm/releases/tag/0.3.31","tags":[]},{"url":"https://github.com/typeorm/typeorm/releases/tag/1.1.0","tags":[]},{"url":"https://github.com/typeorm/typeorm/security/advisories/GHSA-2rp8-mm9q-fp49","tags":[]}]}}