CVE-2026-41889: Golang github jackc pgx v5: pgx is a PostgreSQL driver and toolkit for Go
Affects golang-github-jackc-pgx-v5Source GCVE Database
Not known to be exploited · CVSS 2.3 Low · fixed in 5.9.2 : update golang-github-jackc-pgx-v5 when convenient.
Data as of 24 Nov 2026, 21:15 UTC
Contested
Critical score, yet low EPSS after six months- EPSS
- 0.3% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.9.2
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 8 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10golang-github-jackc-pgx-v5pkg:deb/ubuntu/golang-github-jackc-pgx-v5?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSgolang-github-jackc-pgx-v5pkg:deb/ubuntu/golang-github-jackc-pgx-v5?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2026-41889 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-41889 (opens in a new tab)
- github.com/jackc/pgx/security/advisories/GHSA-j88v-2chj-qfwx (opens in a new tab)
- github.com/jackc/pgx/commit/60644f84918a8af66d14a4b0d865d4edafd955da (opens in a new tab)
- github.com/jackc/pgx/releases/tag/v5.9.2 (opens in a new tab)