Lookup for vulnerable packages by Package URL.
| Purl | pkg:npm/%40mikro-orm/core@6.5.8-dev.14 |
| Type | npm |
| Namespace | @mikro-orm |
| Name | core |
| Version | 6.5.8-dev.14 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | true |
| Next_non_vulnerable_version | 6.6.10 |
| Latest_non_vulnerable_version | 7.0.6 |
| Affected_by_vulnerabilities |
| 0 |
| url |
VCID-s2sz-qjpw-77e6 |
| vulnerability_id |
VCID-s2sz-qjpw-77e6 |
| summary |
MikroORM has Prototype Pollution in Utils.merge
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.
Exploitation requires application code to pass untrusted user input into ORM operations that merge object structures, such as entity property assignment or query condition construction.
Prototype 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. |
| references |
| 0 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2026-34221 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.00046 |
| scoring_system |
epss |
| scoring_elements |
0.14773 |
| published_at |
2026-06-05T12:55:00Z |
|
| 1 |
| value |
0.00046 |
| scoring_system |
epss |
| scoring_elements |
0.1478 |
| published_at |
2026-06-06T12:55:00Z |
|
| 2 |
| value |
0.00048 |
| scoring_system |
epss |
| scoring_elements |
0.15389 |
| published_at |
2026-06-09T12:55:00Z |
|
| 3 |
| value |
0.00048 |
| scoring_system |
epss |
| scoring_elements |
0.15447 |
| published_at |
2026-06-07T12:55:00Z |
|
| 4 |
| value |
0.00048 |
| scoring_system |
epss |
| scoring_elements |
0.15363 |
| published_at |
2026-06-08T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2026-34221 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
|
| fixed_packages |
|
| aliases |
CVE-2026-34221, GHSA-qpfv-44f3-qqx6
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-s2sz-qjpw-77e6 |
|
| 1 |
| url |
VCID-wypk-smwf-2kcm |
| vulnerability_id |
VCID-wypk-smwf-2kcm |
| summary |
MikroORM is vulnerable to SQL Injection via specially crafted object
## Summary
MikroORM versions <= 6.6.9 and <= 7.0.5 are vulnerable to SQL injection when specially crafted objects are interpreted as raw SQL query fragments.
## Impact
If user-controlled input is passed directly to MikroORM query construction APIs, an attacker may inject raw SQL fragments. This can lead to SQL injection depending on the database and query being executed.
## Affected usage
The issue occurs when untrusted objects are passed to ORM write APIs such as:
- `wrap(entity).assign(userInput)` followed by `em.flush()`
- `em.nativeUpdate()`
- `em.nativeInsert()`
- `em.create()` followed by `em.flush()`
Applications that validate input types or enforce strict schema validation before passing data to MikroORM are not affected.
## Fix
The vulnerability was caused by duck-typed detection of internal ORM marker properties.
The fix replaces these checks with symbol-based markers that cannot be reproduced by user input. |
| references |
| 0 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2026-34220 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.00015 |
| scoring_system |
epss |
| scoring_elements |
0.03537 |
| published_at |
2026-06-07T12:55:00Z |
|
| 1 |
| value |
0.00015 |
| scoring_system |
epss |
| scoring_elements |
0.0352 |
| published_at |
2026-06-09T12:55:00Z |
|
| 2 |
| value |
0.00015 |
| scoring_system |
epss |
| scoring_elements |
0.03516 |
| published_at |
2026-06-08T12:55:00Z |
|
| 3 |
| value |
0.00015 |
| scoring_system |
epss |
| scoring_elements |
0.03159 |
| published_at |
2026-06-06T12:55:00Z |
|
| 4 |
| value |
0.00015 |
| scoring_system |
epss |
| scoring_elements |
0.0315 |
| published_at |
2026-06-05T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2026-34220 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
|
| fixed_packages |
|
| aliases |
CVE-2026-34220, GHSA-gwhv-j974-6fxm
|
| risk_score |
4.5 |
| exploitability |
0.5 |
| weighted_severity |
9.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-wypk-smwf-2kcm |
|
|
| Fixing_vulnerabilities |
|
| Risk_score | 4.5 |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:npm/%2540mikro-orm/core@6.5.8-dev.14 |