PostgreSQL Fixes 12-Year-Old Logical Decoding Flaw Enabling Replication-Role Code Execution
Executive Summary
PostgreSQL released security updates to fix a 12‑year‑old logical decoding vulnerability (CVE‑2026‑6471, CVSS 7.2) that allowed users with the REPLICATION role to execute arbitrary code as the database server’s OS user. The flaw existed since PostgreSQL 9.4 and is fixed in versions 18.6, 17.11, 16.15, 15.19, and 14.24.
Original Description
PostgreSQL has released updates to address a security flaw that allows an account with the REPLICATION attribute to run arbitrary code as the operating-system user running the database server. The flaw, tracked as CVE-2026-6471 (CVSS score: 7.2), has been present since logical decoding was introduced in PostgreSQL 9.4 in 2014. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are