CVSS 3.1
5.7 mediumCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:NMedium (5.7) in typeorm typeorm. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in typeorm 0.3.31, 1.1.0.
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:Ntypeorm (npm): fixed in 0.3.31, 1.1.0Explain CVE-2026-73651 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-73651?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-73651?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-73651 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| typeorm | < 0.3.31 |
| typeorm | >= 1.0.0, < 1.1.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-2rp8-mm9q-fp49 | npm | typeorm | <0.3.31 | 0.3.31 |
| GHSA-2rp8-mm9q-fp49 | npm | typeorm | >=1.0.0 <1.1.0 | 1.1.0 |
Red Hat rates this Moderate.
TypeORM's migration:generate command builds JavaScript or TypeScript migration files by embedding database schema metadata, such as column comments and default values, into template literals. Prior to versions 0.3.31 and 1.1.0, this process escaped backticks but not ${...} template interpolation. An attacker who already holds write access to the database schema could place a malicious payload in a column's COMMENT or DEFAULT metadata; the payload executes as JavaScript when the generated migration file is later loaded via migration:run, import, or require.
This issue is rated Moderate. Exploitation requires an attacker to already have elevated, direct write access to the affected database schema, a condition not exposed through any Red Hat product's normal user-facing interfaces, and requires an administrator to subsequently run migration:generate against that compromised schema and load the resulting file. Red Hat's CVSS assessment matches the reporting vendor's own score.
No mitigation is available beyond upgrading to a fixed TypeORM release (0.3.31 or 1.1.0 or later) when available for the affected product. In the meantime, administrators should restrict write access to production database schema metadata (table and column comments and default values) and review generated migration files before running migration:run, import, or require against them.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Developer Hub 1 | rhdh/rhdh-hub-rhel9 | Fix deferred | |
| Self-service automation portal 2 | ansible-automation-platform/automation-portal | Fix deferred | |
| Self-service automation portal 2 | ansible-automation-platform/bootc-automation-portal-rhel9 | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-73651.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.