{"id":1059766,"name":"@mikro-orm/core","ecosystem":"npm","description":"TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.","homepage":"https://mikro-orm.io","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/mikro-orm/mikro-orm","keywords_array":["orm","mongo","mongodb","mysql","mariadb","postgresql","sqlite","sqlite3","ts","typescript","js","javascript","entity","ddd","mikro-orm","unit-of-work","data-mapper","identity-map"],"namespace":"mikro-orm","versions_count":4020,"first_release_published_at":"2020-05-24T21:56:34.314Z","latest_release_published_at":"2026-01-30T16:35:32.344Z","latest_release_number":"6.6.6","last_synced_at":"2026-03-21T00:04:00.586Z","created_at":"2022-04-07T20:28:43.231Z","updated_at":"2026-04-22T11:20:47.573Z","registry_url":"https://www.npmjs.com/package/@mikro-orm/core","install_command":"npm install @mikro-orm/core","documentation_url":null,"metadata":{"funding":"https://github.com/sponsors/b4nan","dist-tags":{"latest":"6.6.6","rc":"7.0.0-rc.0","next":"6.6.7-dev.5","v7":"7.0.0-dev.248"}},"repo_metadata":{"id":37412091,"uuid":"125342064","full_name":"mikro-orm/mikro-orm","owner":"mikro-orm","description":"TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, MS SQL Server, PostgreSQL and SQLite/libSQL databases.","archived":false,"fork":false,"pushed_at":"2026-03-18T01:14:41.000Z","size":89669,"stargazers_count":8926,"open_issues_count":24,"forks_count":620,"subscribers_count":49,"default_branch":"master","last_synced_at":"2026-03-18T03:41:16.934Z","etag":null,"topics":["database","datamapper","entities","entity","identity-map","javascript","libsql","mongodb","mysql","nodejs","orm","postgre","postgresql","sql","sql-server","sqlite","sqlite3","typescript","typescript-orm","unit-of-work"],"latest_commit_sha":null,"homepage":"https://mikro-orm.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikro-orm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["B4nan","mikro-orm"],"custom":"https://paypal.me/mikroorm"}},"created_at":"2018-03-15T09:21:10.000Z","updated_at":"2026-03-17T21:50:34.000Z","dependencies_parsed_at":"2023-10-24T00:30:14.406Z","dependency_job_id":"b2315177-6023-46e2-b406-7ddfd02128a9","html_url":"https://github.com/mikro-orm/mikro-orm","commit_stats":{"total_commits":5512,"total_committers":269,"mean_commits":"20.490706319702603","dds":0.3791727140783745,"last_synced_commit":"a3b5e5704918a44c4d30b1c5a007b9cc648f6130"},"previous_names":["b4nan/mikro-orm"],"tags_count":331,"template":false,"template_full_name":null,"purl":"pkg:github/mikro-orm/mikro-orm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikro-orm%2Fmikro-orm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikro-orm%2Fmikro-orm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikro-orm%2Fmikro-orm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikro-orm%2Fmikro-orm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikro-orm","download_url":"https://codeload.github.com/mikro-orm/mikro-orm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikro-orm%2Fmikro-orm/sbom","scorecard":{"id":21701,"data":{"date":"2025-08-04","repo":{"name":"github.com/mikro-orm/mikro-orm","commit":"f3b4c52f1906e52af3edaea71e418fa8431b8241"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":5.3,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 2/27 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/docs.yml:14","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/docs.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/tests.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 16 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#cii-best-practices"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#branch-protection"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"name":"SAST","score":9,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 6 commits out of 8 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/docs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/docs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/docs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/docs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/docs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/docs.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:85: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:96: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/tests.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:78: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/tests.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:83: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:100: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:103: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:115: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:135: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:138: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:150: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/tests.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:166: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/tests.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:185: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:199: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:204: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:216: update your workflow using https://app.stepsecurity.io/secureworkflow/mikro-orm/mikro-orm/tests.yml/master?enable=pin","Info:   0 out of  31 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   6 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-4v9v-hfq4-rm2v","Warn: Project is vulnerable to: GHSA-9jgg-88mc-972h","Warn: Project is vulnerable to: GHSA-xffm-g5w8-qvg7","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-14T16:55:10.414Z","repository_id":37412091,"created_at":"2025-08-14T16:55:10.415Z","updated_at":"2025-08-14T16:55:10.415Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30668833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-18T17:45:40.609Z","status":"ssl_error","status_checked_at":"2026-03-18T17:45:39.359Z","response_time":104,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"mikro-orm","name":"MikroORM","uuid":"54766168","kind":"organization","description":"MikroORM TypeScript ORM for Node.js based on data-mapper, unit-of-work and identity-map patterns.","email":null,"website":"https://mikro-orm.io","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/54766168?v=4","repositories_count":15,"last_synced_at":"2024-04-28T02:26:49.322Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/mikro-orm","funding_links":[],"total_stars":7757,"followers":62,"following":0,"created_at":"2022-11-14T00:41:34.529Z","updated_at":"2024-04-28T02:26:50.185Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikro-orm","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikro-orm/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-03-18T18:03:04.831Z","dependent_packages_count":186,"downloads":1692650,"downloads_period":"last-month","dependent_repos_count":914,"rankings":{"downloads":0.25407211071311525,"dependent_repos_count":0.6433446333918453,"dependent_packages_count":0.29231469367185264,"stargazers_count":1.2576986046741534,"forks_count":1.8326344339202247,"docker_downloads_count":0.755478433259795,"average":0.8392571516051643},"purl":"pkg:npm/%40mikro-orm/core","advisories":[{"uuid":"GSA_kwCzR0hTQS1xcGZ2LTQ0ZjMtcXF4Ns4ABUb-","url":"https://github.com/advisories/GHSA-qpfv-44f3-qqx6","title":"MikroORM has Prototype Pollution in Utils.merge","description":"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.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-03-29T15:44:16.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.3,"cvss_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","references":["https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-qpfv-44f3-qqx6","https://nvd.nist.gov/vuln/detail/CVE-2026-34221","https://github.com/advisories/GHSA-qpfv-44f3-qqx6"],"source_kind":"github","identifiers":["GHSA-qpfv-44f3-qqx6","CVE-2026-34221"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-03-29T16:00:09.692Z","updated_at":"2026-04-10T16:00:28.683Z","epss_percentage":0.00099,"epss_percentile":0.27041,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1xcGZ2LTQ0ZjMtcXF4Ns4ABUb-","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1xcGZ2LTQ0ZjMtcXF4Ns4ABUb-","packages":[{"ecosystem":"npm","package_name":"@mikro-orm/core","versions":[{"first_patched_version":"7.0.6","vulnerable_version_range":"\u003e= 7.0.0-dev.0, \u003c 7.0.6"},{"first_patched_version":"6.6.10","vulnerable_version_range":"\u003c 6.6.10"}],"purl":"pkg:npm/%40mikro-orm%2Fcore"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1xcGZ2LTQ0ZjMtcXF4Ns4ABUb-/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS1nd2h2LWo5NzQtNmZ4bc4ABUb9","url":"https://github.com/advisories/GHSA-gwhv-j974-6fxm","title":"MikroORM is vulnerable to SQL Injection via specially crafted object","description":"## Summary\n\nMikroORM versions \u003c= 6.6.9 and \u003c= 7.0.5 are vulnerable to SQL injection when specially crafted objects are interpreted as raw SQL query fragments.\n\n## Impact\n\nIf 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.\n\n## Affected usage\n\nThe issue occurs when untrusted objects are passed to ORM write APIs such as:\n\n- `wrap(entity).assign(userInput)` followed by `em.flush()`\n- `em.nativeUpdate()`\n- `em.nativeInsert()`\n- `em.create()` followed by `em.flush()`\n\nApplications that validate input types or enforce strict schema validation before passing data to MikroORM are not affected.\n\n## Fix\n\nThe vulnerability was caused by duck-typed detection of internal ORM marker properties.\n\nThe fix replaces these checks with symbol-based markers that cannot be reproduced by user input.","origin":"UNSPECIFIED","severity":"CRITICAL","published_at":"2026-03-29T15:44:04.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":9.3,"cvss_vector":"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","references":["https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-gwhv-j974-6fxm","https://nvd.nist.gov/vuln/detail/CVE-2026-34220","https://github.com/advisories/GHSA-gwhv-j974-6fxm"],"source_kind":"github","identifiers":["GHSA-gwhv-j974-6fxm","CVE-2026-34220"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-03-29T16:00:09.692Z","updated_at":"2026-04-22T11:00:40.389Z","epss_percentage":0.00014,"epss_percentile":0.02456,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1nd2h2LWo5NzQtNmZ4bc4ABUb9","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1nd2h2LWo5NzQtNmZ4bc4ABUb9","packages":[{"ecosystem":"npm","package_name":"@mikro-orm/core","versions":[{"first_patched_version":"7.0.6","vulnerable_version_range":"\u003e= 7.0.0-dev.0, \u003c 7.0.6"},{"first_patched_version":"6.6.10","vulnerable_version_range":"\u003c 6.6.10"}],"purl":"pkg:npm/%40mikro-orm%2Fcore"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1nd2h2LWo5NzQtNmZ4bc4ABUb9/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@mikro-orm/core","docker_dependents_count":54,"docker_downloads_count":19963,"usage_url":"https://repos.ecosyste.ms/usage/npm/@mikro-orm/core","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@mikro-orm/core/dependencies","status":null,"funding_links":["https://github.com/sponsors/b4nan","https://github.com/sponsors/B4nan","https://github.com/sponsors/mikro-orm","https://paypal.me/mikroorm"],"critical":null,"issue_metadata":{"last_synced_at":"2026-03-17T06:01:31.959Z","issues_count":1040,"pull_requests_count":1091,"avg_time_to_close_issue":4077608.531420765,"avg_time_to_close_pull_request":1703028.505186722,"issues_closed_count":732,"pull_requests_closed_count":964,"pull_request_authors_count":163,"issue_authors_count":586,"avg_comments_per_issue":2.2163461538461537,"avg_comments_per_pull_request":1.8826764436296974,"merged_pull_requests_count":819,"bot_issues_count":0,"bot_pull_requests_count":305,"past_year_issues_count":148,"past_year_pull_requests_count":185,"past_year_avg_time_to_close_issue":611951.3253012048,"past_year_avg_time_to_close_pull_request":229368.9455782313,"past_year_issues_closed_count":83,"past_year_pull_requests_closed_count":147,"past_year_pull_request_authors_count":45,"past_year_issue_authors_count":114,"past_year_avg_comments_per_issue":1.1216216216216215,"past_year_avg_comments_per_pull_request":1.5621621621621622,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":59,"past_year_merged_pull_requests_count":127,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikro-orm%2Fmikro-orm/issues","maintainers":[{"login":"B4nan","count":219,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/B4nan"},{"login":"boenrobot","count":144,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/boenrobot"},{"login":"darkbasic","count":7,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/darkbasic"},{"login":"xcfox","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/xcfox"},{"login":"Langstra","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Langstra"}],"active_maintainers":[{"login":"B4nan","count":34,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/B4nan"},{"login":"xcfox","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/xcfox"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@mikro-orm%2Fcore/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@mikro-orm%2Fcore/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@mikro-orm%2Fcore/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@mikro-orm%2Fcore/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@mikro-orm%2Fcore/codemeta","maintainers":[{"uuid":"b4nan","login":"b4nan","name":null,"email":"martinadamek59@gmail.com","url":null,"packages_count":132,"html_url":"https://www.npmjs.com/~b4nan","role":null,"created_at":"2022-11-10T05:12:36.254Z","updated_at":"2022-11-10T05:12:36.254Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/b4nan/packages"}]}