PoC Monitor
← All CVEs
CVE-2026-34220published 31 Mar 2026 15:19 UTCData: JSON · API

Mikro-orm

MikroORM is vulnerable to SQL Injection via specially crafted object

MikroORM is a TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Prior to versions 6.6.10 and 7.0.6, there is a SQL injection vulnerability when specially crafted objects are interpreted as raw SQL query fragments. This issue has been patched in versions 6.6.10 and 7.0.6.

First public PoC 27 daysafter publication · 27 Apr 2026
Public PoCs22 on GitHub
CVSS9.8critical · scored by CISA ADP · CWE-89
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

mikro-orm mikro-orm
  • < 6.6.10
  • >= 7.0.0-rc.0, < 7.0.6

Fixed in 6.6.10, 7.0.6

Mitigation

Upgrade mikro-orm to 6.6.10 or 7.0.6 or later.

References

Timeline

Days relative to CVE publication
t=0+7+14+21+28CVE published31 Mar 2026 · t = 0First public PoC27 Apr 2026 · t+27d

First public PoC 27 days after publication; not in CISA KEV. First PoC: EQSTLab/CVE-2026-34220 (created 27 Apr 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

2 PoCs

PoCs 2
RepositoryCreatedStarsAssessment
EQSTLab/CVE-2026-34220 27 Apr 2026 +27 d 1 PoC
yym8538/CVE-2026-34220 21 Aug 2026 +143 d 1 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

POST /api/posts

Content-Type
application/json
Ports
3000
Seen in
2 repos: EQSTLab/CVE-2026-34220, yym8538/CVE-2026-34220
Evidence
EQSTLab/CVE-2026-34220/app.js:222 yym8538/CVE-2026-34220/app.js:222

POST /write

Content-Type
application/json
Ports
3000
Seen in
2 repos: EQSTLab/CVE-2026-34220, yym8538/CVE-2026-34220
Evidence
EQSTLab/CVE-2026-34220/README.md:43 yym8538/CVE-2026-34220/README.md:43

PUT /api/posts/{var}

Content-Type
application/json
Ports
3000
Seen in
2 repos: EQSTLab/CVE-2026-34220, yym8538/CVE-2026-34220
Evidence
EQSTLab/CVE-2026-34220/app.js:285 yym8538/CVE-2026-34220/app.js:285

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /api/posts
(?i)^/api/posts(?:[?#].*)?$
POST /write
(?i)^/write(?:[?#].*)?$
PUT /api/posts/{var}
(?i)^/api/posts/[^/?#]*(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /api/posts
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2026-34220 mikro-orm mikro-orm exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/posts"; reference:url,poc.griffinguard.io/cve/CVE-2026-34220; classtype:web-application-attack; sid:9209081; rev:1;)
POST /write
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2026-34220 mikro-orm mikro-orm exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/write"; reference:url,poc.griffinguard.io/cve/CVE-2026-34220; classtype:web-application-attack; sid:9335954; rev:1;)
PUT /api/posts/{var}
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2026-34220 mikro-orm mikro-orm exploit attempt"; flow:established,to_server; http.method; content:"PUT"; http.uri; content:"/api/posts/"; reference:url,poc.griffinguard.io/cve/CVE-2026-34220; classtype:web-application-attack; sid:9892586; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /api/posts
title: mikro-orm mikro-orm exploit attempt (CVE-2026-34220)
id: gg-pocmon-cve-2026-34220-9209081
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-34220. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-34220
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/posts'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.34220
POST /write
title: mikro-orm mikro-orm exploit attempt (CVE-2026-34220)
id: gg-pocmon-cve-2026-34220-9335954
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-34220. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-34220
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/write'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.34220
PUT /api/posts/{var}
title: mikro-orm mikro-orm exploit attempt (CVE-2026-34220)
id: gg-pocmon-cve-2026-34220-9892586
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-34220. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-34220
logsource:
  category: webserver
detection:
  selection:
    cs-method: PUT
    cs-uri-stem|contains|all:
      - '/api/posts/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.34220