CVE-2026-39356 | drizzle-team drizzle-orm up to 0.45.1 escapeName sql injection (GHSA-gpj5-g38j-94v9)
VulDBArchived Apr 08, 2026✓ Full text saved
A vulnerability classified as critical was found in drizzle-team drizzle-orm up to 0.45.1 . This impacts the function escapeName . Executing a manipulation can lead to sql injection. This vulnerability is handled as CVE-2026-39356 . The attack can be executed remotely. There is not any exploit available. Upgrading the affected component is advised.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-355937 · CVE-2026-39356 · GHSA-GPJ5-G38J-94V9
DRIZZLE-TEAM DRIZZLE-ORM UP TO 0.45.1 ESCAPENAME SQL INJECTION
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
7.2 $0-$5k 0.68+
Summaryinfo
A vulnerability, which was classified as critical, has been found in drizzle-team drizzle-orm up to 0.45.1. Affected is the function escapeName. The manipulation leads to sql injection. This vulnerability is uniquely identified as CVE-2026-39356. The attack is possible to be carried out remotely. No exploit exists. It is advisable to upgrade the affected component.
Detailsinfo
A vulnerability was found in drizzle-team drizzle-orm up to 0.45.1 and classified as critical. This issue affects the function escapeName. The manipulation with an unknown input leads to a sql injection vulnerability. Using CWE to declare the problem leads to CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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.
The advisory is shared at github.com. The identification of this vulnerability is CVE-2026-39356 since 04/06/2026. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1505 for this issue.
Upgrading to version 0.45.2 or 1.0.0-beta.20 eliminates this vulnerability.
Productinfo
Vendor
drizzle-team
Name
drizzle-orm
Version
0.45.0
0.45.1
Website
Product: https://github.com/drizzle-team/drizzle-orm/
CPE 2.3info
🔒
🔒
CPE 2.2info
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 7.4
VulDB Meta Temp Score: 7.2
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 7.5
CNA Vector (GitHub_M): 🔒
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Sql injection
CWE: CWE-89 / CWE-74 / CWE-707
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: drizzle-orm 0.45.2/1.0.0-beta.20
Timelineinfo
04/06/2026 CVE reserved
04/07/2026 +1 days Advisory disclosed
04/07/2026 +0 days VulDB entry created
04/07/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: GHSA-gpj5-g38j-94v9
Status: Confirmed
CVE: CVE-2026-39356 (🔒)
GCVE (CVE): GCVE-0-2026-39356
GCVE (VulDB): GCVE-100-355937
Entryinfo
Created: 04/07/2026 23:29
Changes: 04/07/2026 23:29 (65)
Complete: 🔍
Cache ID: 99:2CA:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