SQL Injection in Drizzle
CVE-2026-39356
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.004 (33.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 34th percentile — 33.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: +0.000
Affected products
- Drizzle — versions 1.0.0
- Drizzle-Team Drizzle-Orm — versions < 0.45.2, >= 1.0.0-beta.2, < 1.0.0-beta.20
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-39356?
- CVE-2026-39356 is a high-severity vulnerability in Drizzle, classified under SQL Injection. CVSS score: 7.5/10. Published 2026-04-07.
- How severe is CVE-2026-39356?
- High severity. CVSS v3 base score is 7.5 out of 10.