High severity7.5NVD Advisory· Published Apr 7, 2026· Updated Apr 15, 2026
CVE-2026-39356
CVE-2026-39356
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
drizzle-ormnpm | < 0.45.2 | 0.45.2 |
drizzle-ormnpm | >= 1.0.0-beta.2, < 1.0.0-beta.20 | 1.0.0-beta.20 |
Affected products
20cpe:2.3:a:drizzle:drizzle:1.0.0:beta11:*:*:*:node.js:*:*+ 18 more
- cpe:2.3:a:drizzle:drizzle:1.0.0:beta11:*:*:*:node.js:*:*
- cpe:2.3:a:drizzle:drizzle:1.0.0:beta12:*:*:*:node.js:*:*
- cpe:2.3:a:drizzle:drizzle:1.0.0:beta13:*:*:*:node.js:*:*
- cpe:2.3:a:drizzle:drizzle:1.0.0:beta14:*:*:*:node.js:*:*
- cpe:2.3:a:drizzle:drizzle:1.0.0:beta15:*:*:*:node.js:*:*
- cpe:2.3:a:drizzle:drizzle:1.0.0:beta16:*:*:*:node.js:*:*
- cpe:2.3:a:drizzle:drizzle:1.0.0:beta17:*:*:*:node.js:*:*
- cpe:2.3:a:drizzle:drizzle:1.0.0:beta18:*:*:*:node.js:*:*
- cpe:2.3:a:drizzle:drizzle:1.0.0:beta19:*:*:*:node.js:*:*
- cpe:2.3:a:drizzle:drizzle:1.0.0:beta1:*:*:*:node.js:*:*
- cpe:2.3:a:drizzle:drizzle:1.0.0:beta2:*:*:*:node.js:*:*
- cpe:2.3:a:drizzle:drizzle:1.0.0:beta3:*:*:*:node.js:*:*
- cpe:2.3:a:drizzle:drizzle:1.0.0:beta4:*:*:*:node.js:*:*
- cpe:2.3:a:drizzle:drizzle:1.0.0:beta5:*:*:*:node.js:*:*
- cpe:2.3:a:drizzle:drizzle:1.0.0:beta6:*:*:*:node.js:*:*
- cpe:2.3:a:drizzle:drizzle:1.0.0:beta7:*:*:*:node.js:*:*
- cpe:2.3:a:drizzle:drizzle:1.0.0:beta8:*:*:*:node.js:*:*
- cpe:2.3:a:drizzle:drizzle:1.0.0:beta9:*:*:*:node.js:*:*
- cpe:2.3:a:drizzle:drizzle:*:*:*:*:*:node.js:*:*range: <0.45.2
Patches
Vulnerability mechanics
References
3- github.com/advisories/GHSA-gpj5-g38j-94v9ghsaADVISORY
- github.com/drizzle-team/drizzle-orm/security/advisories/GHSA-gpj5-g38j-94v9nvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-39356ghsaADVISORY
News mentions
0No linked articles in our index yet.