CVE-2026-41889Jackc Pgx
Low 2.3
Follow: this CVE · Jackc · Jackc Pgx We alert you by email or Slack (account required).
- Priority
- 14
- CVSS 4.0
- 2.3
- EPSS
- —
- Auth required
- Yes
- Published
- May 8, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
pgx is a PostgreSQL driver and toolkit for Go. Prior to version 5.9.2, SQL injection can occur when the non-default simple protocol is used, a dollar quoted string literal is used in the SQL query, that string literal contains text that would be would be interpreted as a placeholder outside of a string literal, and the value of that placeholder is controllable by the attacker. This issue has been patched in version 5.9.2.
What to do
- Apply the vendor's security update for Pgx.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/jackc/pgx |
≤ 3.6.2 |
no fixed version | — |
| Go | github.com/jackc/pgx |
all |
no fixed version | — |
| Go | github.com/jackc/pgx/v4 |
≤ 4.18.3 |
no fixed version | — |
| Go | github.com/jackc/pgx/v4 |
all |
no fixed version | — |
| Go | github.com/jackc/pgx/v5 |
< 5.9.2 |
5.9.2 |
go get github.com/jackc/pgx/v5@v5.9.2 |
| Go | github.com/jackc/pgx/v5 |
< 5.9.2 |
5.9.2 |
go get github.com/jackc/pgx/v5@v5.9.2 |
Per OSV / GitHub Advisories (GHSA-j88v-2chj-qfwx, GO-2026-5004). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jackc | pgx | < 5.9.2 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Security update for alloy · SUSE · SUSE-SU-2026:2824-1 · Jul 9, 2026 Critical
- Security update for alloy · SUSE · openSUSE-SU-2026:21251-1 · Jul 7, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:25138 · Jun 11, 2026 High
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:16133 · May 21, 2026 Low
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:15856 · May 20, 2026 Low
Also: SUSE (+3)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Release Notes
- github.com Mitigation Vendor Advisory