type: incident ยท created: 2026-09-05 ยท updated: 2026-09-05 ยท tags: [incident, cve, postgresql, database, code-execution, replication] ยท confidence: high ยท affected_sectors: [technology, finance, government] ยท au_impact: true
PostgreSQL Fixes 12-Year-Old Flaw Enabling Code Execution on Replication Role
PostgreSQL has patched a logical decoding flaw first introduced around 12 years ago that lets an attacker with the replication role execute code on the system, tracked as an integer-overflow to memory-corruption bug in the logical decoding path of WAL (write-ahead log) replay. The flaw was disclosed alongside additive updates to multiple supported branches.
| Attribute | Detail |
|---|---|
| Product | PostgreSQL (WAL logical decoding) |
| Age | ~12 years |
| Impact | Code execution via replication role โ integer overflow to memory corruption |
| Significance | Replication role is a legitimate, privileged-but-logical database function, often keyed by credentials rather than full OS access |
| Source | The Hacker News โ Tier 2/4 |
The replication role is a privileged-but-logical database function keyed by creational credentials; the flaw turns it into system code execution โ a high-priority update for PostgreSQL deployments, including Australian/NZ enterprise and government use.