CVE-2026-41889pgx: SQL Injection via placeholder confusion with dollar quoted string literals
- 2.3LowCVSS base score
- 0.36%Exploitation in 30 daysEPSS · top 70% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 16 days later
· 16 days later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 4.0 | Low2.3 | 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 |
| NVDNVD · Analyzed | 4.0 | Low2.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
- EPSS (exploitation in 30 days)
- 0.36% · top 70% of all CVEs (12 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 2.3.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/jackc/pgxGHSA-j88v-2chj-qfwx (opens in a new tab)
- Gogithub.com/jackc/pgx/v4GHSA-j88v-2chj-qfwx (opens in a new tab)
- Gogithub.com/jackc/pgx/v5GHSA-j88v-2chj-qfwx (opens in a new tab)
References
References3
- https://github.com/jackc/pgx/security/advisories/GHSA-j88v-2chj-qfwx (opens in a new tab)x_refsource_CONFIRM
- https://github.com/jackc/pgx/commit/60644f84918a8af66d14a4b0d865d4edafd955da (opens in a new tab)x_refsource_MISC
- https://github.com/jackc/pgx/releases/tag/v5.9.2 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-28805 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-j88v-2chj-qfwx (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-41889)Record last updated .