{"cve":"CVE-2026-41889","nvd":{"published":"2026-05-08T17:16:31.040","modified":"2026-10-26T18:10:00.173","status":"Analyzed","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.","cvss_v4":{"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},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-89"],"references":["https://github.com/jackc/pgx/commit/60644f84918a8af66d14a4b0d865d4edafd955da","https://github.com/jackc/pgx/releases/tag/v5.9.2","https://github.com/jackc/pgx/security/advisories/GHSA-j88v-2chj-qfwx"],"products":["jackc:pgx"],"source":"nvd","synced_at":"2026-10-26T18:27:13.530666824+00:00"},"epss":{"cve":"CVE-2026-41889","score":0.00356,"percentile":0.29045,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-j88v-2chj-qfwx","url":"https://osv.dev/vulnerability/GHSA-j88v-2chj-qfwx","summary":"pgx: SQL Injection via placeholder confusion with dollar quoted string literals","modified":"2026-09-10T03:51:02.204456790Z","packages":[{"ecosystem":"Go","name":"github.com/jackc/pgx/v5","purl":"pkg:golang/github.com/jackc/pgx/v5","ranges":["<5.9.2"],"fixed":["5.9.2"]},{"ecosystem":"Go","name":"github.com/jackc/pgx/v4","purl":"pkg:golang/github.com/jackc/pgx/v4","ranges":["<=4.18.3"],"fixed":[]},{"ecosystem":"Go","name":"github.com/jackc/pgx","purl":"pkg:golang/github.com/jackc/pgx","ranges":["<=3.6.2"],"fixed":[]}]},{"id":"GO-2026-5004","url":"https://osv.dev/vulnerability/GO-2026-5004","summary":"SQL Injection via placeholder confusion with dollar quoted string literals in github.com/jackc/pgx","modified":"2026-06-25T18:45:14.963912684Z","packages":[{"ecosystem":"Go","name":"github.com/jackc/pgx","purl":"pkg:golang/github.com/jackc/pgx","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/jackc/pgx/v4","purl":"pkg:golang/github.com/jackc/pgx/v4","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/jackc/pgx/v5","purl":"pkg:golang/github.com/jackc/pgx/v5","ranges":["<5.9.2"],"fixed":["5.9.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}