Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Two packages are affected: github.com/jackc/pgx and github.com/jackc/pgx/v4, both before 4.18.2, fixed in 4.18.2. An attacker who can supply both parameter values for a query that uses the non-default simple protocol, with a numeric placeholder directly after a minus and a string placeholder on the same line, can inject SQL. Upgrade to 4.18.2. Alternatively, avoid the simple protocol or do not place a minus directly before a placeholder.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.1 | High | 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0085, the 58th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:15 UTC First seen by agentprime
- 31 Oct 2026, 14:15 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-m7wr-2xf7-cm9p
- OSV: GHSA-m7wr-2xf7-cm9p
- github.com/jackc/pgx/security/advisories/GHSA-m7wr-2xf7-cm9p
- nvd.nist.gov/vuln/detail/CVE-2024-27289
- github.com/jackc/pgx/commit/f94eb0e2f96782042c96801b5ac448f44f0a81df
- github.com/jackc/pgx
- www.sonarsource.com/blog/double-dash-double-trouble-a-subtle-sql-injection-flaw