Skip to content

chore: Update module github.com/jackc/pgx/v5 to v5.9.2 [SECURITY]#155

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

chore: Update module github.com/jackc/pgx/v5 to v5.9.2 [SECURITY]#155
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/go-github.com-jackc-pgx-v5-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/jackc/pgx/v5 v5.8.0v5.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).


Release Notes

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

v5.9.2

Compare Source

v5.9.1

Compare Source

v5.9.0

Compare Source


Configuration

📅 Schedule: (in timezone Asia/Singapore)

  • 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 renovate label Apr 16, 2026
@renovate renovate Bot changed the title chore: Update module github.com/jackc/pgx/v5 to v5.9.0 [SECURITY] chore: Update module github.com/jackc/pgx/v5 to v5.9.2 [SECURITY] Apr 23, 2026
@renovate renovate Bot force-pushed the renovate/go-github.com-jackc-pgx-v5-vulnerability branch from 068bebe to c3b80a6 Compare April 23, 2026 01:43
@renovate renovate Bot changed the title chore: Update module github.com/jackc/pgx/v5 to v5.9.2 [SECURITY] chore: Update module github.com/jackc/pgx/v5 to v5.9.2 [SECURITY] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot deleted the renovate/go-github.com-jackc-pgx-v5-vulnerability branch April 27, 2026 18:39
@renovate renovate Bot changed the title chore: Update module github.com/jackc/pgx/v5 to v5.9.2 [SECURITY] - autoclosed chore: Update module github.com/jackc/pgx/v5 to v5.9.2 [SECURITY] Apr 27, 2026
@renovate renovate Bot reopened this Apr 27, 2026
@renovate renovate Bot force-pushed the renovate/go-github.com-jackc-pgx-v5-vulnerability branch 2 times, most recently from c3b80a6 to 0ba5917 Compare April 27, 2026 22:58
@renovate renovate Bot changed the title chore: Update module github.com/jackc/pgx/v5 to v5.9.2 [SECURITY] chore: Update module github.com/jackc/pgx/v5 to v5.9.2 [SECURITY] - autoclosed May 16, 2026
@renovate renovate Bot closed this May 16, 2026
@renovate renovate Bot changed the title chore: Update module github.com/jackc/pgx/v5 to v5.9.2 [SECURITY] - autoclosed chore: Update module github.com/jackc/pgx/v5 to v5.9.2 [SECURITY] May 16, 2026
@renovate renovate Bot reopened this May 16, 2026
@renovate renovate Bot force-pushed the renovate/go-github.com-jackc-pgx-v5-vulnerability branch 2 times, most recently from 0ba5917 to 15ac79d Compare May 16, 2026 20:47
@codecov

codecov Bot commented May 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.18%. Comparing base (4a9c869) to head (15ac79d).
⚠️ Report is 10 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #155      +/-   ##
==========================================
- Coverage    0.18%    0.18%   -0.01%     
==========================================
  Files         466      467       +1     
  Lines      113728   113851     +123     
==========================================
  Hits          206      206              
- Misses     113495   113618     +123     
  Partials       27       27              

☔ 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.

@renovate renovate Bot changed the title chore: Update module github.com/jackc/pgx/v5 to v5.9.2 [SECURITY] chore: Update module github.com/jackc/pgx/v5 to v5.9.2 [SECURITY] - autoclosed Jun 10, 2026
@renovate renovate Bot closed this Jun 10, 2026
@renovate renovate Bot changed the title chore: Update module github.com/jackc/pgx/v5 to v5.9.2 [SECURITY] - autoclosed chore: Update module github.com/jackc/pgx/v5 to v5.9.2 [SECURITY] Jun 11, 2026
@renovate renovate Bot reopened this Jun 11, 2026
@renovate renovate Bot force-pushed the renovate/go-github.com-jackc-pgx-v5-vulnerability branch 2 times, most recently from 15ac79d to 1b9d773 Compare June 11, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants