Is github.com/jackc/pgx/v4 4.18 vulnerable?
Go · 4 releases from 4.18.0 to 4.18.3 · latest github.com/jackc/pgx/v4 is 4.18.3 · checked 18 Nov 2026
Yes: 2 known advisories
Yes. github.com/jackc/pgx/v4 4.18.3, the last 4.18 release, is affected by 2 known security advisories (2 low), including CVE-2026-41889, CVE-2026-41889. 4 more affect earlier 4.18.x releases. At least one has no fixed release yet.
Is your project on an affected github.com/jackc/pgx/v4?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Advisories affecting github.com/jackc/pgx/v4 4.18.3
SQL Injection via placeholder confusion with dollar quoted string literals in github.com/jackc/pgx
- Affected
- All versions
- Fixed in
- No fix released
pgx: SQL Injection via placeholder confusion with dollar quoted string literals
- Affected
- <=4.18.3
- Fixed in
- No fix released
Fixed within 4.18.x, affecting earlier releases
SQL injection in github.com/jackc/pgproto3 and github.com/jackc/pgx
- Affected
- <4.18.2
- Fixed in
- 4.18.2
SQL injection in github.com/jackc/pgx/v4
- Affected
- <4.18.2
- Fixed in
- 4.18.2
pgx SQL Injection via Protocol Message Size Overflow
- Affected
- <4.18.2
- Fixed in
- 4.18.2
pgx SQL Injection via Line Comment Creation
- Affected
- <4.18.2
- Fixed in
- 4.18.2
Every github.com/jackc/pgx/v4 4.18.x release
Affected: 4.18.0 to 4.18.3.
| Version | Known advisories |
|---|---|
| github.com/jackc/pgx/v4 4.18.3 | CVE-2026-41889, CVE-2026-41889 |
| github.com/jackc/pgx/v4 4.18.2 | CVE-2026-41889, CVE-2026-41889 |
| github.com/jackc/pgx/v4 4.18.1 | CVE-2026-41889, CVE-2026-41889, CVE-2024-27304, CVE-2024-27289, CVE-2024-27304, CVE-2024-27289 |
| github.com/jackc/pgx/v4 4.18.0 | CVE-2026-41889, CVE-2026-41889, CVE-2024-27304, CVE-2024-27289, CVE-2024-27304, CVE-2024-27289 |
Which of your client projects are still on github.com/jackc/pgx/v4 4.18?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact github.com/jackc/pgx/v4 version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other github.com/jackc/pgx/v4 versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Go registry. Refreshed daily.