Vulnerability library
Security checkApril 08, 2026

Drizzle ORM has SQL injection via improperly escaped SQL identifiers

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmdrizzle-orm

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the drizzle-orm package to the latest compatible version. Followings are version details:

  • Affected version(s): **>= 1.0.0-beta.2, < 1.0.0-beta.20 < 0.45.2**
  • Patched version(s): **1.0.0-beta.20 0.45.2**

References

Could your website be exposed too?

SmartScanner can check your website for Drizzle ORM has SQL injection via improperly escaped SQL identifiers and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated April 08, 2026