PT-2026-37159 · Pgx · Pgx
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
pgx versions prior to 5.9.2
Description
SQL injection can occur when the non-default simple protocol is used in conjunction with a dollar quoted string literal in the SQL query. If that string literal contains text that would be interpreted as a placeholder outside of a string literal and the value of that placeholder is controllable by an attacker, the issue can be exploited.
Recommendations
Update to version 5.9.2.
As a temporary workaround, do not use the simple protocol to execute queries that utilize dollar quoted string literals containing potential placeholders.
Exploit
Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Pgx