CVE-2026-41889

LOW CVSS 4.0: 2.3 EPSS 0.36%
Updated Jun 17, 2026
Jackc
Parameter Value
CVSS 2.3 (LOW)
Affected Versions before 5.9.2
Fixed In 5.9.2
Type CWE-89 (SQL Injection)
Vendor Jackc
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Jackc Pgx
cpe:2.3:a:jackc:pgx:*:*:*:*:*:go:*:*
5.9.2