DEV Community

Cover image for PostGREShell: Decade-Old PostgreSQL Flaw Turns Backup Accounts into Backdoors
BeyondMachines for BeyondMachines

Posted on Originally published at beyondmachines.net

PostGREShell: Decade-Old PostgreSQL Flaw Turns Backup Accounts into Backdoors

Summary

PostgreSQL patched a vulnerability (CVE-2026-6471) that allows attackers with low-privilege replication access to execute arbitrary code and gain full superuser control. The flaw, present since 2014, enables persistent backdoor access across Windows, Linux, and macOS environments.

Take Action:

If you run PostgreSQL, update immediately to version 18.6, 17.11, 16.15, 15.19, or 14.24 to fix CVE-2026-6471. Then review who has the REPLICATION permission and remove it from anyone who doesn't need it, restrict replication access in pg_hba.conf to trusted IP addresses only, and block outbound SMB and NFS traffic from your database servers.


Read the full article on BeyondMachines


This article was originally published on BeyondMachines

Top comments (0)