Description
Missing authorization in PostgreSQL logical decoding allows a non-superuser holding REPLICATION privilege to dlopen any file visible to the operating system account running the server, via the choice of logical decoding plugin. This in turn runs arbitrary code as that account. Versions before PostgreSQL 18.5, 17.11, 16.15, 15.19, and 14.24 are affected.
Published: 2026-08-13
Score: 7.2 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability lies in PostgreSQL’s logical decoding component, where a missing authorization check allows any user with REPLICATION privileges, even if not a superuser, to choose a logical decoding plugin name. By supplying a specially crafted plugin name, the server bypasses its own safety checks and performs a dlopen call to load and execute arbitrary shared libraries. This effectively grants the attacker the ability to run arbitrary code on the OS account that runs the PostgreSQL process, leading to a potential compromise of confidentiality, integrity, and availability of the entire system. The weakness aligns with OWASP CWE‑862, Missing Authorization.

Affected Systems

The issue affects PostgreSQL deployments prior to version 18.5, 17.11, 16.15, 15.19, and 14.24. All releases older than these milestones are vulnerable. The product is the official PostgreSQL database server distribution.

Risk and Exploitability

The CVSS score of 7.2 marks this as a High severity vulnerability. The EPSS score is not available, but the fact that the flaw permits arbitrary code execution under the server’s operating system user drastically increases the attack potential. The bug does not appear in the CISA KEV catalog, but any environment that grants REPLICATION rights to untrusted users remains at significant risk. Attackers need only a database account with REPLICATION privileges; they can then exploit the logical decoding interface to trigger the dlopen path and load malicious code.

Generated by OpenCVE AI on August 13, 2026 at 15:00 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to PostgreSQL 18.5, 17.11, 16.15, 15.19, or 14.24, or newer releases.
  • Restrict REPLICATION privileges to trusted accounts only and prohibit untrusted users from specifying arbitrary logical decoding plugin names.
  • If an immediate upgrade is not possible, limit the file system permissions for the PostgreSQL operating‑system user or disable logical decoding features to prevent access to arbitrary files.

Generated by OpenCVE AI on August 13, 2026 at 15:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 13 Aug 2026 17:00:00 +0000

Type Values Removed Values Added
First Time appeared Postgresql
Postgresql postgresql
Vendors & Products Postgresql
Postgresql postgresql

Thu, 13 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 13 Aug 2026 13:15:00 +0000

Type Values Removed Values Added
Description Missing authorization in PostgreSQL logical decoding allows a non-superuser holding REPLICATION privilege to dlopen any file visible to the operating system account running the server, via the choice of logical decoding plugin. This in turn runs arbitrary code as that account. Versions before PostgreSQL 18.5, 17.11, 16.15, 15.19, and 14.24 are affected.
Title PostgreSQL logical decoding can dlopen arbitrary file
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Postgresql Postgresql
cve-icon MITRE

Status: PUBLISHED

Assigner: PostgreSQL

Published:

Updated: 2026-08-13T15:40:11.348Z

Reserved: 2026-04-17T00:22:33.190Z

Link: CVE-2026-6471

cve-icon Vulnrichment

Updated: 2026-08-13T15:40:07.390Z

cve-icon NVD

Status : Received

Published: 2026-08-13T13:19:16.747

Modified: 2026-08-13T16:18:57.050

Link: CVE-2026-6471

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T16:45:04Z

Weaknesses