You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update module github.com/jackc/pgx/v5 to v5.9.2 [SECURITY] - #120
SQL injection can occur if an attacker can cause a single query or bind message to exceed 4 GB in size. An integer overflow in the calculated message size can cause the one large message to be sent as multiple messages under the attacker's control.
Patches
The problem is resolved in v4.18.2 and v5.5.4.
Workarounds
Reject user input large enough to cause a single query or bind message to exceed 4 GB in size.
renovateBot
changed the title
Update module github.com/jackc/pgx/v5 to v5.5.4 [SECURITY]
fix(deps): update module github.com/jackc/pgx/v5 to v5.5.4 [security]
Aug 25, 2024
renovateBot
changed the title
fix(deps): update module github.com/jackc/pgx/v5 to v5.5.4 [security]
Update module github.com/jackc/pgx/v5 to v5.5.4 [SECURITY]
Sep 16, 2024
renovateBot
changed the title
Update module github.com/jackc/pgx/v5 to v5.5.4 [SECURITY]
Update module github.com/jackc/pgx/v5 to v5.5.4 [SECURITY] - autoclosed
Oct 21, 2024
renovateBot
changed the title
Update module github.com/jackc/pgx/v5 to v5.5.4 [SECURITY] - autoclosed
Update module github.com/jackc/pgx/v5 to v5.5.4 [SECURITY]
Oct 21, 2024
renovateBot
changed the title
Update module github.com/jackc/pgx/v5 to v5.5.4 [SECURITY]
Update module github.com/jackc/pgx/v5 to v5.5.4 [SECURITY] - autoclosed
Nov 26, 2024
renovateBot
changed the title
Update module github.com/jackc/pgx/v5 to v5.5.4 [SECURITY] - autoclosed
Update module github.com/jackc/pgx/v5 to v5.5.4 [SECURITY]
Nov 26, 2024
renovateBot
changed the title
Update module github.com/jackc/pgx/v5 to v5.5.4 [SECURITY]
Update module github.com/jackc/pgx/v5 to v5.5.4 [SECURITY] - autoclosed
Dec 8, 2024
renovateBot
changed the title
Update module github.com/jackc/pgx/v5 to v5.5.4 [SECURITY] - autoclosed
Update module github.com/jackc/pgx/v5 to v5.5.4 [SECURITY]
Dec 9, 2024
renovateBot
changed the title
Update module github.com/jackc/pgx/v5 to v5.5.4 [SECURITY]
Update module github.com/jackc/pgx/v5 to v5.5.4 [SECURITY] - autoclosed
Jan 6, 2025
renovateBot
changed the title
Update module github.com/jackc/pgx/v5 to v5.5.4 [SECURITY] - autoclosed
Update module github.com/jackc/pgx/v5 to v5.5.4 [SECURITY]
Jan 6, 2025
renovateBot
changed the title
Update module github.com/jackc/pgx/v5 to v5.5.4 [SECURITY]
Update module github.com/jackc/pgx/v5 to v5.5.4 [SECURITY] - autoclosed
Mar 18, 2025
renovateBot
changed the title
fix(deps): update module github.com/jackc/pgx/v5 to v5.5.4 [security]
fix(deps): update module github.com/jackc/pgx/v5 to v5.5.4 [security] - autoclosed
May 12, 2026
To trigger a single review, invoke the @coderabbitai review command.
⚙️ Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: defaults
Review profile: CHILL
Plan: Advanced
Run ID: 173c3157-aa5d-475a-a0dc-db571f069035
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
🔍 Trigger review
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Advanced
Run ID: ac2e68ad-1ba3-4f71-b219-eddb8618083e
📥 Commits
Reviewing files that changed from the base of the PR and between fcb1c98 and b877181.
⛔ Files ignored due to path filters (2)
pkgs/database/go.sum is excluded by !**/*.sum
pkgs/import/go.sum is excluded by !**/*.sum
📒 Files selected for processing (2)
pkgs/database/go.mod
pkgs/import/go.mod
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.
📝 Walkthrough
Both Go modules now require Go 1.25.0. The changes also update several dependencies and make github.com/lib/pq a direct dependency in the import module.
Changes: Go module updates
Layer / File(s)
Summary
Module versions and dependencies pkgs/database/go.mod, pkgs/import/go.mod
Both modules now require Go 1.25.0. The database module updates pgx/v5, pgservicefile, and golang.org/x/text. The import module updates these dependencies, golang.org/x/sync, and lists github.com/lib/pq as a direct dependency.
No new merge-blocking issue is established by these dependency updates. The import module’s pinned Nix build remains incompatible with its Go requirement and needs a separate fix.
Architecture risk:🔵 Low · up to b8771
The change affects 1 system.
Changed systems:pkgs
Architecture concerns
No architecture-level concerns identified.
Review details
Systems and components
observed — pkgs (service) was modified; 2 changed files map to changed impact.
Before / after behavior
observed — Modified behavior in pkgs/database/go.mod: The module’s Go version requirement changes from 1.21.3 to 1.25.0. pgx/v5 is upgraded from v5.2.0 to v5.9.2, pgservicefile from its 2022 pseudo-version to its 2024 pseudo-version, and golang.org/x/text from v0.7.0 to v0.29.0; the other listed dependencies remain unchanged.
observed — Modified behavior in pkgs/import/go.mod: The Go version changes from 1.21.3 to 1.25.0, and github.com/lib/pq v1.10.9 moves from the indirect dependency list to the direct requirements.
observed — Modified behavior in pkgs/import/go.mod: The indirect dependencies pgservicefile and pgx/v5 are upgraded to newer versions.
observed — Modified behavior in pkgs/import/go.mod: The indirect golang.org/x/sync and golang.org/x/text dependencies are upgraded; golang.org/x/sys remains at v0.15.0.
Pre-merge checks: 5
Passed checks (5 passed)
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title clearly identifies the primary change: updating github.com/jackc/pgx/v5 to v5.9.2 for security fixes. This matches the pull request objectives.
Docstring Coverage
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v5.2.0→v5.9.2pgx SQL Injection via Protocol Message Size Overflow
CVE-2024-27304 / GHSA-mrww-27vc-gghv
More information
Details
Impact
SQL injection can occur if an attacker can cause a single query or bind message to exceed 4 GB in size. An integer overflow in the calculated message size can cause the one large message to be sent as multiple messages under the attacker's control.
Patches
The problem is resolved in v4.18.2 and v5.5.4.
Workarounds
Reject user input large enough to cause a single query or bind message to exceed 4 GB in size.
Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:UReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Panic in Pipeline when PgConn is busy or closed in github.com/jackc/pgx
GHSA-fqpg-rq76-99pq
More information
Details
Pipeline can panic when PgConn is busy or closed.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HReferences
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:
e.g.
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:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NReferences
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
jackc/pgx (github.com/jackc/pgx/v5)
v5.9.2Compare Source
v5.9.1Compare Source
v5.9.0Compare Source
v5.8.0Compare Source
v5.7.6Compare Source
v5.7.5Compare Source
v5.7.4Compare Source
v5.7.3Compare Source
v5.7.2Compare Source
v5.7.1Compare Source
v5.7.0Compare Source
v5.6.0Compare Source
v5.5.5Compare Source
v5.5.4Compare Source
v5.5.3Compare Source
v5.5.2Compare Source
v5.5.1Compare Source
v5.5.0Compare Source
v5.4.3Compare Source
v5.4.2Compare Source
v5.4.1Compare Source
v5.4.0Compare Source
v5.3.1Compare Source
v5.3.0Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.