{"id":"CVE-2026-34221","aliases":["CVE-2026-34221","GHSA-qpfv-44f3-qqx6"],"related":[],"kind":"vulnerability","state":"published","title":"MikroORM has Prototype Pollution in Utils.merge","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, a prototype pollution vulnerability exists in the Utils.merge helper used internally by MikroORM when merging object structures. The function did not prevent special keys such as __proto__, constructor, or prototype, allowing attacker-controlled input to modify the JavaScript object prototype when merged. This issue has been patched in versions 6.6.10 and 7.0.6.","summarySource":"cvelist","descriptions":[{"lang":"en","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, a prototype pollution vulnerability exists in the Utils.merge helper used internally by MikroORM when merging object structures. The function did not prevent special keys such as __proto__, constructor, or prototype, allowing attacker-controlled input to modify the JavaScript object prototype when merged. This issue has been patched in versions 6.6.10 and 7.0.6.","source":"cvelist"},{"lang":"en","text":"A prototype pollution vulnerability exists in the `Utils.merge` helper used internally by MikroORM when merging object structures.\n\nThe function did not prevent special keys such as `__proto__`, `constructor`, or `prototype`, allowing attacker-controlled input to modify the JavaScript object prototype when merged.\n\nExploitation requires application code to pass untrusted user input into ORM operations that merge object structures, such as entity property assignment or query condition construction.\n\nPrototype pollution may lead to denial of service or unexpected application behavior. In certain scenarios, polluted properties may influence query construction and potentially result in SQL injection depending on application code.","format":"markdown","source":"ghsa"},{"lang":"es","text":"MikroORM es un ORM de TypeScript para Node.js basado en los patrones Data Mapper, Unit of Work e Identity Map. Antes de las versiones 6.6.10 y 7.0.6, existe una vulnerabilidad de contaminación de prototipos en el asistente Utils.merge utilizado internamente por MikroORM al fusionar estructuras de objetos. La función no impedía claves especiales como __proto__, constructor o prototype, permitiendo que la entrada controlada por el atacante modificara el prototipo de objeto de JavaScript cuando se fusionaba. Este problema ha sido parcheado en las versiones 6.6.10 y 7.0.6.","source":"nvd"}],"published":"2026-03-29T15:44:16.000Z","modified":"2026-07-24T20:10:00.147Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:L/SA:L","score":8.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:L/SA:L","score":8.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:L/SA:L","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"version":"< 6.6.10","status":"affected"},{"version":">= 7.0.0-rc.0, < 7.0.6","status":"affected"}],"vendor":"mikro-orm","product":"mikro-orm","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"6.6.10"}],"ecosystem":"npm","package":"@mikro-orm/core","purl":"pkg:npm/%40mikro-orm/core","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"7.0.0-dev.0","status":"affected","fixed":"7.0.6"}],"ecosystem":"npm","package":"@mikro-orm/core","purl":"pkg:npm/%40mikro-orm/core","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"6.6.10"},{"status":"affected","introduced":"7.0.0","fixed":"7.0.6"}],"vendor":"mikro-orm","product":"mikroorm","cpe":"cpe:2.3:a:mikro-orm:mikroorm:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-qpfv-44f3-qqx6","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34221","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mikro-orm/mikro-orm","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-31T18:50:17.961Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-34221","url":"https://www.cve.org/CVERecord?id=CVE-2026-34221","licence":"CVE Terms of Use","modified":"2026-03-31T18:52:43.939Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qpfv-44f3-qqx6","url":"https://github.com/advisories/GHSA-qpfv-44f3-qqx6","licence":"CC-BY-4.0","modified":"2026-03-31T19:04:39.043Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-34221","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34221","licence":"Public domain","modified":"2026-07-24T20:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:17.596Z","epss":{"score":0.00425,"percentile":0.3875,"date":"2026-12-01T12:00:22.000Z"}}