Short answer: PostgreSQL patched 52 flaws, including a 22-year-old bug that could allow authenticated users to execute code. Update to the latest version and rebuild extensions.

TL;DR

  • 52 security issues fixed in PostgreSQL
  • Authenticated users can run code if not patched
  • Update to PostgreSQL 18.7, 17.12, 16.16, 15.20, or 14.25
  • Rebuild or update all extensions
  • Restrict network access to trusted hosts

What is CVE-2026-6460?

A type confusion flaw in PostgreSQL allows an authenticated user to change a column's type, causing a server crash or arbitrary code execution. This affects PostgreSQL versions before 18.7, 17.12, 16.16, 15.20, and 14.25. The fix requires updating the server and rebuilding extensions.

RCE (remote code execution)
An attacker can run their own commands on someone else's computer or server over the internet.
Vulnerability
A mistake or weakness in software that an attacker can misuse.
Patch
A software update from the maker that fixes a security weakness.
Exploit
Code or steps that take advantage of a weakness.

Key facts

Reported byThe Hacker News
Date reported13 Nov 2026
CVECVE-2026-6460
CVSS8.8 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
WeaknessCWE-843 (see NVD)
CISA KEVNot listed (no confirmed exploitation in KEV)
Vendor advisorywww.postgresql.org
CVECVE-2026-116322
CVSS5.3 MEDIUM CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
WeaknessCWE-667 (see NVD)
CISA KEVNot listed (no confirmed exploitation in KEV)
Vendor advisorywww.postgresql.org
Affected productPostgreSQL
Published in NVD2026-11-12 (CVE-2026-6460)
Published in NVD2026-11-12 (CVE-2026-116322)

How it works

Attack flow: Attacker reaches the PostgreSQL over the internet / network then Attacker needs a normal (low-privilege) account then Sends crafted input that triggers the flaw then Impact: data can be read, data or code can be changed, service crashes or stops
Built from the official CVSS vectors of CVE-2026-6460 (NVD)

A flaw in PostgreSQL lets a user with create object permissions run code as the server’s OS user. Changing a field's type while holding an old value can cause a crash. Exploiting this requires creating a specific query and running it.

  1. Attacker reaches the PostgreSQL over the internet / network
  2. Attacker needs a normal (low-privilege) account
  3. Sends crafted input that triggers the flaw
  4. Impact: data can be read, data or code can be changed, service crashes or stops

Skillmate analyst mapping (our judgement, not from the vendor):

  • T1190 Exploit Public-Facing Application

Timeline

DateEventSource
2026-11-12CVE-2026-116322 published in NVDNVD
2026-11-12CVE-2026-6460 published in NVDNVD
2026-11-13Reported by The Hacker NewsThe Hacker News
2026-11-24This Skillmate explainer publishedSkillmate

How to fix it

  1. Update PostgreSQL to the fixed release named in the vendor advisory.
  2. Read the vendor advisory for CVE-2026-6460 and upgrade to the fixed release it lists.
  3. Read the vendor advisory for CVE-2026-116322 and upgrade to the fixed release it lists.
  4. If you cannot patch today, limit who can reach the affected service and watch its logs.

What is confirmed and what is not

ConfirmedNot confirmed yet
CVE-2026-6460 is a real NVD record scored 8.8 HIGHCISA KEV does not list CVE-2026-6460 as exploited in the wild
CVE-2026-116322 is a real NVD record scored 5.3 MEDIUMCISA KEV does not list CVE-2026-116322 as exploited in the wild
Reported by The Hacker News
Reported by access.redhat.com
Reported by www.postgresql.org
Reported by people.planetpostgresql.org

Why it matters

This flaw can be exploited by attackers with database access, allowing them to execute commands as the server's OS user. It impacts security and requires urgent patching of PostgreSQL versions.

Learn the skills behind this story

Want to understand attacks like this and defend against them? Join Skillmate cybersecurity training or practise hands-on in Skillmate Labs.

FAQ

What is CVE-2026-6460?

It's a flaw in PostgreSQL that lets a user with object-creation privileges run code as the database server's user.

How serious is this flaw?

It's rated as Important, allowing full compromise of the database daemon host environment, but requiring prior authentication.

What should I do to protect my PostgreSQL server?

Update to the latest version and rebuild or update every C-language extension.

Can an unauthenticated user exploit this flaw?

No, exploitation requires prior authentication and permissions to execute data definition statements.

What is the CVSS score for CVE-2026-6460?

It has a CVSS score of 8.8, indicating a high severity.

Sources

How we wrote this: facts come from the sources above, NVD and CISA KEV. An on-prem AI model drafted the plain-English parts and every sentence was checked against the sources; unsupported sentences were removed. MITRE mapping is our own judgement.