Skip to content

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

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/github.com/jackc/pgx/v5-5.9.2
Closed

chore(deps): bump github.com/jackc/pgx/v5 from 5.9.0 to 5.9.2#5978
dependabot[bot] wants to merge 1 commit 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.0 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.

5.9.1 (March 22, 2026)

  • Fix: batch result format corruption when using cached prepared statements (reported by Dirkjan Bussink)
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
  • 4e4eaed Release v5.9.1
  • 6273188 Fix batch result format corruption when using cached prepared statements
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.9.0 to 5.9.2.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](jackc/pgx@v5.9.0...v5.9.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code type::chore labels Apr 23, 2026
@dependabot dependabot Bot requested a review from a team as a code owner April 23, 2026 00:46
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code type::chore labels Apr 23, 2026
nvanthao added a commit that referenced this pull request Apr 28, 2026
* chore(deps): consolidate dependency bumps from 10 open PRs

Go modules:
- github.com/replicatedhq/troubleshoot 0.123.18 -> 0.127.0
- github.com/vmware-tanzu/velero 1.17.2 -> 1.18.0 (via troubleshoot)
- github.com/distribution/distribution/v3 3.0.0 -> 3.1.0 (via troubleshoot)
- github.com/jackc/pgx/v5 5.9.0 -> 5.9.2
- github.com/mattn/go-isatty 0.0.21 -> 0.0.22

NPM:
- chokidar 3.6.0 -> 5.0.0

GitHub Actions:
- docker/login-action v3 -> v4
- docker/build-push-action v6 -> v7
- sigstore/cosign-installer v4.0.0 -> v4.1.1
- mshick/add-pr-comment v2 -> v3

Closes #5980, #5978, #5977, #5961, #5957, #5951, #5949, #5948, #5947, #5946

* fix: bump golangci-lint to 2.11.4 for Go 1.26 compatibility

v2.8.0 was built with Go 1.25 and fails when the project's go.mod
targets go 1.26.2 (bumped by troubleshoot 0.127.0 dependency).
v2.9.0+ releases are built with Go 1.26, so v2.11.4 resolves this.

* ci: trigger CI validation
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 28, 2026

Looks like github.com/jackc/pgx/v5 is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Apr 28, 2026
@dependabot dependabot Bot deleted the dependabot/go_modules/github.com/jackc/pgx/v5-5.9.2 branch April 28, 2026 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code type::chore

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants