CVE-2026-39356Drizzle
High 7.5 No auth needed
Follow: this CVE · Drizzle · Drizzle We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Apr 7, 2026
- Updated
- Jul 20, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Drizzle.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | drizzle-orm |
< 0.45.2 |
0.45.2 |
npm install drizzle-orm@0.45.2 |
| npm | drizzle-orm |
≥ 1.0.0-beta.2 < 1.0.0-beta.20 |
1.0.0-beta.20 |
npm install drizzle-orm@1.0.0-beta.20 |
Per OSV / GitHub Advisories (GHSA-gpj5-g38j-94v9). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| drizzle | drizzle | < 0.45.2 |
| drizzle | drizzle | 1.0.0 |
| drizzle | drizzle | 1.0.0 |
| drizzle | drizzle | 1.0.0 |
| drizzle | drizzle | 1.0.0 |
| drizzle | drizzle | 1.0.0 |
| drizzle | drizzle | 1.0.0 |
| drizzle | drizzle | 1.0.0 |
| drizzle | drizzle | 1.0.0 |
| drizzle | drizzle | 1.0.0 |
| drizzle | drizzle | 1.0.0 |
| drizzle | drizzle | 1.0.0 |
| drizzle | drizzle | 1.0.0 |
| drizzle | drizzle | 1.0.0 |
| drizzle | drizzle | 1.0.0 |
| drizzle | drizzle | 1.0.0 |
| drizzle | drizzle | 1.0.0 |
| drizzle | drizzle | 1.0.0 |
| drizzle | drizzle | 1.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory