Security AffairsPierluigi Paganini
PostGREShell Flaw Lets PostgreSQL Replication Accounts Hijack Servers
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.
- Fri 4 Sep, 14:30 UTC. Security Affairs, its first report on the story. PostGREShell Flaw Lets PostgreSQL Replication Accounts Hijack Servers. This article, 2nd of 3.
- Fri 4 Sep, 16:17 UTC. The Hacker News, its first report on the story. PostgreSQL Fixes 12-Year-Old Flaw Allowing Replication Takeover.
PostgreSQL has been revealed to contain a critical vulnerability, CVE-2026-6471, nicknamed PostGREShell, that dates back to 2014 and affects PostgreSQL releases from 9.4 upwards. Cyera’s researchers describe a flaw in PostgreSQL’s logical decoding feature that lets a non-superuser with Replication privileges load a plugin via the replication pathway.
By passing a full filesystem path to the loader, an attacker can cause the server to dlopen or LoadLibrary a file visible to the OS account running PostgreSQL, enabling arbitrary code execution with the server’s privileges. This can lead to a persistent backdoor, ownership of the database, and full control over the underlying server across Windows, Linux and macOS.
The advisory notes that, with this foothold, attackers could create a permanent superuser, access all tables across databases, execute OS commands, read private keys, and write files wherever the PostgreSQL process has access. The flaw’s reach is broad because logical replication is widely used for backups, data pipelines and monitoring, often granting Replication accounts to assorted tools and services. PostgreSQL patched CVE-2026-6471 in versions 18.6, 17.11, 16.15, 15.19 and 14.24.
Organisations are urged to update promptly and to audit Replication accounts, removing the Replication attribute where it is not required. The report stresses that the vulnerability permits code execution via the loader when a replication plugin is specified, highlighting the need for cautious plugin handling and strict access controls.
How the story developed
3 articles from 3 outlets since 4 Sep. Quiet since 4 Sep. This was the 2nd report, 2 hours after the first.
- Fri 4 Sep, 12:10 UTC. SecurityWeek, first report. PostgreSQL Flaw Lets Low Privilege Users Plant Persistent Backdoors.
- Fri 4 Sep, 14:30 UTC. Security Affairs, its first report on the story. PostGREShell Flaw Lets PostgreSQL Replication Accounts Hijack Servers. This article, 2nd of 3.
- 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
- PostGREShell Flaw Lets PostgreSQL Replication Accounts Hijack Servers14:30 · Security Affairs · This article, 2nd of 3
- PostgreSQL Fixes 12-Year-Old Flaw Allowing Replication Takeover16:17 · The Hacker News