SecurityContext

CVE-2026-39356: Drizzle ORM - SQL Injection

  • Cve: CVE-2026-39356
  • Name: Drizzle ORM - SQL Injection
  • 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.
  • Impact: Attackers can inject SQL commands, potentially leading to data leakage or modification.
  • Remediation: Upgrade to versions 0.45.2 or 1.0.0-beta.20 or later.
  • Vulnerability type: sql_injection
  • Vulnerability impact: sql_injection
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00399
  • Epss percentile: 0.34895
  • Assignee: [email protected]
  • Published at: 2026-04-07T20:16:29Z
  • Age in days: 231
  • Modified at: 2026-07-20T20:10:00Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-39356
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

References

UrlSourceTags
https://github.com/drizzle-team/drizzle-orm/security/advisories/GHSA-gpj5-g38j-94v9nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
drizzle:drizzle= 1.0.0 beta19, = 1.0.0 beta18, = 1.0.0 beta17, = 1.0.0 beta16, = 1.0.0 beta15, = 1.0.0 beta14, = 1.0.0 beta13, = 1.0.0 beta12, = 1.0.0 beta11, = 1.0.0 beta9, = 1.0.0 beta8, = 1.0.0 beta7, = 1.0.0 beta6, = 1.0.0 beta5, = 1.0.0 beta4, = 1.0.0 beta3, = 1.0.0 beta2, = 1.0.0 beta1, < 0.45.2nonvd/v1/products/drizzle/drizzle

Projects

RepositoryLink kindsIndexedUrl
drizzle-team/drizzle-ormfix, package, security_advisoryyes/v1/repositories/drizzle-team/drizzle-orm

Index

  • Repositories: 73
  • Repositories high signal: 49
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts