Skip to content

chore(deps): bump github.com/jackc/pgx/v5 from 5.9.1 to 5.9.2#3068

Merged
tstirrat15 merged 2 commits intomainfrom
dependabot/go_modules/github.com/jackc/pgx/v5-5.9.2
May 1, 2026
Merged

chore(deps): bump github.com/jackc/pgx/v5 from 5.9.1 to 5.9.2#3068
tstirrat15 merged 2 commits intomainfrom
dependabot/go_modules/github.com/jackc/pgx/v5-5.9.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 23, 2026

Bumps github.com/jackc/pgx/v5 from 5.9.1 to 5.9.2.

Changelog

Sourced from github.com/jackc/pgx/v5's changelog.

5.9.2 (April 18, 2026)

Fix SQL Injection via placeholder confusion with dollar quoted string literals (GHSA-j88v-2chj-qfwx)

SQL injection can occur when:

  1. The non-default simple protocol is used.
  2. A dollar quoted string literal is used in the SQL query.
  3. That query contains text that would be would be interpreted outside as a placeholder outside of a string literal.
  4. The value of that placeholder is controllable by the attacker.

e.g.

attackValue := `$tag$; drop table canary; --`
_, err = tx.Exec(ctx, `select $tag$ $1 $tag$, $1`, pgx.QueryExecModeSimpleProtocol, attackValue)

This is unlikely to occur outside of a contrived scenario.

Commits
  • 0aeabbc Release v5.9.2
  • 60644f8 Fix SQL sanitizer bugs with dollar-quoted strings and placeholder overflow
  • a5680bc Merge pull request #2531 from dolmen-go/godoc-add-links
  • e34e452 doc: Add godoc links
  • 08c9bb1 Fix Stringer types encoded as text instead of numeric value in composite fields
  • 96b4dbd Remove unstable test
  • acf88e0 Merge pull request #2526 from abrightwell/abrightwell-min-proto
  • 2f81f1f Update max_protocol_version and min_protocol_version defaults
  • See full diff in compare view

@dependabot dependabot Bot added the area/dependencies Affects dependencies label Apr 23, 2026
@dependabot dependabot Bot requested a review from a team as a code owner April 23, 2026 00:37
@dependabot dependabot Bot added the area/dependencies Affects dependencies label Apr 23, 2026
@dependabot dependabot Bot force-pushed the dependabot/go_modules/github.com/jackc/pgx/v5-5.9.2 branch from 839b277 to 4c6290f Compare April 29, 2026 17:21
Copy link
Copy Markdown
Contributor

@tstirrat15 tstirrat15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tstirrat15 tstirrat15 force-pushed the dependabot/go_modules/github.com/jackc/pgx/v5-5.9.2 branch from d99257b to 73ae43a Compare May 1, 2026 21:28
@tstirrat15 tstirrat15 enabled auto-merge (squash) May 1, 2026 21:28
dependabot Bot and others added 2 commits May 1, 2026 15:29
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.9.1 to 5.9.2.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](jackc/pgx@v5.9.1...v5.9.2)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-version: 5.9.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@tstirrat15 tstirrat15 force-pushed the dependabot/go_modules/github.com/jackc/pgx/v5-5.9.2 branch from 73ae43a to d288e32 Compare May 1, 2026 21:29
@codecov
Copy link
Copy Markdown

codecov Bot commented May 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.58%. Comparing base (132eab3) to head (d288e32).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3068      +/-   ##
==========================================
+ Coverage   75.57%   75.58%   +0.01%     
==========================================
  Files         489      489              
  Lines       59837    59837              
==========================================
+ Hits        45215    45219       +4     
+ Misses      11330    11327       -3     
+ Partials     3292     3291       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tstirrat15 tstirrat15 merged commit 97811cf into main May 1, 2026
43 of 45 checks passed
@tstirrat15 tstirrat15 deleted the dependabot/go_modules/github.com/jackc/pgx/v5-5.9.2 branch May 1, 2026 21:52
@github-actions github-actions Bot locked and limited conversation to collaborators May 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant