// AI threat desk · 26 Nov 2026
Home/CVE · Vulns & Patches
Vulns & PatchesHighCVECVSS 8.8

PostgreSQL flaw could enable authenticated code execution

PostgreSQL updates fix a type-confusion flaw that lets a database user who can create objects run code on the server, plus 51 other security flaws, The Hacker News reported.

AI-generated image of a security engineer monitoring database servers in a dim server room.
AI-generated image, not a photo of the event.
Key takeaways
  • The Hacker News said the type-confusion flaw could enable code execution for a database user who can create objects, and gave it a CVSS score of 8.8.
  • PostgreSQL versions before 18.7, 17.12, 16.16, 15.20 and 14.25 are affected.
  • The Hacker News said the PostgreSQL Global Development Group has not reported attacks using the flaw, and CISA’s CVE assessment lists exploitation as none.

The Hacker News said the flaw affects PostgreSQL versions before 18.7, 17.12, 16.16, 15.20 and 14.25, and has a CVSS score of 8.8. It said the PostgreSQL Global Development Group has not reported attacks using the flaw, while CISA’s CVE assessment lists exploitation as none.

PostgreSQL is a free, open-source relational database management system that emphasizes extensibility and SQL compliance.

On this page

PostgreSQL type confusion can affect older composite values

The Hacker News said a field's type can be changed while older values of that type are still held in other parts of the server. It said security researcher Mehmet Ince described a working exploit demonstrated on PostgreSQL 18.6.

Ince said he could trigger the crash as a lowest-privileged login role on any PostgreSQL instance. He said the mutable-row-type primitive dates to a May 5, 2004 commit that introduced ALTER TABLE column-type changes.

He said the exploitation technique relies on a May 14, 2015 commit that added expanded-object pointers and native method callbacks. Ince also said six of the 52 CVEs in the release are directly connected to his article.

PostgreSQL lists additional DDL attack routes

PostgreSQL said other DDL attack routes exist, including adding a column, rolling back and adding a column again: “ALTER TABLE ... ADD COLUMN; ROLLBACK; ALTER TABLE ... ADD COLUMN”.

The Register reported that the updates span PostgreSQL versions 14 through 18 and fix 52 security vulnerabilities and more than 140 bugs. It also reported that the release includes a second release candidate for version 19.

Administrators using PGDG RPM repositories should update PostgreSQL and all extensions in the same transaction. Old extensions can still load on a new server without the fix’s checks, while new extensions can fail to load on old servers with an “undefined symbol” error.

FAQ

What is CVE-2026-6460?

The Hacker News described it as a type-confusion flaw in PostgreSQL that could let a database user who can create objects run code on the server. The Hacker News said it has a CVSS score of 8.8.

Has CVE-2026-6460 been exploited?

The Hacker News said the PostgreSQL Global Development Group has not reported attacks using the flaw, and CISA’s CVE assessment lists exploitation as none.

How do PostgreSQL administrators update affected systems?

Administrators using PGDG RPM repositories should update PostgreSQL and all extensions in the same transaction. PostgreSQL should be restarted after updating if it runs under Patroni or a custom service unit.

What is the PostgreSQL type-confusion flaw?

The Hacker News said a field's type can be changed while older values of that type are still held in other parts of the server. It said a database user who can create objects could use the flaw to run code on the server.

Sources

  1. Part 3/6 | How I Ended Up Turning a 22-Year-Old PostgreSQL Type-Confusion Primitive into RCE (CVE-2026-6460) - Mehmet Ince @mdisec - Vulnerability Researcher | Building security products | Security Ad, Mehmet IncePrimary
  2. PostgreSQL: CVE-2026-6460: PostgreSQL type confusion after ALTER ... SET DATA TYPE executes arbitrary code, PostgreSQLPrimary
  3. PostgreSQL November 2026 minor releases: update the server and extensions together | Devrim's PostgreSQL Blog, Devrim’s PostgreSQL BlogPrimary
  4. PostgreSQL Patches 52 Flaws, Including 22-Year-Old Bug Enabling Authenticated RCE, The Hacker News
  5. PostgreSQL patches 52 security holes, sends version 14 into retirement, The Register
  6. PostgreSQL, Wikipedia
How we checked this story
ClaimSourceStatus
The Hacker News said postgreSQL’s type-confusion flaw lets a database user who can create objects run code on the server.The Hacker NewsAttributed
The Hacker News said the flaw affects PostgreSQL versions before 18.7, 17.12, 16.16, and 15.20, and 14.25.The Hacker NewsAttributed
The Hacker News said the flaw has a CVSS score of 8.8.The Hacker NewsAttributed
The Hacker News said the PostgreSQL Global Development Group has not reported attacks using the flaw, and CISA’s CVE assessment lists exploitation as none.The Hacker NewsAttributed
PostgreSQL says other DDL attack routes exist, including adding a column, rolling back, and adding a column again.PostgreSQLConfirmed
The Hacker News said mehmet Ince described a working exploit demonstrated on PostgreSQL 18.6.The Hacker NewsAttributed
Mehmet Ince said ince said the primitive dates to a 5 May 2004 commit introducing ALTER TABLE column-type changes.Mehmet InceAttributed
Mehmet Ince said ince’s exploitation technique relies on a 14 May 2015 commit that added expanded-object pointers and native method callbacks.Mehmet InceAttributed
Mehmet Ince said ince said six of the 52 CVEs in the release are directly connected to his article.Mehmet InceAttributed
The Register reported that PostgreSQL updates fixed 52 security vulnerabilities and more than 140 bugs across versions 14 through 18.The RegisterAttributed
The Register said postgreSQL 14.25 is the final release for the unsupported PostgreSQL 14, whose users are advised to move to a newer major version.The RegisterAttributed
PostgreSQL says versions before 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.PostgreSQLConfirmed
Administrators using PGDG RPM repositories should update PostgreSQL and all extensions in the same transaction.Devrim’s PostgreSQL BlogConfirmed
Old extensions still load on a new server but may not have the vulnerability fix’s checks and may not be protected.Devrim’s PostgreSQL BlogConfirmed
New extensions fail to load on old servers because they call functions those servers do not have.Devrim’s PostgreSQL BlogConfirmed
Administrators should restart PostgreSQL after updating if it runs under Patroni or a custom service unit.Devrim’s PostgreSQL BlogConfirmed
PostgreSQL is a free, open-source relational database management system emphasizing extensibility and SQL compliance.WikipediaConfirmed
mehmetince.net published its report on Nov 9, 2026.mehmetince.netConfirmed
people.planetpostgresql.org published its report on Nov 26, 2026.people.planetpostgresql.orgConfirmed

Could not verify

  • Whether CVE-2026-6460 was exploited in the wild is not established.
  • How many PostgreSQL installations or users are affected is not established.
  • Whether default database privileges permit code execution beyond the demonstrated crash is not established.
  • Whether each named managed PostgreSQL service has fully patched the flaw is not established.
Explore with AI