PHP Warns of Critical Security Flaws Affecting All Supported Versions, Fixes Coming November 19 · 5h 10-Year-Old NGINX HTTP/2 Flaw Lets Unauthenticated Attackers Execute Code on Servers · 15h F5 Warns 6 Critical BIG-IP Flaws Can Crash Traffic in Specific Setups, May Allow RCE · 15h CVE-2026-123633 and CVE-2026-123007: Critical NGINX HTTP/2 Vulnerabilities · 17h Critical Apache Roller RCE Flaw Under Active Exploitation, No Authentication Required · 17h Java4Shell Flaw Threatens Global Enterprises, Java Application Ecosystem · 17h How Cloudflare WAF helps protect against Java4Shell (CVE-2026-114938) · 19h Vulnerabilities in LMS software · 21h New Attack Bypasses TPM Lockout to Crack Windows Hello and BitLocker PINs in Days, Not Years · 21h AI Pentesting Checklist for Web Apps: 15 Questions to Ask Before Choosing a Vendor · 21h PHP Warns of Critical Security Flaws Affecting All Supported Versions, Fixes Coming November 19 · 5h 10-Year-Old NGINX HTTP/2 Flaw Lets Unauthenticated Attackers Execute Code on Servers · 15h F5 Warns 6 Critical BIG-IP Flaws Can Crash Traffic in Specific Setups, May Allow RCE · 15h CVE-2026-123633 and CVE-2026-123007: Critical NGINX HTTP/2 Vulnerabilities · 17h Critical Apache Roller RCE Flaw Under Active Exploitation, No Authentication Required · 17h Java4Shell Flaw Threatens Global Enterprises, Java Application Ecosystem · 17h How Cloudflare WAF helps protect against Java4Shell (CVE-2026-114938) · 19h Vulnerabilities in LMS software · 21h New Attack Bypasses TPM Lockout to Crack Windows Hello and BitLocker PINs in Days, Not Years · 21h AI Pentesting Checklist for Web Apps: 15 Questions to Ask Before Choosing a Vendor · 21h
🛡️
ACyber Sentinel Security Assessment Team
← Back to feed
⚡ Intelligence Report

PostgreSQL fixes a 22-Year-Old Security Flaw

PostgreSQL fixes a 22-Year-Old Security Flaw


PostgreSQL released its November 12, 2026  security updates, addressing 52 security vulnerabilities and more than 140 bugs across supported versions.

Security Certification Guide

The release deserves attention for several reasons. It addresses arbitrary code execution, type confusion, memory corruption, SQL injection, privilege enforcement and data-access-control weaknesses.

However, one vulnerability stands out: CVE-2026-6460, a type-confusion flaw associated with functionality introduced approximately 22 years ago.

The concern is not simply the age of the underlying design. It is the possibility of an authenticated database user progressing towards arbitrary code execution on the database server.

The Vulnerabilities That Matter

The November release addresses several important security weaknesses.

Security Certification Guide

CVE-2026-6460 | CVSS 8.8 – Type Confusion and Arbitrary Code Execution

The headline vulnerability involves PostgreSQL’s handling of composite types following ALTER operations.

Previously prepared values can become incompatible with updated type definitions. When PostgreSQL interprets stale values using the wrong structure, memory corruption and arbitrary code execution become possible.

An attacker with object-creation privileges could execute code with the operating-system privileges of the PostgreSQL server.

CVE-2026-6467 | CVSS 7.2 – Extension Script SQL Injection

Improper schema and search-path handling during extension installation can allow an attacker with database CREATE privileges to execute arbitrary SQL with bootstrap-superuser privileges.

CVE-2026-14661 | CVSS 8.1 – Arbitrary File Modification

The dblink functionality and subscription processing contain weaknesses that can allow data to be appended to arbitrary files.

This introduces a serious integrity concern for database hosts.

CVE-2026-16237 | CVSS 5.4 – Row Visibility Bypass

INSERT … ON CONFLICT could bypass the WHERE condition of an automatically updatable view, potentially exposing or modifying rows that should remain inaccessible.

Beyond these highlighted issues, the release addresses numerous additional vulnerabilities involving:

  • Use-after-free conditions in PL/Perl, PL/Tcl and database execution paths.
  • Buffer overflows in text-search functions.
  • Integer overflow and memory-context handling.
  • Type confusion involving records, aggregates and composite data.
  • Logical replication and foreign data wrapper handling.
  • SQL injection through database object names and administrative utilities.

Several of these issues carry CVSS scores of 8.8 and can result in arbitrary code execution.

The important distinction is that the 52 vulnerabilities represent the wider security-fix count, not 52 independently confirmed exploitation campaigns.

Why the 22-Year-Old Flaw Matters

CVE-2026-6460 highlights a longstanding weakness in how PostgreSQL tracks typed values.

Functionality introduced in 2004 allowed database structures to evolve. However, existing values and references could retain assumptions about their previous type definitions.

