PostgreSQL has released updates that fix 52 security flaws. One of them, a type confusion flaw tracked as CVE-2026-6460, lets a database user who can create objects run code on the server.

The flaw has a CVSS score of 8.8. Code run through it has the rights of the operating system account that runs the database server.

The source says that full protection also requires rebuilding any C-language extensions installed on the server.