Close Menu
NCIJ Network NCIJ Network
    What's Hot

    Judge Once Again Blocks Trump Administration’s Plans to Restrict Mail-In Ballots

    September 5, 2026

    Krafton doubles down on India with another $250M bet beyond gaming

    September 5, 2026

    Adaption Labs Introduces ‘Invent a Dataset’: Training Data Generated From a Task Description, Not a Seed Corpus

    September 5, 2026
    Facebook X (Twitter) Instagram
    Trending
    • Judge Once Again Blocks Trump Administration’s Plans to Restrict Mail-In Ballots
    • Krafton doubles down on India with another $250M bet beyond gaming
    • Adaption Labs Introduces ‘Invent a Dataset’: Training Data Generated From a Task Description, Not a Seed Corpus
    • 12-Year-Old PostgreSQL Vulnerability Enables Database, Server Takeover
    • Wall Street is turning AI’s massive electricity appetite into a $61 billion bond market
    • Plea to give Thames seals space for everyone’s safety
    • Urban water quality pose challenges to low-income communities in Sri Lanka’s commercial capital
    • Did fewer than 10 Democrat-authored bills get a hearing in the 2025-26 legislative session?
    • About
      • Our Team
      • Editorial Policy
      • Editorial Independence
      • International Support
    • Trust & Standards
      • AI Usage Policy
      • Conflict of Interest Policy
      • Corrections Policy
      • Ethics Policy
      • Fact-Checking Policy
      • Source Protection
    • Get Involved
      • Guide for Sources
      • Support Independent Journalism
    • Legal
      • Cookie Policy
      • Privacy Policy
      • Terms of Use
    Facebook X (Twitter) Instagram
    NCIJ Network NCIJ Network
    Saturday, September 5
    • Home
    • World
    • Ai
    • Business
    • Politics
    • Health
    • Crypto
    • Science
    • Technology
    • Cybersecurity
    • Defense & Security
    • Economy
    • Energy
    • Europe
    • More
      • Fact Check
      • Investigations
      • Opinion & Analysis
      • Environment
    NCIJ Network NCIJ Network
    Home»Cybersecurity

    12-Year-Old PostgreSQL Vulnerability Enables Database, Server Takeover

    NCIJ NETWNCIJ NETWORKBy NCIJ NETWNCIJ NETWORKSeptember 5, 2026 Cybersecurity No Comments4 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email

    PostgreSQL releases since 2014 contain a severe vulnerability that allows attacker with low privileges to take over databases and servers, cybersecurity firm Cyera reports.

    An open source relational database system offering support for both relational (SQL) and non-relational (JSON) queries, PostgreSQL is one of the most popular databases, being used by tens of thousands of companies, including large enterprises.

    Tracked as CVE-2026-6471 (CVSS score of 7.2) and referred to as PostGREShell, the recently identified security defect can be exploited for remote code execution and privilege escalation.

    It is described as a missing authorization in the database’s logical decoding and can be exploited by attackers that have ‘Replication’ privileges to load any file visible to the OS account running the server, via the logical decoding plugin.

    PostgreSQL, Cyera explains, uses a dedicated replication protocol to sync multiple replicas of any primary database, for backup and recovery. An account with the Replication attribute is required for that, and one is provided to any connected backup tool, server, pipeline, and monitoring utility.

    Changes are recorded by local replication as table events, so that external tools can read, which they do by creating a logical replication slot and naming an output plugin that is loaded by PostgreSQL to format the stream.

    Advertisement. Scroll to continue reading.

    When a plugin is loaded, PostgreSQL runs their init function with the privileges of the server process. To prevent abuse, non-superusers can only load plugins from an admin-controlled directory.

    Cyera discovered that the plugin’s name is passed directly to the loader, without validation or sanitization, which allows an attacker to hand the loader a full filesystem path that is served to dlopen(), the C/C++ function used to dynamically load shared libraries.

    “The replication protocol’s parser accepts almost any character inside a double-quoted plugin name: slashes, backslashes, dots, ../ traversal, even Windows UNC paths,” Cyera notes.

    This allows an attacker to load and execute any file through dlopen(), and the file is executed with the privileges of the postgres system user.

    “Code loaded via dlopen() runs in the same address space as PostgreSQL, with no sandbox and no checks on internal API calls. The server simply trusts any code that was loaded,” Cyera explains.

    “So the plugin calls an internal function to become the bootstrap superuser for the session, then writes directly to pg_authid, the catalog table that defines who is a superuser, and flips every privilege flag to true,” the company continues.

    At this point, the attacker has obtained permanent superuser privileges: they can access every table in every database, execute OS commands, read private keys, and write files to any location the postgres process has access to.

    According to Cyera, the plugin can also deploy backdoor mechanisms: it can enable connections without passwords, copies itself to a stable location and registers itself to be re-loaded into every new backend, and can re-apply the superuser change even if it is reverted.

    “PostGREShell turns the Replication credential nobody worries about into code execution, superuser, and a persistent backdoor on the database behind much of the internet. Every version from 9.4 through 18 is affected (we confirmed it on 18.2), and logical replication is now standard production plumbing, so the vulnerable path exists almost everywhere PostgreSQL runs,” Cyera notes.

    CVE-2026-6471 has been patched in PostgreSQL versions 18.6, 17.11, 16.15, 15.19, and 14.24. Organizations are advised to update their instances as soon as possible, audit their Replication accounts, and remove the Replication attribute from any account that does not need it.

    Related: Rockwell Automation Patches Over a Dozen Vulnerabilities Across Products

    Related: OpenLeash Adds a Human Check to Risky AI Agent Actions

    Related: Threat Actor Hacks 14,000 IP Cameras in Ukraine and Russia

    Related: New HollowGraph Malware Abuses Microsoft 365 Calendar for C&C Communication

    12YearOld Database enables PostgreSQL server takeover Vulnerability
    NCIJ NETWNCIJ NETWORK
    • Website

    Keep Reading

    CISA Adds Seven Exploited Flaws as Attackers Deploy Reverse Shells and Crypto Miners

    OpenAI Pledges $1 Billion to Bring Frontier AI to Critical Infrastructure Defenders

    Exchange Online outage causes email delays, ‘Server busy’ errors

    GPT-6 Astra Scores 100% on ExploitBench as OpenAI Blocks PoC Exploit Requests

    New Ted Backdoor Hides Inside Victims’ Own HAProxy Builds to Intercept Web Traffic

    HPE Patches Critical RCE Vulnerabilities in AOS-CX

    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    Judge Once Again Blocks Trump Administration’s Plans to Restrict Mail-In Ballots

    September 5, 2026

    Krafton doubles down on India with another $250M bet beyond gaming

    September 5, 2026

    Adaption Labs Introduces ‘Invent a Dataset’: Training Data Generated From a Task Description, Not a Seed Corpus

    September 5, 2026

    12-Year-Old PostgreSQL Vulnerability Enables Database, Server Takeover

    September 5, 2026
    Latest Posts

    Interpol Leverages Global System to Curtail Fraud Payments

    July 31, 2026

    Repeat founder Ryan Williams raises $10M seed for an AI startup for private credit managers

    July 31, 2026

    Concerns raised over Northumberland council’s £900m debt

    July 31, 2026

    Subscribe to News

    Get the latest sports news from NewsSite about world, sports and politics.

    NCIJ Network is an independent digital news platform delivering trusted investigative journalism, European and global news, in-depth analysis, and fact-based reporting with accuracy, transparency, and integrity.

    Facebook X (Twitter) Instagram Pinterest YouTube

    Judge Once Again Blocks Trump Administration’s Plans to Restrict Mail-In Ballots

    September 5, 2026

    Krafton doubles down on India with another $250M bet beyond gaming

    September 5, 2026

    Adaption Labs Introduces ‘Invent a Dataset’: Training Data Generated From a Task Description, Not a Seed Corpus

    September 5, 2026

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    Type above and press Enter to search. Press Esc to cancel.