CVE-2026-6471 PUBLISHED

PostgreSQL logical decoding can dlopen arbitrary file

Assigner: PostgreSQL
Reserved: 17.04.2026 Published: 13.08.2026 Updated: 13.08.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 7.2

Product Status

Vendor n/a
Product PostgreSQL
Versions Default: unaffected
  • affected from 18 to 18.5 (excl.)
  • affected from 17 to 17.11 (excl.)
  • affected from 16 to 16.15 (excl.)
  • affected from 15 to 15.19 (excl.)
  • affected from 0 to 14.24 (excl.)

Affected Configurations

attacker has REPLICATION privilege

Credits

  • The PostgreSQL project thanks Vladimir Tokarev and Yu Kunpeng for reporting this problem.

References

Problem Types

  • Missing Authorization CWE