When those structures changed, PostgreSQL did not consistently detect every mismatch.

The vulnerability becomes exploitable when an existing value is interpreted against an incompatible type layout.

This can progress from memory corruption and information disclosure to arbitrary code execution.

It is not accurate to suggest that the same exploit remained unchanged for 22 years. Rather, an older design weakness combined with later execution behaviour created the exploitable condition.

That is precisely why legacy functionality deserves continuous security scrutiny.

Affected Versions and Patches

The November 12 updates cover the following PostgreSQL branches:

  • PostgreSQL 18 – 18.7
  • PostgreSQL 17 – 17.12
  • PostgreSQL 16 – 16.16
  • PostgreSQL 15 – 15.20
  • PostgreSQL 14 – 14.25

PostgreSQL 14.25 is the final release for that branch. PostgreSQL 14 has reached end of life, and enterprises should plan migration to a supported version.

PostgreSQL 19 RC 2 also incorporates applicable fixes, but it remains a release candidate.

What Enterprises Should Do

Updating the database server is only one part of the remediation.

PostgreSQL’s release notes specifically highlight additional actions required after upgrading.

  • Asset discovery: Identify all PostgreSQL instances across on-premises, cloud and managed database environments.
  • Security patching: Upgrade to the applicable November patched release.
  • Extension validation: Rebuild or update C-language extensions against the updated PostgreSQL headers. Older extension binaries may not receive the full protection.
  • Privilege review: Revalidate CREATE, extension installation, replication and administrative privileges.
  • Data integrity: Review affected indexes and perform the required reindexing activities.
  • Backup validation: Take a new full backup after upgrading if incremental backups are used, and establish it as the baseline for subsequent incremental backups.

Do not disable the new composite-type mismatch protections simply to avoid compatibility issues. That can reintroduce  security exposure.

The Bigger Security Lesson

There are three important takeaways from this release.

Database security is not limited to database access. An exploitable database engine can become a pathway to operating-system-level code execution.

Extensions are part of the attack surface. A patched server with outdated extension binaries may not provide complete protection.

Data integrity matters as much as availability. Index corruption, backup defects and row-level security bypasses can create business consequences even when the database remains operational.

PostgreSQL is deeply embedded in enterprise applications, cloud-native platforms and business-critical workloads. Its security posture must be treated as an integral part of enterprise security governance.

Referenced Vulnerabilities

CVE-2026-6467 CVSS 7.2 HIGH Awaiting Analysis
CVE-2026-6467 - PostgreSQL extension script schema mishandling executes arbitrary SQL
Uncontrolled search path element in PostgreSQL CREATE EXTENSION allows an attacker with database-level CREATE privilege to execute arbitrary code as the bootstrap superuser, via ALTER SCHEMA ... RENAME or CREATE EXTENSION ... SCHEMA "$user". ALTER EXTENSION was also affected. A trusted-extension script located the wrong object and executed arbitrary SQL of the attacker's choice. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
CVE-2026-6460 CVSS 8.8 HIGH Awaiting Analysis
CVE-2026-6460 - PostgreSQL type confusion after ALTER ... SET DATA TYPE executes arbitrary code
Type confusion in PostgreSQL allows an object creator to execute arbitrary code as the operating system user running the database, via ALTER ... SET DATA TYPE primarily. Other DDL attack routes exist, such as "ALTER TABLE ... ADD COLUMN; ROLLBACK; ALTER TABLE ... ADD COLUMN". The system had inadequate tracking of typed values, and values were not self-identifying. Stale values could appear in data dictionary entries, PL/pgSQL variables, and many other parts of the system. PostgreSQL Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
CVE-2026-16237 CVSS 5.4 MEDIUM Awaiting Analysis
CVE-2026-16237 - PostgreSQL INSERT ... ON CONFLICT can read or modify rows despite auto-updatable view WHERE condition
Improper protection in PostgreSQL INSERT ... ON CONFLICT on auto-updatable views allows an attacker having INSERT and UPDATE privileges on the view to read and modify every row in the view's base table, via iterated INSERT ... ON CONFLICT DO UPDATE. This bypasses the view's WHERE condition, whether or not the view is a security_barrier view. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
CVE-2026-14661 CVSS 8.1 HIGH Awaiting Analysis
CVE-2026-14661 - PostgreSQL dblink and subscriptions can append to arbitrary files
External control of file name in PostgreSQL dblink and CREATE/ALTER SUBSCRIPTION allows a user to achieve persistent denial of service, via appending invalid data to a chosen file. Specifically, the "sslkeylogfile" connection parameter appends data, in NSS keylog format, to a file of the user's choosing. This "sslkeylogfile" mechanism cannot add arbitrary bytes. Within major version 18, minor versions before PostgreSQL 18.7 are affected. Versions before PostgreSQL 18 are also affected if libpq version 18 or later is installed and in use by the server.