Skip to main content
VulnerabilityPublished Updated

CVE-2024-27289: Golang github jackc pgx · pgx is a PostgreSQL driver and toolkit for Go

Affects golang-github-jackc-pgxSource GCVE Database

0
Compare

Not known to be exploited · CVSS 8.1 High · fixed in 4.18.2 : patch golang-github-jackc-pgx soon.

Data as of 24 Nov 2026, 21:14 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.8% chance of exploitation in 30 days – higher than 58% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.18.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Mar 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 26.10golang-github-jackc-pgxpkg:deb/ubuntu/golang-github-jackc-pgx?arch=source&distro=stonkingOther threatsAffected
  • =4.18.1-2
  • =4.18.3-2
Fixed in–
Ubuntu 26.04 LTSgolang-github-jackc-pgxpkg:deb/ubuntu/golang-github-jackc-pgx?arch=source&distro=resoluteOther threatsAffected
  • =4.18.1-2
Fixed in–
Ubuntu 25.10golang-github-jackc-pgxpkg:deb/ubuntu/golang-github-jackc-pgx?arch=source&distro=questingOther threatsAffected
  • =4.18.1-1
  • =4.18.1-2
Fixed in–
Ubuntu 24.04 LTSgolang-github-jackc-pgxpkg:deb/ubuntu/golang-github-jackc-pgx?arch=source&distro=nobleOther threatsAffected
  • =4.15.0-4
  • =4.18.1-1
Fixed in–
Ubuntu 22.04 LTSgolang-github-jackc-pgxpkg:deb/ubuntu/golang-github-jackc-pgx?arch=source&distro=jammyOther threatsAffected
  • =3.6.2-2
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 4.18.2, SQL injection can occur when all of the following conditions are met: the non-default simple protocol is used; a placeholder for a numeric value must be immediately preceded by a minus; there must be a second placeholder for a string value after the first placeholder; both must be on the same line; and both parameter values must be user-controlled. The problem is resolved in v4.18.2. As a workaround, do not use the simple protocol or do not place a minus directly before a placeholder.

References

Community reviews

Loading reviews…