---
id: CVE-2026-6471
title: >-
  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
summary: >-
  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 …
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-862
  - CWE-94
vendor: postgresql
product: postgresql
affected:
  - 'postgresql >= 14.0, < 14.24'
  - 'postgresql >= 15.0, < 15.19'
  - 'postgresql >= 16.0, < 16.15'
  - 'postgresql >= 17.0, < 17.11'
  - 'postgresql >= 18.0, < 18.5'
patched:
  - postgresql 18.5
published: '2026-08-13'
updated: '2026-08-29'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-6471'
references:
  - url: 'https://www.postgresql.org/support/security/CVE-2026-6471/'
    label: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6471.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-6471'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2515307'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-6471'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-6471'
  - url: 'https://access.redhat.com/errata/RHSA-2026:67280'
  - url: 'https://access.redhat.com/errata/RHSA-2026:67491'
  - url: 'https://access.redhat.com/errata/RHSA-2026:67848'
  - url: 'https://access.redhat.com/errata/RHSA-2026:69698'
  - url: 'https://access.redhat.com/errata/RHSA-2026:70186'
  - url: 'https://access.redhat.com/errata/RHSA-2026:69924'
  - url: 'https://access.redhat.com/errata/RHSA-2026:69923'
  - url: 'https://access.redhat.com/errata/RHSA-2026:69876'
  - url: 'https://access.redhat.com/errata/RHSA-2026:70602'
  - url: 'https://access.redhat.com/errata/RHSA-2026:70763'
  - url: 'https://access.redhat.com/errata/RHSA-2026:70762'
  - url: 'https://access.redhat.com/errata/RHSA-2026:70856'
  - url: 'https://access.redhat.com/errata/RHSA-2026:70559'
  - url: 'https://access.redhat.com/errata/RHSA-2026:69914'
  - url: 'https://access.redhat.com/errata/RHSA-2026:69607'
  - url: 'https://access.redhat.com/errata/RHSA-2026:71603'
  - url: 'https://access.redhat.com/errata/RHSA-2026:72361'
  - url: 'https://access.redhat.com/errata/RHSA-2026:72282'
  - url: 'https://access.redhat.com/errata/RHSA-2026:73912'
  - url: 'https://access.redhat.com/errata/RHSA-2026:72363'
  - url: 'https://access.redhat.com/errata/RHSA-2026:72362'
  - url: 'https://access.redhat.com/errata/RHSA-2026:72283'
  - url: 'https://access.redhat.com/errata/RHSA-2026:72281'
  - url: 'https://access.redhat.com/errata/RHSA-2026:73404'
tags:
  - nvd
  - exploit-available
  - csaf
  - vex
  - red-hat
epss: 0.00528
epssPercentile: 0.44515
ingestedAt: '2026-08-29T23:43:54.217Z'
exploits:
  github: 2
  githubRepos:
    - 'https://github.com/0xBlackash/CVE-2026-6471'
    - >-
      https://github.com/goldendivider/cve-2026-6471-postgres-logical-decoding-dlopen
  checkedAt: '2026-10-27T19:07:31.040Z'
exploitAvailable: true
---

## Overview

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.

## Affected

- `postgresql >= 14.0, < 14.24`
- `postgresql >= 15.0, < 15.19`
- `postgresql >= 16.0, < 16.15`
- `postgresql >= 17.0, < 17.11`
- `postgresql >= 18.0, < 18.5`

## Remediation

Upgrade past the affected range:

- `postgresql 18.5`

## Vendor advisories

- **RHSA-2026:67280** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) · released 2026-09-14 · [advisory](https://access.redhat.com/errata/RHSA-2026:67280)
- **Red Hat VEX** · Important · affected: Self-service automation portal 2 · no fix planned: Self-service automation portal 2 · updated 2026-09-28 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6471.json)
- **RHSA-2026:67491** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 9) · released 2026-09-15 · [advisory](https://access.redhat.com/errata/RHSA-2026:67491)
- **RHSA-2026:67848** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 9) · released 2026-09-16 · [advisory](https://access.redhat.com/errata/RHSA-2026:67848)
- **RHSA-2026:69698** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v.9.6) · released 2026-09-21 · [advisory](https://access.redhat.com/errata/RHSA-2026:69698)
- **RHSA-2026:70186** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) · released 2026-09-22 · [advisory](https://access.redhat.com/errata/RHSA-2026:70186)
- **RHSA-2026:69924** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 8) · released 2026-09-23 · [advisory](https://access.redhat.com/errata/RHSA-2026:69924)
- **RHSA-2026:69923** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 8) · released 2026-09-22 · [advisory](https://access.redhat.com/errata/RHSA-2026:69923)
- **RHSA-2026:69876** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 8) · released 2026-09-22 · [advisory](https://access.redhat.com/errata/RHSA-2026:69876)
- **RHSA-2026:70602** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.8.8), Red Hat Enterprise Linux AppStream TUS (v.8.8) · released 2026-09-23 · [advisory](https://access.redhat.com/errata/RHSA-2026:70602)
- **RHSA-2026:70763** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.9.2) · released 2026-09-23 · [advisory](https://access.redhat.com/errata/RHSA-2026:70763)
- **RHSA-2026:70762** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.9.4) · released 2026-09-23 · [advisory](https://access.redhat.com/errata/RHSA-2026:70762)
- **RHSA-2026:70856** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.9.4) · released 2026-09-23 · [advisory](https://access.redhat.com/errata/RHSA-2026:70856)
- **RHSA-2026:70559** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v.9.6) · released 2026-09-23 · [advisory](https://access.redhat.com/errata/RHSA-2026:70559)
- **RHSA-2026:72361** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.9.2) · released 2026-09-28 · [advisory](https://access.redhat.com/errata/RHSA-2026:72361)
- **RHSA-2026:72282** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v. 10.0), Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) · released 2026-09-28 · [advisory](https://access.redhat.com/errata/RHSA-2026:72282)
- **RHSA-2026:73912** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream AUS (v.8.4), Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) · released 2026-09-30 · [advisory](https://access.redhat.com/errata/RHSA-2026:73912)
- **RHSA-2026:72363** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream AUS (v.8.6), Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6) · released 2026-09-28 · [advisory](https://access.redhat.com/errata/RHSA-2026:72363)
- **RHSA-2026:72362** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.8.8), Red Hat Enterprise Linux AppStream TUS (v.8.8) · released 2026-09-28 · [advisory](https://access.redhat.com/errata/RHSA-2026:72362)
