p PatchFirst

CVE-2026-39356

CVE-2026-39356 · SQL Injection via escapeName() in all Drizzle ORM SQL dialects

Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.

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.

CVSS 7.5 · Hoch · EPSS 0,4% · Korrektur verfügbar

Veröffentlicht
Aktualisiert

Technologie-Stack: node

Betroffene Produkte und Versionen

  • drizzle-orm

    Softwareversionen
    • < 0.45.2: Betroffen
    • >= 1.0.0-beta.2, < 1.0.0-beta.20: Betroffen

    Keine Korrektur veröffentlicht

  • drizzle-orm npm

    Betroffene Versionsbereiche
    • SEMVER: < 0.45.2

    Auf 0.45.2 aktualisieren

  • drizzle-orm npm

    Betroffene Versionsbereiche
    • SEMVER: ≥ 1.0.0-beta.2, < 1.0.0-beta.20

    Auf 1.0.0-beta.20 aktualisieren

Originalquellen

Prüfen Sie Ihren Server →