Lookup for vulnerable packages by Package URL.

Purlpkg:npm/%40mikro-orm/core@7.0.6-dev.9
Typenpm
Namespace@mikro-orm
Namecore
Version7.0.6-dev.9
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version7.0.6
Latest_non_vulnerable_version7.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
reference_url https://github.com/mikro-orm/mikro-orm
reference_id
reference_type
scores
0
value 8.3
scoring_system cvssv4
scoring_elements 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
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/mikro-orm/mikro-orm
2
reference_url https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-qpfv-44f3-qqx6
reference_id
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
1
value 8.3
scoring_system cvssv4
scoring_elements 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
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-03-31T18:50:17Z/
url https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-qpfv-44f3-qqx6
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-34221
reference_id
reference_type
scores
0
value 8.3
scoring_system cvssv4
scoring_elements 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
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-34221
4
reference_url https://github.com/advisories/GHSA-qpfv-44f3-qqx6
reference_id GHSA-qpfv-44f3-qqx6
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-qpfv-44f3-qqx6
fixed_packages
0
url pkg:npm/%40mikro-orm/core@7.0.6
purl pkg:npm/%40mikro-orm/core@7.0.6
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/%2540mikro-orm/core@7.0.6
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
reference_url https://github.com/mikro-orm/mikro-orm
reference_id
reference_type
scores
0
value 9.3
scoring_system cvssv4
scoring_elements 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
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://github.com/mikro-orm/mikro-orm
2
reference_url https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-gwhv-j974-6fxm
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system cvssv3.1_qr
scoring_elements
2
value 9.3
scoring_system cvssv4
scoring_elements 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
3
value CRITICAL
scoring_system generic_textual
scoring_elements
4
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:Y/T:T/P:M/B:A/M:M/D:T/2026-04-02T15:18:51Z/
url https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-gwhv-j974-6fxm
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-34220
reference_id
reference_type
scores
0
value 9.3
scoring_system cvssv4
scoring_elements 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
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-34220
4
reference_url https://github.com/advisories/GHSA-gwhv-j974-6fxm
reference_id GHSA-gwhv-j974-6fxm
reference_type
scores
0
value CRITICAL
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-gwhv-j974-6fxm
fixed_packages
0
url pkg:npm/%40mikro-orm/core@7.0.6
purl pkg:npm/%40mikro-orm/core@7.0.6
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/%2540mikro-orm/core@7.0.6
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_score4.5
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:npm/%2540mikro-orm/core@7.0.6-dev.9