Skip to main content
CVE-2026-6464VulnerabilityPublished Updated

Microsoft · PostgreSQL psql COPY FROM STDIN early failure processes data lines as psql commands

Affects MicrosoftSource GCVE Database

0
Compare
Authoritative record:CVE-2026-6464· High 8.1

Not known to be exploited · CVSS 8.1 High · fixed in 18.6 : patch Microsoft soon.

Data as of 6 Dec 2026, 11:13 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 18.6, 17.11, 16.15 +3
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 13 Aug 2026

  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 6 Dec 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
PostgreSQLAffected
  • >=18 <18.6
Fixed in
  • 18.6
PostgreSQLAffected
  • >=17 <17.11
Fixed in
  • 17.11
PostgreSQLAffected
  • >=16 <16.15
Fixed in
  • 16.15
PostgreSQLAffected
  • >=15 <15.19
Fixed in
  • 15.19
PostgreSQLAffected
  • <14.24
Fixed in
  • 14.24
Postgresqlpostgresql/postgresqlpkg:deb/postgresql/postgresqlOther threatsAffected
  • <14.24
  • <15.19
  • <16.15
  • <17.11
  • <18.5
Fixed in
  • 14.24
  • 15.19
  • 16.15
  • 17.11
  • 18.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The vulnerability involves PostgreSQL's psql tool where an early failure during a COPY FROM STDIN operation causes data lines to be processed as psql commands. This behavior can lead to unintended command execution within the psql environment.

References

Community reviews

Loading reviews…