{"id":"CVE-2026-34220","published":"2026-03-31T15:19:08Z","modified":"2026-04-02T15:19:12Z","title":"MikroORM is vulnerable to SQL Injection via specially crafted object","vendor":"mikro-orm","product":"mikro-orm","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00518,"percentile":0.44955,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-gwhv-j974-6fxm","tags":["x_refsource_CONFIRM"]}],"priority":{"score":20.5,"factors":[{"name":"EPSS percentile","points":8.99},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.51}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2026-04-27","earliestUrl":"https://github.com/EQSTLab/CVE-2026-34220","repos":[{"name":"EQSTLab/CVE-2026-34220","url":"https://github.com/EQSTLab/CVE-2026-34220","stars":2,"created":"2026-04-27"},{"name":"yym8538/CVE-2026-34220","url":"https://github.com/yym8538/CVE-2026-34220","stars":1,"created":"2026-08-21"}]},"first":{"date":"2026-04-27","source":"PoC-in-GitHub","url":"https://github.com/EQSTLab/CVE-2026-34220"},"provenance":"source"},"vendorSlug":"mikro-orm","affectedVersions":[{"vendor":"mikro-orm","product":"mikro-orm","versions":["< 6.6.10",">= 7.0.0-rc.0, < 7.0.6"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-02T15:18:51.645691Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@mikro-orm/core","vulnerableRanges":["<6.6.10",">=7.0.0-dev.0, <7.0.6"],"patched":["6.6.10","7.0.6"],"from":["GHSA-gwhv-j974-6fxm"],"provenance":"source"}],"summary":{"text":"The flaw is a SQL injection vulnerability in MikroORM, a TypeScript ORM for Node.js, where specially crafted objects are interpreted as raw SQL query fragments. An attacker who can supply such objects to the application, over the network and without authentication or user interaction, can inject SQL into queries, which can lead to high confidentiality and integrity impact on the backing database.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:06Z"},"euvd":{"id":"EUVD-2026-17486","exploited":false,"provenance":"source"}}