CVE-2026-41889
published low CVSS 4.0 · 2.3pgx: SQL Injection via placeholder confusion with dollar quoted string literals
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jackc | — | pgx< 5.9.2 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | SLE-15-SP7 | alloyaarch64 | Advisory build | 1.17.1-150700.15.23.1 | SUSE-SU-2026:2824-1 |
| SUSE / openSUSE | SLE-15-SP7 | alloyppc64le | Advisory build | 1.17.1-150700.15.23.1 | SUSE-SU-2026:2824-1 |
| SUSE / openSUSE | SLE-15-SP7 | alloys390x | Advisory build | 1.17.1-150700.15.23.1 | SUSE-SU-2026:2824-1 |
| SUSE / openSUSE | SLE-15-SP7 | alloyx86_64 | Advisory build | 1.17.1-150700.15.23.1 | SUSE-SU-2026:2824-1 |
| SUSE / openSUSE | SLE-16 | alloyaarch64 | Advisory build | 1.17.0-160000.1.1 | SUSE-SU-2026:22575-1 |
| SUSE / openSUSE | SLE-16 | alloyppc64le | Advisory build | 1.17.0-160000.1.1 | SUSE-SU-2026:22575-1 |
| SUSE / openSUSE | SLE-16 | alloys390x | Advisory build | 1.17.0-160000.1.1 | SUSE-SU-2026:22575-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-16 | alloyx86_64 | Advisory build | 1.17.0-160000.1.1 | SUSE-SU-2026:22575-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | alloyaarch64 | Advisory build | 1.17.0-160000.1.1 | OPENSUSE-SU-2026:21251-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | alloyppc64le | Advisory build | 1.17.0-160000.1.1 | OPENSUSE-SU-2026:21251-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | alloys390x | Advisory build | 1.17.0-160000.1.1 | OPENSUSE-SU-2026:21251-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | alloyx86_64 | Advisory build | 1.17.0-160000.1.1 | OPENSUSE-SU-2026:21251-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | alloyaarch64 | Advisory build | 1.16.1-2.1 | OPENSUSE-SU-2026:10992-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | alloyppc64le | Advisory build | 1.16.1-2.1 | OPENSUSE-SU-2026:10992-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | alloys390x | Advisory build | 1.16.1-2.1 | OPENSUSE-SU-2026:10992-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | alloyx86_64 | Advisory build | 1.16.1-2.1 | OPENSUSE-SU-2026:10992-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | steampipeaarch64 | Advisory build | 2.4.4-1.1 | OPENSUSE-SU-2026:10976-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | steampipeppc64le | Advisory build | 2.4.4-1.1 | OPENSUSE-SU-2026:10976-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | steampipes390x | Advisory build | 2.4.4-1.1 | OPENSUSE-SU-2026:10976-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | steampipex86_64 | Advisory build | 2.4.4-1.1 | OPENSUSE-SU-2026:10976-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.3 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jackc | pgx | < 5.9.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
3Provider assertions
2GitHub_M · cna
pgx: SQL Injection via placeholder confusion with dollar quoted string literals
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 842f153f86bd024ea8aae18ff05b4f0d0da1e858e94fbd852c2603ee2a416c04
- Ingested
- 23 Sep 2026, 09:14:00 UTC
- Source record
- Official CVE record