CVE-2026-41889: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in jackc pgx
CVE-2026-41889 is a low-severity SQL injection vulnerability in the jackc pgx PostgreSQL driver for Go. It affects versions prior to 5.9.2 when using the non-default simple protocol with dollar quoted string literals that contain text interpreted as placeholders controllable by an attacker. This vulnerability has been patched in version 5.9.2.
AI Analysis
Technical Summary
The vulnerability in jackc pgx arises when the non-default simple protocol is used along with dollar quoted string literals in SQL queries. If such a string literal contains text that would be interpreted as a placeholder outside the string literal, and the attacker can control the value of that placeholder, SQL injection may occur. This issue was addressed and fixed in pgx version 5.9.2.
Potential Impact
An attacker with limited privileges and no user interaction can exploit this vulnerability to perform SQL injection under specific conditions involving the simple protocol and dollar quoted string literals. The CVSS 4.0 base score is 2.3, indicating low severity and limited impact.
Mitigation Recommendations
Upgrade to pgx version 5.9.2 or later, where this SQL injection vulnerability has been fixed. No other mitigation steps are indicated by the vendor advisory.
CVE-2026-41889: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in jackc pgx
Description
CVE-2026-41889 is a low-severity SQL injection vulnerability in the jackc pgx PostgreSQL driver for Go. It affects versions prior to 5.9.2 when using the non-default simple protocol with dollar quoted string literals that contain text interpreted as placeholders controllable by an attacker. This vulnerability has been patched in version 5.9.2.
CVSS v4.0
Score 2.3low
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in jackc pgx arises when the non-default simple protocol is used along with dollar quoted string literals in SQL queries. If such a string literal contains text that would be interpreted as a placeholder outside the string literal, and the attacker can control the value of that placeholder, SQL injection may occur. This issue was addressed and fixed in pgx version 5.9.2.
Potential Impact
An attacker with limited privileges and no user interaction can exploit this vulnerability to perform SQL injection under specific conditions involving the simple protocol and dollar quoted string literals. The CVSS 4.0 base score is 2.3, indicating low severity and limited impact.
Mitigation Recommendations
Upgrade to pgx version 5.9.2 or later, where this SQL injection vulnerability has been fixed. No other mitigation steps are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-22T15:11:54.671Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69fe0d85cbff5d8610fb995a
Added to database: 05/08/2026, 16:21:25 UTC
Last enriched: 06/03/2026, 21:14:13 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 117
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.