CVE-2026-41889: Vulnerability in Jackc Pgx
Critical. 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...
Go, CWE-89
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-j88v-2chj-qfwx
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-89
- Published
- 22 Apr 2026
- Last change
- 26 Oct 2026
- Ecosystem
- Go
Affected products
Affected versions and the first fixed release
- Jackc Pgx Before 5.9.2. Fixed in 5.9.2
Affected packages
Vulnerable version ranges and fixed releases
- github.com/jackc/pgx/v5 Go, Affected before 5.9.2. Fixed in 5.9.2
- github.com/jackc/pgx/v4 Go, Affected through 4.18.3. No fixed version recorded
- github.com/jackc/pgx Go, Affected through 3.6.2. No fixed version recorded
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
- github.com/jackc/pgx/commit/60644f84918a8af66d14a4b0d865d4edafd955da
- github.com/jackc/pgx/releases/tag/v5.9.2
Related
- Pgx vulnerabilities Recent advisories, watch this product