SecurityWeekIonut Arghire
PostgreSQL Flaw Lets Low Privilege Users Plant Persistent Backdoors
Part of the CVE-2026-6471 story · since 4 Sep
- Fri 4 Sep, 12:10 UTC. SecurityWeek, first report. PostgreSQL Flaw Lets Low Privilege Users Plant Persistent Backdoors. This article, 1st of 3.
- Fri 4 Sep, 14:30 UTC. Security Affairs, its first report on the story. PostGREShell Flaw Lets PostgreSQL Replication Accounts Hijack Servers.
- Fri 4 Sep, 16:17 UTC. The Hacker News, its first report on the story. PostgreSQL Fixes 12-Year-Old Flaw Allowing Replication Takeover.
SecurityWeek reports a long‑standing PostgreSQL flaw, dubbed PostGREShell, tracked as CVE-2026-6471, which can allow an attacker with low privileges to seize control of databases and the server. The issue resides in the database’s logical decoding and is exploitable by anyone with Replication privileges to load a file visible to the OS account running PostgreSQL via a logical decoding plugin.
PostgreSQL uses a replication protocol to synchronise replicas for backup and recovery, and an account with the Replication attribute is often provided to backup tools and monitoring utilities.
Cyera’s analysis explains that when a plugin is loaded, PostgreSQL runs its init function with the server process’s privileges. Because the plugin name is passed to the loader without proper validation, an attacker can supply a full filesystem path (including traversal and UNC-style paths) that dlopen() loads. The loaded code executes with PostgreSQL’s privileges and can trigger a bootstrap superuser, altering pg_authid to grant permanent superuser rights and turning on all privileges.
The consequence is a persistent backdoor enabling OS‑level access, unrestricted data exfiltration, and the ability to bypass password protections. The report states the flaw affects versions from 9.4 through 18 (confirmed on 18.2), with replication remaining a common production practice.
PostgreSQL has patched CVE-2026-6471 in versions 18.6, 17.11, 16.15, 15.19, and 14.24. Organisations are advised to update promptly, audit Replication accounts, and remove the Replication attribute from accounts that do not require it.
How the story developed
3 articles from 3 outlets since 4 Sep. Quiet since 4 Sep. This was the first report.
- Fri 4 Sep, 12:10 UTC. SecurityWeek, first report. PostgreSQL Flaw Lets Low Privilege Users Plant Persistent Backdoors. This article, 1st of 3.
- Fri 4 Sep, 14:30 UTC. Security Affairs, its first report on the story. PostGREShell Flaw Lets PostgreSQL Replication Accounts Hijack Servers.
- Fri 4 Sep, 16:17 UTC. The Hacker News, its first report on the story. PostgreSQL Fixes 12-Year-Old Flaw Allowing Replication Takeover.
- CVE not in KEV
- No CVE
- Larger: an outlet’s first report
- Coverage over time
- Quiet time, folded
Show all 3 articles as a listHide the list
- Fri 4 SepDay 03
- PostgreSQL Flaw Lets Low Privilege Users Plant Persistent Backdoors12:10 · SecurityWeek · First report · This article, 1st of 3
- PostGREShell Flaw Lets PostgreSQL Replication Accounts Hijack Servers14:30 · Security Affairs
- PostgreSQL Fixes 12-Year-Old Flaw Allowing Replication Takeover16:17 · The Hacker News