CVE-2026-41889

NameCVE-2026-41889
Descriptionpgx 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1136084

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-github-jackc-pgx-v5 (PTS)forky, sid5.9.2-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-github-jackc-pgx-v5source(unstable)(unfixed)1136084

Notes

https://github.com/jackc/pgx/security/advisories/GHSA-j88v-2chj-qfwx
Fixed by: https://github.com/jackc/pgx/commit/60644f84918a8af66d14a4b0d865d4edafd955da (v5.9.2)
check the other golang-github-jackc-pgx* sources

Search for package or bug name: Reporting problems