GHSA-qpfv-44f3-qqx6

Suggest an improvement
Source
https://github.com/advisories/GHSA-qpfv-44f3-qqx6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-qpfv-44f3-qqx6/GHSA-qpfv-44f3-qqx6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qpfv-44f3-qqx6
Aliases
Published
2026-03-29T15:44:16Z
Modified
2026-03-31T19:04:39.043387Z
Severity
  • 8.3 (High) CVSS_V4 - 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 CVSS Calculator
Summary
MikroORM has Prototype Pollution in Utils.merge
Details

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.

Database specific
{
    "github_reviewed_at": "2026-03-29T15:44:16Z",
    "nvd_published_at": "2026-03-31T16:16:32Z",
    "cwe_ids": [
        "CWE-1321"
    ],
    "severity": "HIGH",
    "github_reviewed": true
}
References

Affected packages

npm / @mikro-orm/core

Package

Name
@mikro-orm/core
View open source insights on deps.dev
Purl
pkg:npm/%40mikro-orm/core

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.6.10

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-qpfv-44f3-qqx6/GHSA-qpfv-44f3-qqx6.json"

npm / @mikro-orm/core

Package

Name
@mikro-orm/core
View open source insights on deps.dev
Purl
pkg:npm/%40mikro-orm/core

Affected ranges

Type
SEMVER
Events
Introduced
7.0.0-dev.0
Fixed
7.0.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-qpfv-44f3-qqx6/GHSA-qpfv-44f3-qqx6.json"