CVE-2026-39356

High

Description

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductDrizzle
PublishedApr 7, 2026
First seenApr 7, 2026
Weakness typeCWE-89SQL injection

How to fix

Update
  • drizzle drizzle0.45.2 or later
  • drizzle-orm0.45.2, 1.0.0-beta.20 or later

Affected products

ProductAffected versionsFixed in
drizzle drizzlev < 0.45.2, 1.0.00.45.2
drizzle-ormnpmv < 0.45.2, 1.0.0-beta.2 ≤ v < 1.0.0-beta.200.45.2, 1.0.0-beta.20

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.