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.6, 17.11, 16.15, 15.19, and 14.24 are affected.
Published: 2026-08-13
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises from a missing authorization check in PostgreSQL’s logical decoding module. A non-superuser with REPLICATION privileges can select any logical decoding plugin name, enabling the server to dlopen and execute an arbitrary file visible to the operating system user that runs the database process. The result is arbitrary code execution as that OS account, compromising confidentiality, integrity, and availability. The weakness corresponds to CWE-862, Missing Authorization. PostgreSQL versions prior to 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

Affected Systems

The issue affects PostgreSQL deployments prior to version 18.6, 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

A CVSS score of 7.2 marks this as a High severity vulnerability. The EPSS score of 0.00285 (0.285%) indicates a very low exploitation probability, but the flaw permits arbitrary code execution under the server’s operating system user, which significantly 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. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected. 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 30, 2026 at 01:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to PostgreSQL 18.6, 17.11, 16.15, 15.19, 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 30, 2026 at 01:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4740-1 postgresql-15 security update
Debian DSA Debian DSA DSA-6438-1 postgresql-17 security update
Ubuntu USN Ubuntu USN USN-8653-1 PostgreSQL vulnerabilities
History

Sat, 29 Aug 2026 23: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. 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.6, 17.11, 16.15, 15.19, and 14.24 are affected.

Wed, 19 Aug 2026 01:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*

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-29T23:07:37.320Z

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 : Modified

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

Modified: 2026-08-29T23:17:23.010

Link: CVE-2026-6471

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-30T01:15:05Z

Weaknesses