Vulnerability GO-2026-5004

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
4 months ago
June 22, 2026 at 06:40 PM UTC
SQL Injection via placeholder confusion with dollar quoted string literals in github.com/jackc/pgx
*
*

Summary

SQL Injection via placeholder confusion with dollar quoted string literals in github.com/jackc/pgx

Details

SQL Injection can occur when using the non-default simple protocol 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 the attacker, an injection may be possible.

For example, an attacker could provide a value that includes a closing dollar quote followed by malicious SQL commands. This is unlikely to occur outside of a contrived scenario.

Timeline

Published
4 months ago
June 22, 2026 at 06:40 PM UTC
Fixed (v5.9.2)
6 months ago
April 19, 2026 at 12:37 AM UTC
Last Modified
4 months ago
June 25, 2026 at 06:45 PM UTC