{"id":"CVE-2026-41889","state":"PUBLISHED","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.","publishedAt":"2026-05-08T15:53:00.251Z","updatedAt":"2026-05-08T19:38:34.153Z","severity":{"score":2.3,"label":"Low","version":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["jackc pgx"],"affected":[{"vendor":"jackc","product":"pgx","versions":[{"version":"< 5.9.2","status":"affected"}]}],"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"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/41xxx/CVE-2026-41889.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-41889","state":"PUBLISHED","datePublished":"2026-05-08T15:53:00.251Z","dateUpdated":"2026-05-08T19:38:34.153Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-22T15:11:54.671Z"},"containers":{"cna":{"title":"pgx: SQL Injection via placeholder confusion with dollar quoted string literals","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"jackc","product":"pgx","versions":[{"version":"< 5.9.2","status":"affected"}]}],"references":[{"url":"https://github.com/jackc/pgx/security/advisories/GHSA-j88v-2chj-qfwx","name":"https://github.com/jackc/pgx/security/advisories/GHSA-j88v-2chj-qfwx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jackc/pgx/commit/60644f84918a8af66d14a4b0d865d4edafd955da","name":"https://github.com/jackc/pgx/commit/60644f84918a8af66d14a4b0d865d4edafd955da","tags":["x_refsource_MISC"]},{"url":"https://github.com/jackc/pgx/releases/tag/v5.9.2","name":"https://github.com/jackc/pgx/releases/tag/v5.9.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":2.3,"baseSeverity":"LOW","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-08T15:53:00.251Z"},"source":{"advisory":"GHSA-j88v-2chj-qfwx","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-08T19:38:09.336936Z","id":"CVE-2026-41889","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-08T19:38:34.153Z"}}]}}}