CVE-2026-41889
CVE-2026-41889 · pgx: SQL Injection via placeholder confusion with dollar quoted string literals
CVSS 2.3 · Low · EPSS 0.5%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- pgxNo fix published
- golang-github-jackc-pgx-v5 Debian 14No fix published
- golang-github-jackc-pgx-v5 Ubuntu 26.10No fix published
- golang-github-jackc-pgx-v5 Ubuntu 26.04 LTSNo fix published
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="golang-github-jackc-pgx-v5"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2026:21483-1 · openSUSE Leap 16.0 ·
- SUSE-SU-2026:2824-1 · SUSE Linux Enterprise Module for Basesystem 15 SP7 ·
- openSUSE-SU-2026:21251-1 · openSUSE Leap 16.0 ·
- SUSE-SU-2026:22575-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
- RHSA-2026:25138 · Red Hat hummingbird 1 ·
- openSUSE-SU-2026:10992-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2026:10976-1 · openSUSE Tumbleweed ·
- RHSA-2026:16133 · Red Hat hummingbird 1 ·
- RHSA-2026:15856 · Red Hat hummingbird 1 ·
Stack: system
Affected products and versions
pgx
- Versions
- < 5.9.2: Affected
No fix published
golang-github-jackc-pgx-v5 Debian 14
- Versions
- 5.8.0-1
- 5.9.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-jackc-pgx-v5 Ubuntu 26.10
- Versions
- 5.8.0-1
- 5.9.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-jackc-pgx-v5 Ubuntu 26.04 LTS
- Versions
- 5.8.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published