Skip to content

fix(deps): bump drizzle-orm to ^0.45.2 for GHSA-gpj5-g38j-94v9 - #20

Closed
iaj6 wants to merge 1 commit into
fix/nextjs-advisoriesfrom
fix/drizzle-advisory
Closed

iaj6 wants to merge 1 commit into
fix/nextjs-advisoriesfrom
fix/drizzle-advisory

Conversation

@iaj6

@iaj6 iaj6 commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Summary

Clears the last high advisory in npm audit --omit=dev: drizzle-orm < 0.45.2 has SQL injection via improperly escaped SQL identifiers (GHSA-gpj5-g38j-94v9). With this and #19, the audit is down to 2 moderates (Next.js's bundled postcss copy, fixed upstream only in the 16.3 canary line).

Stacked on #19 (fix/nextjs-advisories) to avoid lockfile conflicts — merge that first, then retarget/merge this.

🤖 Generated with Claude Code

npm audit flags drizzle-orm < 0.45.2 (high): SQL injection via improperly
escaped SQL identifiers. Our query paths use the parameterized builder,
but table/column identifiers flow through drizzle's escaping, so take the
fix rather than reason about exposure.

0.39 -> 0.45.2 required no code changes: the whole workspace compiles
and all 1,270 tests pass unchanged. Lockfile verified with a clean-room
npm ci (Linux-native optionals still present for CI).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@iaj6
iaj6 deleted the branch fix/nextjs-advisories July 12, 2026 03:45
@iaj6 iaj6 closed this Jul 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant