{"id":"CVE-2026-41889","revision":"15d59dfa8a9044eab894cde2f493ddea","records":[{"revision":"15d59dfa8a9044eab894cde2f493ddea","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-41889","aliases":[],"title":"pgx: SQL Injection via placeholder confusion with dollar quoted string literals","description":"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.","state":0,"publishedAt":"2026-05-08T15:53:00.251+00:00","modifiedAt":"2026-05-08T19:38:34.153+00:00","affected":[{"ecosystem":"Vendor product","name":"pgx","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"jackc\",\n                    \"product\": \"pgx\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 5.9.2\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":2.3,"severity":"LOW"}],"references":["https://github.com/jackc/pgx/security/advisories/GHSA-j88v-2chj-qfwx","https://github.com/jackc/pgx/commit/60644f84918a8af66d14a4b0d865d4edafd955da","https://github.com/jackc/pgx/releases/tag/v5.9.2"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-41889","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-41889","identifiers":["CVE-2026-41889"]},"retained":false,"historicalAffected":[]}],"coverage":[]}