INSPECTING ARCHIVED INTELLIGENCE (OUTDATED VERSION).
PostgreSQL fixes 12-year-old logical decoding flaw via supply-chain attack
|
2026-09-04 13:41
CRITICAL
LOW
VULNERABILITY DISCLOSURE
Executive Summary
AI-generated
A 12-year-old logical decoding flaw in PostgreSQL, tracked as CVE-2026-6471 with a CVSS score of 7.2, has been present since its introduction in the database software version 9.4 in 2014 and affects versions before 18.6, 17.11, 16.15, 15.19, and 14.24. The flaw allows an account with the REPLICATION attribute to run arbitrary code as the operating-system user running the database server, which is a concern for backup tools, standby servers, change data capture pipelines, and monitoring systems that routinely hold this attribute. Exploitation requires an account carrying the REPLICATION attribute and a server running with wal_level = logical, where attackers can leverage Server Message Block (SMB) on Windows or Network File System (NFS) automounting on Linux and macOS to execute code as the postgres operating-system user; installations using other output plugins will have logical decoding refused after updating until an administrator adds the library to the whitelist.
Technical Mitigations AI-generated
• Take the following steps - Run SELECT DISTINCT plugin FROM pg_replication_slots WHERE plugin IS NOT NULL.
• Apply the vendor fix for CVE-2026-6471 and treat internet-facing systems that were not patched in time as potentially compromised until verified.
Intelligence Metadata
Actors / Malware / CVEs / Campaigns
CVE-2026-6471CVE-2026-6471
Target & Sectors
Global Scope
Incident Timeline
September 04, 2026
Threat actors exploited a 12-year-old PostgreSQL vulnerability, tracked as CVE-2026-6471, allowing low-privileged attackers to execute code and take over servers.
Click on any entity below to view its context and source!
infrastructure
18.6
PostgreSQL is widely used by enterprises worldwide.
PostgreSQL fixed CVE-2026-6471 in
versions 18.6, 17.11, 16.15, 15.19, and 14.24
.
Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.”
Attackers could also install a persistent backdoor in the database, potentially leading to a full takeover of the database and underlying server.
Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.
infrastructure
17.11
PostgreSQL is widely used by enterprises worldwide.
PostgreSQL fixed CVE-2026-6471 in
versions 18.6, 17.11, 16.15, 15.19, and 14.24
.
Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.”
Attackers could also install a persistent backdoor in the database, potentially leading to a full takeover of the database and underlying server.
Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.
infrastructure
16.15
PostgreSQL is widely used by enterprises worldwide.
PostgreSQL fixed CVE-2026-6471 in
versions 18.6, 17.11, 16.15, 15.19, and 14.24
.
Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.”
Attackers could also install a persistent backdoor in the database, potentially leading to a full takeover of the database and underlying server.
Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.
infrastructure
15.19
PostgreSQL is widely used by enterprises worldwide.
PostgreSQL fixed CVE-2026-6471 in
versions 18.6, 17.11, 16.15, 15.19, and 14.24
.
Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.”
Attackers could also install a persistent backdoor in the database, potentially leading to a full takeover of the database and underlying server.
Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.
infrastructure
14.24
PostgreSQL is widely used by enterprises worldwide.
PostgreSQL fixed CVE-2026-6471 in
versions 18.6, 17.11, 16.15, 15.19, and 14.24
.
Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.”
Attackers could also install a persistent backdoor in the database, potentially leading to a full takeover of the database and underlying server.
Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.
infrastructure
Windows
“The flaw lets a low-privilege “backup” account load and execute arbitrary code on the database server, achieving remote code execution across Windows, Linux, and macOS.
And the replication protocol’s parser accepts almost any character inside a double-quoted plugin name: slashes, backslashes, dots, ../ traversal, even Windows UNC paths.”
“So an attacker can hand the loader a full filesystem path, and it reaches dlopen() (Linux/macOS) or LoadLibrary()(Windows) exactly as typed.
infrastructure
Linux
“The flaw lets a low-privilege “backup” account load and execute arbitrary code on the database server, achieving remote code execution across Windows, Linux, and macOS.
“So an attacker can hand the loader a full filesystem path, and it reaches dlopen() (Linux/macOS) or LoadLibrary()(Windows) exactly as typed.
infrastructure
Macos
“The flaw lets a low-privilege “backup” account load and execute arbitrary code on the database server, achieving remote code execution across Windows, Linux, and macOS.
“So an attacker can hand the loader a full filesystem path, and it reaches dlopen() (Linux/macOS) or LoadLibrary()(Windows) exactly as typed.
vulnerability
CVE-2026-6471
PostgreSQL Hit by 12-Year-Old Vulnerability Allowing Server Takeover
Pierluigi Paganini
September 04, 2026
PostGREShell (CVE-2026-6471) is a 12-year-old PostgreSQL flaw that lets low-privileged attackers execute code and take over servers.
tactic
T1584.004 - Server
PostgreSQL Hit by 12-Year-Old Vulnerability Allowing Server Takeover
Pierluigi Paganini
September 04, 2026
PostGREShell (CVE-2026-6471) is a 12-year-old PostgreSQL flaw that lets low-privileged attackers execute code and take over servers.
organisation
SecurityAffairs
Follow me on Twitter:
@securityaffairs
and
Facebook
and
Mastodon
Pierluigi Paganini
(
SecurityAffairs
– hacking, CVE-2026-6471)
organisation
Linux/macOS
“So an attacker can hand the loader a full filesystem path, and it reaches dlopen() (Linux/macOS) or LoadLibrary()(Windows) exactly as typed.
infrastructure
9.4
“The vulnerability has existed in every PostgreSQL version since 2014 (9.4+) and was never patched until now.”
During logical replication, PostgreSQL records database changes as events that external tools can read.
organisation
the C/C++
PostgreSQL then passes that path to
dlopen()
, the C/C++ function used to load shared libraries.
organisation
The SQL LOADcommand
The SQL LOADcommand, by contrast, passes a !superuser()flag that triggers the path validation.
2026/09/04
The PostgreSQL Global Development Group released version 18.6 to address the previously unlisted CVE-2026-6471 vulnerability, which allows server takeover via SMB on Windows and NFS automounting on Linux and macOS.
Click on any entity below to view its context and source!
infrastructure
18.6
To allow locking this down without breaking setups that worked before, introduce a whitelist of allowed output plugins," the PostgreSQL Global Development Group said in the
18.6 release notes
.
Update to 18.6, 17.11, 16.15, 15.19, or 14.24, or to the equivalent distribution package.
infrastructure
Windows
On Windows, the server resolves a network path over Server Message Block (SMB) and fetches the library from a machine the attacker controls, writing nothing to the target, Cyera said.
infrastructure
17.11
Update to 18.6, 17.11, 16.15, 15.19, or 14.24, or to the equivalent distribution package.
infrastructure
16.15
Update to 18.6, 17.11, 16.15, 15.19, or 14.24, or to the equivalent distribution package.
infrastructure
15.19
Update to 18.6, 17.11, 16.15, 15.19, or 14.24, or to the equivalent distribution package.
infrastructure
14.24
Update to 18.6, 17.11, 16.15, 15.19, or 14.24, or to the equivalent distribution package.
infrastructure
Linux
On Linux and macOS, the same result requires enabling Network File System (NFS) automounting.
infrastructure
Macos
On Linux and macOS, the same result requires enabling Network File System (NFS) automounting.
infrastructure
22.04
Ubuntu's USN-8653-1
, which shipped the fix for 22.04, 24.04, and 26.04 LTS on August 20, makes no mention of the parameter and tells administrators only to restart PostgreSQL after the update.
infrastructure
24.04
Ubuntu's USN-8653-1
, which shipped the fix for 22.04, 24.04, and 26.04 LTS on August 20, makes no mention of the parameter and tells administrators only to restart PostgreSQL after the update.
infrastructure
26.04
Ubuntu's USN-8653-1
, which shipped the fix for 22.04, 24.04, and 26.04 LTS on August 20, makes no mention of the parameter and tells administrators only to restart PostgreSQL after the update.
Tactical Metrics
Metrics
infrastructure
18.6
Software Version
Click for context!
Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.”
Attackers could also install a persistent backdoor in the database, potentially leading to a full takeover of the database and underlying server.
PostgreSQL is widely used by enterprises worldwide.
PostgreSQL fixed CVE-2026-6471 in
versions 18.6, 17.11, 16.15, 15.19, and 14.24
.
Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.
To allow locking this down without breaking setups that worked before, introduce a whitelist of allowed output plugins," the PostgreSQL Global Development Group said in the
18.6 release notes
.
Update to 18.6, 17.11, 16.15, 15.19, or 14.24, or to the equivalent distribution package.
Metrics
infrastructure
17.11
Software Version
Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.”
Attackers could also install a persistent backdoor in the database, potentially leading to a full takeover of the database and underlying server.
PostgreSQL is widely used by enterprises worldwide.
PostgreSQL fixed CVE-2026-6471 in
versions 18.6, 17.11, 16.15, 15.19, and 14.24
.
Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.
Update to 18.6, 17.11, 16.15, 15.19, or 14.24, or to the equivalent distribution package.
Metrics
infrastructure
16.15
Software Version
Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.”
Attackers could also install a persistent backdoor in the database, potentially leading to a full takeover of the database and underlying server.
PostgreSQL is widely used by enterprises worldwide.
PostgreSQL fixed CVE-2026-6471 in
versions 18.6, 17.11, 16.15, 15.19, and 14.24
.
Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.
Update to 18.6, 17.11, 16.15, 15.19, or 14.24, or to the equivalent distribution package.
Metrics
infrastructure
15.19
Software Version
Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.”
Attackers could also install a persistent backdoor in the database, potentially leading to a full takeover of the database and underlying server.
PostgreSQL is widely used by enterprises worldwide.
PostgreSQL fixed CVE-2026-6471 in
versions 18.6, 17.11, 16.15, 15.19, and 14.24
.
Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.
Update to 18.6, 17.11, 16.15, 15.19, or 14.24, or to the equivalent distribution package.
Metrics
infrastructure
14.24
Software Version
Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.”
Attackers could also install a persistent backdoor in the database, potentially leading to a full takeover of the database and underlying server.
PostgreSQL is widely used by enterprises worldwide.
PostgreSQL fixed CVE-2026-6471 in
versions 18.6, 17.11, 16.15, 15.19, and 14.24
.
Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.
Update to 18.6, 17.11, 16.15, 15.19, or 14.24, or to the equivalent distribution package.
Metrics
infrastructure
Windows
Affected Product
“The flaw lets a low-privilege “backup” account load and execute arbitrary code on the database server, achieving remote code execution across Windows, Linux, and macOS.
And the replication protocol’s parser accepts almost any character inside a double-quoted plugin name: slashes, backslashes, dots, ../ traversal, even Windows UNC paths.”
“So an attacker can hand the loader a full filesystem path, and it reaches dlopen() (Linux/macOS) or LoadLibrary()(Windows) exactly as typed.
On Windows, the server resolves a network path over Server Message Block (SMB) and fetches the library from a machine the attacker controls, writing nothing to the target, Cyera said.
Metrics
infrastructure
Linux
Affected Product
“The flaw lets a low-privilege “backup” account load and execute arbitrary code on the database server, achieving remote code execution across Windows, Linux, and macOS.
“So an attacker can hand the loader a full filesystem path, and it reaches dlopen() (Linux/macOS) or LoadLibrary()(Windows) exactly as typed.
On Linux and macOS, the same result requires enabling Network File System (NFS) automounting.
Metrics
infrastructure
Macos
Affected Product
“The flaw lets a low-privilege “backup” account load and execute arbitrary code on the database server, achieving remote code execution across Windows, Linux, and macOS.
“So an attacker can hand the loader a full filesystem path, and it reaches dlopen() (Linux/macOS) or LoadLibrary()(Windows) exactly as typed.
On Linux and macOS, the same result requires enabling Network File System (NFS) automounting.
Metrics
infrastructure
9.4
Software Version
“The vulnerability has existed in every PostgreSQL version since 2014 (9.4+) and was never patched until now.”
During logical replication, PostgreSQL records database changes as events that external tools can read.
Metrics
infrastructure
22.04
Software Version
Ubuntu's USN-8653-1
, which shipped the fix for 22.04, 24.04, and 26.04 LTS on August 20, makes no mention of the parameter and tells administrators only to restart PostgreSQL after the update.
Metrics
infrastructure
24.04
Software Version
Ubuntu's USN-8653-1
, which shipped the fix for 22.04, 24.04, and 26.04 LTS on August 20, makes no mention of the parameter and tells administrators only to restart PostgreSQL after the update.
Metrics
infrastructure
26.04
Software Version
Ubuntu's USN-8653-1
, which shipped the fix for 22.04, 24.04, and 26.04 LTS on August 20, makes no mention of the parameter and tells administrators only to restart PostgreSQL after the update.
Intelligence Sources
The Hacker News
2026-09-04
Security Affairs
2026-09-04
PostgreSQL Hit by 12-Year-Old Vulnerability Allowing Server Takeover
Security Affairs
Unpublish from Social Media?
Are you sure you want to delete this podcast video from all synchronized social networks (YouTube, Facebook, Threads)?
Important:
Due to Meta API restrictions, Instagram Reels cannot be deleted automatically via API by third-party apps.
View Profile to Delete Manually
View Profile to Delete Manually
Tactical Intelligence
Report Intelligence Issue
Podcast Options
Generate
Incident Version History
CURRENT VERSION
Last Updated: 2026-11-12T15:57
Comprehensive Tactical Telemetry
Highly Correlated Entities
22x
organisation
Identified Entity
Linux/macOS
entity
11x
timeline
Temporal Reference
September 04, 2026
date
9x
infrastructure
Software Version
18.6
version
3x
infrastructure
Affected Product
Windows
software
3x
attribution
Attributing Entity
CVE-2026-6471
authority
2x
tactic
MITRE ATT&CK Technique
T1584.004 - Server
technique
Contextual Telemetry
Context Block
11 METRICS
vulnerability
Exploited CVE
CVE-2026-6471
cve
vulnerability
CVSS Score
7
score
general metric
Postgresql
14
postgresql
general metric
Versions
19
versions
tactic
Cyber Operation Type
Remote Code Execution
tactic
general metric
Flaw
7
flaw
general metric
Usn-8653
1
usn-8653
general metric
Lts
26
lts
general metric
Port
445
port
general metric
Version
17
version
general metric
Branches
14
branches
Click on any entity below to view its context in the main text!
Selective Unpublish
Select the networks you want to remove this post from. The system will try to delete the real post through the API and clean the database so you can publish it again.
By navigating this website, you accept the use of strictly necessary technical cookies for session security and basic platform functionality. We do not use tracking or advertising cookies. Read our Privacy Policy.
Generating report…
0s