Skip to content

fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] - #385

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-github.com-jackc-pgx-v5-vulnerability
Open

fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security]#385
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-github.com-jackc-pgx-v5-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/jackc/pgx/v5 v5.7.4v5.9.2 age confidence

Memory-safety vulnerability in github.com/jackc/pgx/v5.

CVE-2026-33816 / GHSA-9jj7-4m8r-rfcm

More information

Details

Memory-safety vulnerability in github.com/jackc/pgx/v5.

Severity

  • CVSS Score: 9.8 / 10 (Critical)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


pgx: SQL Injection via placeholder confusion with dollar quoted string literals

CVE-2026-41889 / GHSA-j88v-2chj-qfwx

More information

Details

Impact

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 string literal contains text that would be would be interpreted 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.

Patches

The problem is resolved in v5.9.2.

Workarounds

Do not use the simple protocol to execute queries matching all the above conditions.

Severity

  • CVSS Score: 2.3 / 10 (Low)
  • Vector String: CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


pgx contains memory-safety vulnerability

CVE-2026-33815 / GHSA-xgrm-4fwx-7qm8

More information

Details

pgx is a pure Go driver and toolkit for PostgreSQL. pgx prior to v5.9.0 contains a memory-safety vulnerability.

Severity

  • CVSS Score: 9.8 / 10 (Critical)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

jackc/pgx (github.com/jackc/pgx/v5)

v5.9.2

Compare Source

v5.9.1

Compare Source

v5.9.0

Compare Source

v5.8.0

Compare Source

v5.7.6

Compare Source

v5.7.5

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Jun 28, 2026
@renovate
renovate Bot requested review from a team as code owners June 28, 2026 12:38
@renovate

renovate Bot commented Jun 28, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 9 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.24.0 -> 1.25.0
github.com/stretchr/testify v1.10.0 -> v1.11.1
golang.org/x/crypto v0.37.0 -> v0.41.0
golang.org/x/mod v0.24.0 -> v0.27.0
golang.org/x/net v0.39.0 -> v0.43.0
golang.org/x/sync v0.13.0 -> v0.17.0
golang.org/x/sys v0.32.0 -> v0.35.0
golang.org/x/term v0.31.0 -> v0.34.0
golang.org/x/text v0.24.0 -> v0.29.0
golang.org/x/tools v0.32.0 -> v0.36.0

@renovate renovate Bot changed the title fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] - autoclosed Aug 4, 2026
@renovate renovate Bot closed this Aug 4, 2026
@renovate
renovate Bot deleted the renovate/go-github.com-jackc-pgx-v5-vulnerability branch August 4, 2026 20:32
@renovate renovate Bot changed the title fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] - autoclosed fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] Aug 5, 2026
@renovate renovate Bot reopened this Aug 5, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-jackc-pgx-v5-vulnerability branch 2 times, most recently from 5b61d7c to 7c725f3 Compare August 5, 2026 00:38
@renovate renovate Bot changed the title fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] - autoclosed Aug 12, 2026
@renovate renovate Bot closed this Aug 12, 2026
@renovate renovate Bot changed the title fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] - autoclosed fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] Aug 12, 2026
@renovate renovate Bot reopened this Aug 12, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-jackc-pgx-v5-vulnerability branch 2 times, most recently from 7c725f3 to a819a72 Compare August 12, 2026 14:11
@renovate renovate Bot changed the title fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] - autoclosed Aug 16, 2026
@renovate renovate Bot closed this Aug 16, 2026
@renovate renovate Bot changed the title fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] - autoclosed fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] Aug 16, 2026
@renovate renovate Bot reopened this Aug 16, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-jackc-pgx-v5-vulnerability branch 2 times, most recently from a819a72 to 7a18d54 Compare August 16, 2026 20:33
@renovate renovate Bot changed the title fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] - autoclosed Aug 20, 2026
@renovate renovate Bot closed this Aug 20, 2026
@renovate renovate Bot changed the title fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] - autoclosed fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] Aug 20, 2026
@renovate renovate Bot reopened this Aug 20, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-jackc-pgx-v5-vulnerability branch from 7a18d54 to a691a8d Compare August 20, 2026 22:28
@renovate renovate Bot changed the title fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] - autoclosed Aug 29, 2026
@renovate renovate Bot closed this Aug 29, 2026
@renovate renovate Bot changed the title fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] - autoclosed fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] Aug 29, 2026
@renovate renovate Bot reopened this Aug 29, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-jackc-pgx-v5-vulnerability branch 2 times, most recently from a691a8d to 86399fc Compare August 29, 2026 13:02
@renovate renovate Bot changed the title fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] - autoclosed Aug 30, 2026
@renovate renovate Bot closed this Aug 30, 2026
@renovate renovate Bot changed the title fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] - autoclosed fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] Aug 31, 2026
@renovate renovate Bot reopened this Aug 31, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-jackc-pgx-v5-vulnerability branch from 86399fc to 9aec7c9 Compare August 31, 2026 02:16
@renovate renovate Bot changed the title fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] - autoclosed Sep 2, 2026
@renovate renovate Bot closed this Sep 2, 2026
@renovate renovate Bot changed the title fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] - autoclosed fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 [security] Sep 2, 2026
@renovate renovate Bot reopened this Sep 2, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-jackc-pgx-v5-vulnerability branch from 9aec7c9 to 73ba995 Compare September 2, 2026 05:36
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants