Live threats

All CVEs / Jackc

CVE-2026-41889Jackc Pgx

Low 2.3

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pgx.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
jackcpgx< 5.9.2

Official advisories

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.