Decade-old PostgreSQL flaw turns backup account into a backdoor

The vulnerability, identified as CVE-2026-6471, poses a significant risk to PostgreSQL installations across various platforms, including Windows, Linux, and macOS. This issue affects versions of PostgreSQL dating back to 9.4, which was released in 2014. Fortunately, all supported releases have been patched, including the recent updates: versions 18.6, 17.11, 16.15, 15.19, and 14.24, which were rolled out on August 13.

According to Tokarev, while the vulnerability is present across different operating systems, the specific conditions required to exploit it and achieve code execution differ from one platform to another.

Existing protections were not enough

The root of the issue lies in PostgreSQL’s management of output plugins utilized for logical replication. These plugins consist of compiled code that PostgreSQL dynamically loads to format database changes for integration with external systems and tools. The inherent complexities of this mechanism have rendered existing security measures insufficient, highlighting the need for vigilant updates and monitoring within the PostgreSQL ecosystem.

Tech Optimizer
Decade-old PostgreSQL flaw turns backup account into a backdoor