chore(deps): update dependency @mikro-orm/core to v6.6.10 [security]#2725
Open
renovate[bot] wants to merge 1 commit into
Open
chore(deps): update dependency @mikro-orm/core to v6.6.10 [security]#2725renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
108dcd4 to
78b12f4
Compare
78b12f4 to
0b9307f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
6.6.7→6.6.10MikroORM is vulnerable to SQL Injection via specially crafted object
CVE-2026-34220 / GHSA-gwhv-j974-6fxm
More information
Details
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 byem.flush()em.nativeUpdate()em.nativeInsert()em.create()followed byem.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.
Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
MikroORM has Prototype Pollution in Utils.merge
CVE-2026-34221 / GHSA-qpfv-44f3-qqx6
More information
Details
A prototype pollution vulnerability exists in the
Utils.mergehelper used internally by MikroORM when merging object structures.The function did not prevent special keys such as
__proto__,constructor, orprototype, 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.
Severity
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:L/SA:LReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
mikro-orm/mikro-orm (@mikro-orm/core)
v6.6.10Compare Source
Bug Fixes
em.refresh()for detached entities (e41b500), closes #7383Utils.merge(06ed5f6)v6.6.9Compare Source
Bug Fixes
toJSONnon-enumerable to prevent data leaks (c895808)migration:upto support read-only filesystems (c8584e8), closes #7232table.bigincrements()producingintinstead ofbigint(5660607), closes #7246v6.6.8Compare Source
Bug Fixes
toPOJOregardless of partial loading hints (c27dbae)mergeDatafor initialized entities (5529308), closes #7205migration:down(dfcc8c6), closes #7210Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.