TL;DR

PostgreSQL 18.7, 17.12, 16.16, 15.20 and 14.25, released 2026-11-12, fix 52 CVEs. Thirty-two score 8.8. The lead id, CVE-2026-6460, lets a database user who can create objects run code as the operating-system user that runs the server. One id needs no login: CVE-2026-116322 (5.3) lets a network client restart a PostgreSQL 18 server. Several ids are in the client tools, so update pg_dump, pg_restore, psql, reindexdb and vacuumdb where they run. PostgreSQL 14.25 is the last 14 release. If a provider runs your database, read its notice. This sweep opened no provider notice.

What happened

The PostgreSQL Global Development Group published the update on 2026-11-12. The announcement states 52 vulnerabilities and over 140 bug fixes. A count of the ids in the announcement, made in code on 2026-11-14, gives 52 distinct ids and 32 with a score of 8.8.

Id Score Project's title Who can use it
CVE-2026-6460 8.8 type confusion after ALTER ... SET DATA TYPE executes arbitrary code "an object creator", per the project
CVE-2026-18447 8.8 output parameter type confusion executes arbitrary code logged-in user
CVE-2026-14661 8.1 dblink and subscriptions can append to arbitrary files logged-in user
CVE-2026-120145 8.8 logical replication can write to subscriber system catalogs replication peer
CVE-2026-116314 8.8 pg_restore executes arbitrary code on a non-plain archive whoever supplies the archive
CVE-2026-116330 8.8 pg_dump tar restore.sql fails to block psql command injection a compromised source server
CVE-2026-116318 8.8 pg_dump not-null constraint name allows SQL injection whoever controls object names in the dumped database
CVE-2026-116325 8.0 reindexdb index name quoting allows SQL injection whoever controls index names
CVE-2026-116313 7.2 vacuumdb --missing-stats-only lets a database owner run code as the vacuumdb user database owner
CVE-2026-116322 5.3 pre-authentication cancel request can leak a spinlock unauthenticated network client, PostgreSQL 18 only
CVE-2026-116311, CVE-2026-120154, CVE-2026-16237 5.4, 4.3, 5.4 row security policies dropped or bypassed through DROP OWNED and INSERT ... ON CONFLICT logged-in user

The "who can use it" column is inferred from the project's titles, except for CVE-2026-6460 and CVE-2026-116322, which were read as CNA records. The ids not in this table are on the announcement page. Many are in plperl, pltcl, plpgsql and full-text search functions.

The CNA record for CVE-2026-6460 (PostgreSQL, 2026-11-12, CVSS 3.1 8.8, AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) says: "Type confusion in PostgreSQL allows an object creator to execute arbitrary code as the operating system user running the database". It says other DDL routes exist. The record for CVE-2026-116322 says versions before PostgreSQL 18 are unaffected.

Mehmet Ince, the researcher The Hacker News credits among more than a dozen reporters, published a write-up dated 2026-11-09. It says the upstream security commits landed on 2026-11-09. The release is dated 2026-11-12. Both dates are printed here as read. The write-up says he sent reports and proofs of concept to AWS (Aurora and RDS) and Microsoft (Azure PostgreSQL) in mid-August 2026, that Supabase "received the full details around mid August", that Ubicloud and ClickHouse were told at the end of August, and that Databricks and Google (AlloyDB) received reports. It gives no patch status for any of them. That list is the researcher's list of who was notified. It is not a statement from any provider.

The Hacker News (2026-11-13) reports that the write-up shows a crash from a "lowest-privileged login role" and leaves out the final step. It also says none of its sources state whether an account with only default privileges can go from the crash to code execution. It reports no exploitation.

Am I affected?

  • You run PostgreSQL 14 to 18 below the fixed minor version for your major. Check the version your package manager, container tag or provider console reports against 18.7, 17.12, 16.16, 15.20 and 14.25.
  • You run PostgreSQL 13 or older. The project fixed nothing there.
  • Your application hands out database roles that can create or alter objects: per-tenant schemas, preview branches, an agent with a SQL tool, a migration runner fed by generated code.
  • A CI job or laptop runs pg_restore or psql on dumps from databases someone else controls.
  • A PostgreSQL 18 port is reachable from an untrusted network.

If you are affected

  1. Self-hosted: update to the fixed minor release for your major. The announcement says no dump and reload is needed.
  2. Update the client tools on every machine that runs them, including CI images.
  3. Follow the announcement's post-update steps where they apply: reindex GiST indexes that use gist_trgm_ops, reindex B-tree indexes on bpchar columns declared without a length, and take a new full backup if you use incremental backups.
  4. Managed service: find the provider's notice for this release. Until you have it, treat every role that can create objects as able to reach the host. Remove CREATE rights that tenants, agents and generated code do not need. This step is this file's advice.
  5. PostgreSQL 14: plan the major upgrade. 14.25 is the final release.

Prevention

Update 2026-11-19: Depthfirst publishes proofs of concept for a second code-execution bug in the same release, CVE-2026-116331

Depthfirst published "Narrow Grants, Wide Engines" on 2026-11-18, by Zheng Yu. The Hacker News reports that it includes proofs of concept against PostgreSQL, MySQL and ClickHouse, and an Oracle chain.

  • The PostgreSQL bug is CVE-2026-116331. PostgreSQL says it "allows an object creator to execute arbitrary code as the operating system user running the database".
  • It is fixed in the same releases as above: 18.7, 17.12, 16.16, 15.20 and 14.25.
  • The Hacker News says a plain login role can reach it through PostgreSQL's default TEMPORARY privilege, without access to application tables.
  • The Hacker News says the chains "were not reproduced independently" and that no attack has been seen.

If you have not upgraded since 2026-11-12, do it now. The Hacker News also relays one hardening step: remove the TEMPORARY privilege from accounts that do not need it. No provider statement was read on 2026-11-19.

Sources

The vendor is the primary. The Hacker News and the researcher's write-up are the second and third sources.