CVSS 4.0
2.3 lowCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NLow (2.3) in jackc pgx. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/jackc/pgx/v5 5.9.2.
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hgithub.com/jackc/pgx/v5 (Go): fixed in 5.9.2Explain CVE-2026-41889 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-41889?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-41889?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-41889 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| jackc:pgx | before 5.9.2 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-j88v-2chj-qfwx | Go | github.com/jackc/pgx/v5 | <5.9.2 | 5.9.2 |
| GHSA-j88v-2chj-qfwx | Go | github.com/jackc/pgx/v4 | <=4.18.3 | no fix published |
| GHSA-j88v-2chj-qfwx | Go | github.com/jackc/pgx | <=3.6.2 | no fix published |
| GO-2026-5004 | Go | github.com/jackc/pgx | all versions | no fix published |
| GO-2026-5004 | Go | github.com/jackc/pgx/v4 | all versions | no fix published |
| GO-2026-5004 | Go | github.com/jackc/pgx/v5 | <5.9.2 | 5.9.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 14 | golang-github-jackc-pgx-v5 | no fix listed | DEBIAN-CVE-2026-41889 |
| Ubuntu | 26.04:LTS, 26.10 | golang-github-jackc-pgx-v5 | no fix listed | UBUNTU-CVE-2026-41889 |
| Red Hat | hummingbird:1 | caddy | 0:2.11.3-0.1.hum1 | RHSA-2026:16133 |
| Red Hat | hummingbird:1 | cosign | 0:3.1.1-0.1.hum1 | RHSA-2026:25138 |
| Red Hat | hummingbird:1 | go-fdo-server, go-fdo-server-owner, go-fdo-server-rendezvous and 1 more | 0:1.0.1-0.2.hum1 | RHSA-2026:15856 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP7 | alloy | 1.17.1-150700.15.23.1 | SUSE-SU-2026:2824-1 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | alloy | 1.17.0-160000.1.1 | SUSE-SU-2026:22575-1 |
| openSUSE | Leap 16.0 | alloy | 1.17.0-160000.1.1 | openSUSE-SU-2026:21251-1 |
| openSUSE | Leap 16.0 | govulncheck-vulndb | 0.0.20260723T184607-160000.1.1 | openSUSE-SU-2026:21483-1 |
| openSUSE | Tumbleweed | alloy | 1.16.1-2.1 | openSUSE-SU-2026:10992-1 |
| openSUSE | Tumbleweed | steampipe | 2.4.4-1.1 | openSUSE-SU-2026:10976-1 |
| Azure Linux | 3 | keda | 2.14.1-15 | AZL-86322 |
| Azure Linux | 3 | telegraf | 1.31.0-22 | AZL-86325 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Moderate.
Red Hat has rated this flaw as Moderate because the SQL injection vulnerability in pgx can only be triggered when the non-default simple protocol is used in conjunction with specific query constructions involving PostgreSQL dollar-quoted string literals. Successful exploitation requires multiple uncommon preconditions, including attacker control of placeholder values within affected queries. As the issue is limited to particular application usage patterns and does not affect default pgx configurations, the overall risk is reduced despite the potential for query manipulation in vulnerable applications.The strongest argument for a Moderate rating is that this is not a generic SQL injection affecting all pgx users; it is a narrowly scoped flaw requiring a non-default mode and specific application behavior
Avoid using the non-default simple protocol in applications that use the pgx PostgreSQL driver for Go. The vulnerability is contingent on this non-default protocol and specific SQL query constructs. Configuring applications to use the default extended protocol prevents this issue. If the simple protocol is necessary, ensure that dollar-quoted string literals do not contain attacker-controlled placeholder values.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Advanced Cluster Security 4.9 | advanced-cluster-security/rhacs-main-rhel8:1785413210 | Fixed 2026-07-30 | RHSA-2026:48872 |
| Red Hat Advanced Cluster Security for Kubernetes for IBM Power, little endian 4.10 | advanced-cluster-security/rhacs-main-rhel8:1785420959 | Fixed 2026-07-30 | RHSA-2026:48913 |
| Red Hat Hardened Images | go-fdo-server-main-1.0.1-0.2.hum1 | Fixed 2026-05-09 | RHSA-2026:15856 |
| Red Hat Hardened Images | caddy-main-2.11.3-0.1.hum1 | Fixed 2026-05-12 | RHSA-2026:16133 |
| Red Hat Hardened Images | cosign-main-3.1.1-0.1.hum1 | Fixed 2026-06-10 | RHSA-2026:25138 |
| Assisted Installer for Red Hat OpenShift Container Platform 2 | rhai/assisted-installer-agent-rhel9 | Fix deferred | |
| Assisted Installer for Red Hat OpenShift Container Platform 2 | rhai/assisted-installer-controller-rhel9 | Fix deferred | |
| Assisted Installer for Red Hat OpenShift Container Platform 2 | rhai/assisted-installer-rhel9 | Fix deferred | |
| Cryostat 4 | cryostat/cryostat-storage-rhel9 | Fix deferred | |
| Custom Metric Autoscaler operator for Red Hat Openshift | custom-metrics-autoscaler/custom-metrics-autoscaler-adapter-rhel9 | Fix deferred | |
| Custom Metric Autoscaler operator for Red Hat Openshift | custom-metrics-autoscaler/custom-metrics-autoscaler-admission-webhooks-rhel9 | Fix deferred | |
| Custom Metric Autoscaler operator for Red Hat Openshift | custom-metrics-autoscaler/custom-metrics-autoscaler-rhel9 | Fix deferred | |
| Custom Metric Autoscaler operator for Red Hat Openshift | custom-metrics-autoscaler/custom-metrics-autoscaler-rhel9-operator | Fix deferred | |
| Multicluster Engine for Kubernetes | multicluster-engine/assisted-installer-agent-rhel8 | Fix deferred | |
| Multicluster Engine for Kubernetes | multicluster-engine/assisted-installer-agent-rhel9 | Fix deferred | |
| Multicluster Engine for Kubernetes | multicluster-engine/assisted-installer-controller-rhel8 | Fix deferred | |
| Multicluster Engine for Kubernetes | multicluster-engine/assisted-installer-controller-rhel9 | Fix deferred | |
| Multicluster Engine for Kubernetes | multicluster-engine/assisted-installer-rhel8 | Fix deferred | |
| Multicluster Engine for Kubernetes | multicluster-engine/assisted-installer-rhel9 | Fix deferred | |
| Multicluster Engine for Kubernetes | multicluster-engine/assisted-service-8-rhel8 | Fix deferred | |
| 120 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-41889.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.