# CVE-2026-34220: MikroORM is vulnerable to SQL Injection via specially crafted object

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2026-03-29T15:44:04.000Z
- Modified: 2026-07-24T20:10:00.147Z
- Also known as: GHSA-gwhv-j974-6fxm
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- mikro-orm mikro-orm: < 6.6.10; >= 7.0.0-rc.0, < 7.0.6
- @mikro-orm/core (npm): before 6.6.10; from 7.0.0-dev.0 before 7.0.6
- mikro-orm mikroorm: before 6.6.10; from 7.0.0 before 7.0.6

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-gwhv-j974-6fxm> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34220> (advisory)
- <https://github.com/mikro-orm/mikro-orm> (package)

## Sources

- CVE List: [CVE-2026-34220](https://www.cve.org/CVERecord?id=CVE-2026-34220), CVE Terms of Use, modified 2026-04-02
- GitHub Advisory Database: [GHSA-gwhv-j974-6fxm](https://github.com/advisories/GHSA-gwhv-j974-6fxm), CC-BY-4.0, modified 2026-03-31
- NVD: [CVE-2026-34220](https://nvd.nist.gov/vuln/detail/CVE-2026-34220), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-34220 · Whole record: https://cve.day/CVE-2026-34220.json · Rebuilt by cve.day 2026-11-25T22:59:17.595Z
