On November 12, PostgreSQL fixed 52 security flaws, several of which allow code execution on the server, and ended support for version 14. Who is exposed, which version to install and what to check afterward.
On November 12, 2026, the PostgreSQL Global Development Group, which develops this open source database, released versions 18.7, 17.12, 16.16, 15.20 and 14.25. They fix 52 security flaws and more than 140 bugs. In addition, 14.25 is the final release of PostgreSQL 14, which now reaches end of life: it will not receive any more security fixes.
What it fixes and who is exposed
PostgreSQL is the database behind many ERP and CRM systems, online stores and custom applications. Of the 52 flaws, 28 state in their official title that they allow arbitrary code execution (an attacker running their own programs), usually as the operating system user the database runs under. The most serious score 8.8 out of 10, and most of them affect every supported version, from 14 to 18.
The key condition is that nearly all of them require a database account. For example, CVE-2026-6460 can be exploited by a user who is allowed to create objects. That is why the biggest risk is on servers shared by several applications or users, or where an attacker has already obtained an application's password. The five that do not require an account are rated low or medium, or need the victim to act: restoring a tampered backup with pg_restore or psql (CVE-2026-116314 and CVE-2026-116330), or having a superuser-owned logical replication subscription to a compromised server (CVE-2026-120145). As of November 14, the project reports no attacks and none of the 52 is in CISA's catalog of exploited flaws.
What to do
- Take inventory: find out which of your company's applications use PostgreSQL and which version they run. On each server, the query
SELECT version();shows it. - Update to 18.7, 17.12, 16.16 or 15.20, depending on your version. It is a minor update: there is no need to dump and reload your data; just stop the service, update the binaries and start it again. If you installed it from your Linux distribution or use it as a cloud service, apply your provider's update.
- Check the post-update steps in the announcement: reindex any GIN indexes you suspect are damaged, GiST indexes that use
pg_trgmand B-tree indexes onbpcharcolumns, and take a new full backup if you use incremental backups. - If you run PostgreSQL 14, install 14.25 right away and plan the move to a supported version: version 15 is supported until November 11, 2027, and version 18 until November 14, 2030.
- In the meantime, limit the accounts that can create objects, do not expose the database to the internet and do not restore backups from unknown sources.
How we help
If your ERP or CRM runs on PostgreSQL, our ERP and CRM advisory services plan the update or migration without stopping your operations. With cloud backup for your databases you keep verified copies before every change. Tell us which version you use.
Sources
- PostgreSQL: announcement of versions 18.7, 17.12, 16.16, 15.20 and 14.25 (November 12, 2026)
- PostgreSQL: list of fixed vulnerabilities and affected versions (accessed November 14, 2026)
- PostgreSQL: CVE-2026-6460 details (November 12, 2026)
- PostgreSQL: versioning policy and end-of-life dates (accessed November 14, 2026)