- 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
- 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
- PostgreSQL: CVE-2026-6460: PostgreSQL type confusion after ALTER ... SET DATA TYPE executes arbitrary code, PostgreSQLPrimary
- PostgreSQL November 2026 minor releases: update the server and extensions together | Devrim's PostgreSQL Blog, Devrim’s PostgreSQL BlogPrimary
- PostgreSQL Patches 52 Flaws, Including 22-Year-Old Bug Enabling Authenticated RCE, The Hacker News
- PostgreSQL patches 52 security holes, sends version 14 into retirement, The Register
- PostgreSQL, Wikipedia
How we checked this story
| Claim | Source | Status |
|---|---|---|
| The Hacker News said postgreSQL’s type-confusion flaw lets a database user who can create objects run code on the server. | The Hacker News | Attributed |
| The Hacker News said the flaw affects PostgreSQL versions before 18.7, 17.12, 16.16, and 15.20, and 14.25. | The Hacker News | Attributed |
| The Hacker News said the flaw has a CVSS score of 8.8. | The Hacker News | Attributed |
| 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 | Attributed |
| PostgreSQL says other DDL attack routes exist, including adding a column, rolling back, and adding a column again. | PostgreSQL | Confirmed |
| The Hacker News said mehmet Ince described a working exploit demonstrated on PostgreSQL 18.6. | The Hacker News | Attributed |
| Mehmet Ince said ince said the primitive dates to a 5 May 2004 commit introducing ALTER TABLE column-type changes. | Mehmet Ince | Attributed |
| Mehmet Ince said ince’s exploitation technique relies on a 14 May 2015 commit that added expanded-object pointers and native method callbacks. | Mehmet Ince | Attributed |
| Mehmet Ince said ince said six of the 52 CVEs in the release are directly connected to his article. | Mehmet Ince | Attributed |
| The Register reported that PostgreSQL updates fixed 52 security vulnerabilities and more than 140 bugs across versions 14 through 18. | The Register | Attributed |
| 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 Register | Attributed |
| PostgreSQL says versions before 18.7, 17.12, 16.16, 15.20, and 14.25 are affected. | PostgreSQL | Confirmed |
| Administrators using PGDG RPM repositories should update PostgreSQL and all extensions in the same transaction. | Devrim’s PostgreSQL Blog | Confirmed |
| 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 Blog | Confirmed |
| New extensions fail to load on old servers because they call functions those servers do not have. | Devrim’s PostgreSQL Blog | Confirmed |
| Administrators should restart PostgreSQL after updating if it runs under Patroni or a custom service unit. | Devrim’s PostgreSQL Blog | Confirmed |
| PostgreSQL is a free, open-source relational database management system emphasizing extensibility and SQL compliance. | Wikipedia | Confirmed |
| mehmetince.net published its report on Nov 9, 2026. | mehmetince.net | Confirmed |
| people.planetpostgresql.org published its report on Nov 26, 2026. | people.planetpostgresql.org | Confirmed |
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.



