Drizzle is a modern TypeScript ORM. Prior to 0.45.2 and 1.0.0-beta.20, Drizzle ORM improperly escaped quoted…
Historical advisory recorded 25 Oct 2026 09:17:18 UTC. Read the latest advisory.
nvd · CVE-2026-39356
PublishedDrizzle 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-39356
PublishedDrizzle 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…
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.
Additional publisher context
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Analyzed
Weakness classifications: CWE-89
Original publisher date fields
published: 2026-04-07T20:16:29.610
lastModified: 2026-07-20T20:10:00.110
19 source CPE criteria · context only
- cpe:2.3:a:drizzle:drizzle:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:drizzle:drizzle:1.0.0:beta1:*:*:*:node.js:*:*
- 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: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:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
- Source published
- 7 Apr 2026 20:16:29 UTC
- Source modified
- 20 Jul 2026 20:10:00 UTC
- Saved here
- 25 Oct 2026 09:17:18 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · [email protected] · Secondary · 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N