MikroORM is vulnerable to SQL Injection via specially crafted object
Priority MEDIUM 48CWE-89Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
MikroORM is a TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Prior to versions 6.6.10 and 7.0.6, there is a SQL injection vulnerability when specially crafted objects are interpreted as raw SQL query fragments. This issue has been patched in versions 6.6.10 and 7.0.6.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00434 37th percentileScored 2026-11-07
Fix Fixed mikro-orm (mikro-orm): 6.6.10, 7.0.6@mikro-orm/core (npm): 6.6.10, 7.0.6
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| mikro-orm | mikro-orm | before 6.6.10; 7.0.0-rc.0 to before 7.0.6 | 6.6.10, 7.0.6 | Patch available | CNA |
| — | @mikro-orm/core (npm) | before 6.6.10 | 6.6.10 | Patch available | GHSA-gwhv-j974-6fxm |
| — | @mikro-orm/core (npm) | 7.0.0-dev.0 to before 7.0.6 | 7.0.6 | Patch available | GHSA-gwhv-j974-6fxm |
- mikro-orm Vendormikro-orm Affected before 6.6.10; 7.0.0-rc.0 to before 7.0.6 Fixed in 6.6.10, 7.0.6 Patch available CNA
- @mikro-orm/core (npm) Vendor— Affected before 6.6.10 Fixed in 6.6.10 Patch available GHSA-gwhv-j974-6fxm
- @mikro-orm/core (npm) Vendor— Affected 7.0.0-dev.0 to before 7.0.6 Fixed in 7.0.6 Patch available GHSA-gwhv-j974-6fxm
Remediation
- Fix · CNA mikro-orm (mikro-orm) Fixed in 6.6.10, 7.0.6
- Fix · GHSA-gwhv-j974-6fxm @mikro-orm/core (npm) Fixed in 6.6.10 Advisory →
- Fix · GHSA-gwhv-j974-6fxm @mikro-orm/core (npm) Fixed in 7.0.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-34220
- 2026-10-03 Alias added: GHSA-gwhv-j974-6fxm
References
More mikro-orm Mikroorm vulnerabilities
- TI-2026-26516 MikroORM has Prototype Pollution in Utils.merge CVSS 4.0HIGH 8.3
Sources
- CVE-2026-34220 · CVE Program
- CVE-2026-34220 · NVD
- FIRST EPSS
- GHSA-gwhv-j974-6fxm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences