CVE-2026-41889: pgx is a PostgreSQL driver and toolkit for Go
CVE-2026-41889 is a critical-severity flaw (CVSS 9.8) affecting pgx. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 71%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2026-05-08 |
| Last modified | 2026-10-26 |
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-41889?
pgx: upgrade to 5.9.2. Exact commands for each OS are on this page.
Is CVE-2026-41889 being exploited?
CVE-2026-41889 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-41889 affect?
CVE-2026-41889 affects pgx. Severity is critical (CVSS 9.8). 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 wou
How urgent is CVE-2026-41889?
Priority 47/100. Critical severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-33816 CRITICAL 9.8 UPGRADE Memory-safety vulnerability in github.com/jackc/pgx/v5.