PoC Monitor
← All CVEs
CVE-2026-39356published 7 Apr 2026 19:58 UTCData: JSON · API

Drizzle-team drizzle-orm

SQL Injection via escapeName() in all Drizzle ORM SQL dialects

Drizzle is a modern TypeScript ORM. Prior to 0.45.2 and 1.0.0-beta.20, Drizzle ORM improperly escaped quoted SQL identifiers in its dialect-specific escapeName() implementations. In affected versions, embedded identifier delimiters were not escaped before the identifier was wrapped in quotes or backticks. As a result, applications that pass attacker-controlled input to APIs that construct SQL identifiers or aliases, such as sql.identifier(), .as(), may allow an attacker to terminate the quoted identifier and inject SQL. This vulnerability is fixed in 0.45.2 and 1.0.0-beta.20.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-89
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

drizzle-team drizzle-orm
  • < 0.45.2
  • >= 1.0.0-beta.2, < 1.0.0-beta.20

Fixed in 0.45.2, 1.0.0-beta.20

Mitigation

Upgrade drizzle-orm to 0.45.2 or 1.0.0-beta.20 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published7 Apr 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.