Bug 2515303 (CVE-2026-18408) - CVE-2026-18408 postgresql: PostgreSQL: Arbitrary code execution via untrusted data inclusion in pg_dump
Summary: CVE-2026-18408 postgresql: PostgreSQL: Arbitrary code execution via untrusted...
Keywords:
Status: NEW
Alias: CVE-2026-18408
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2526279 2526280
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-13 13:27 UTC by OSIDB Bzimport
Modified: 2026-10-08 10:59 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:67280 0 None None None 2026-09-14 13:32:05 UTC
Red Hat Product Errata RHSA-2026:67491 0 None None None 2026-09-15 08:14:53 UTC
Red Hat Product Errata RHSA-2026:67848 0 None None None 2026-09-16 08:53:51 UTC
Red Hat Product Errata RHSA-2026:69607 0 None None None 2026-09-22 02:39:37 UTC
Red Hat Product Errata RHSA-2026:69876 0 None None None 2026-09-22 08:34:30 UTC
Red Hat Product Errata RHSA-2026:69914 0 None None None 2026-09-22 11:39:10 UTC
Red Hat Product Errata RHSA-2026:69923 0 None None None 2026-09-22 10:27:09 UTC
Red Hat Product Errata RHSA-2026:70186 0 None None None 2026-09-22 12:42:50 UTC
Red Hat Product Errata RHSA-2026:70559 0 None None None 2026-09-23 06:29:01 UTC
Red Hat Product Errata RHSA-2026:70602 0 None None None 2026-09-23 07:34:22 UTC
Red Hat Product Errata RHSA-2026:70762 0 None None None 2026-09-23 13:22:35 UTC
Red Hat Product Errata RHSA-2026:70856 0 None None None 2026-09-23 16:15:19 UTC
Red Hat Product Errata RHSA-2026:72274 0 None None None 2026-09-28 03:43:10 UTC
Red Hat Product Errata RHSA-2026:72281 0 None None None 2026-09-28 03:48:48 UTC
Red Hat Product Errata RHSA-2026:72282 0 None None None 2026-09-28 03:04:21 UTC
Red Hat Product Errata RHSA-2026:72283 0 None None None 2026-09-28 03:03:36 UTC
Red Hat Product Errata RHSA-2026:72361 0 None None None 2026-09-28 05:41:25 UTC
Red Hat Product Errata RHSA-2026:79009 0 None None None 2026-10-08 09:36:19 UTC
Red Hat Product Errata RHSA-2026:79027 0 None None None 2026-10-08 10:59:02 UTC
Red Hat Product Errata RHSA-2026:79028 0 None None None 2026-10-08 09:41:53 UTC

Description OSIDB Bzimport 2026-08-13 13:27:18 UTC
Untrusted data inclusion in pg_dump in PostgreSQL allows a malicious superuser of the origin server to inject arbitrary code for restore-time execution as the client operating system account running psql to restore the dump, via psql \restrict meta-command input expansion.  The fix for CVE-2025-8714 introduced \restrict and \unrestrict to block this attack, but \unrestrict itself was sufficient for an attack.  pg_dumpall is also affected.  pg_restore is affected when used to generate a plain-format dump.  Non-core use of \restrict would be affected, but we've not identified non-core use.  Versions before PostgreSQL 18.5, 17.11, 16.15, 15.19, and 14.24 are affected.

Comment 3 Jon Orris 2026-09-14 13:32:03 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:67280 https://access.redhat.com/errata/RHSA-2026:67280

Comment 4 Jon Orris 2026-09-15 08:14:52 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:67491 https://access.redhat.com/errata/RHSA-2026:67491

Comment 5 Jon Orris 2026-09-16 08:53:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:67848 https://access.redhat.com/errata/RHSA-2026:67848

Comment 7 Jon Orris 2026-09-22 02:39:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:69607 https://access.redhat.com/errata/RHSA-2026:69607

Comment 9 Jon Orris 2026-09-22 08:34:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:69876 https://access.redhat.com/errata/RHSA-2026:69876

Comment 10 Jon Orris 2026-09-22 10:27:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:69923 https://access.redhat.com/errata/RHSA-2026:69923

Comment 11 Jon Orris 2026-09-22 11:39:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:69914 https://access.redhat.com/errata/RHSA-2026:69914

Comment 12 Jon Orris 2026-09-22 12:42:48 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:70186 https://access.redhat.com/errata/RHSA-2026:70186

Comment 13 Jon Orris 2026-09-23 06:28:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:70559 https://access.redhat.com/errata/RHSA-2026:70559

Comment 14 Jon Orris 2026-09-23 07:34:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2026:70602 https://access.redhat.com/errata/RHSA-2026:70602

Comment 15 Jon Orris 2026-09-23 13:22:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:70762 https://access.redhat.com/errata/RHSA-2026:70762

Comment 16 Jon Orris 2026-09-23 16:15:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:70856 https://access.redhat.com/errata/RHSA-2026:70856

Comment 17 Jon Orris 2026-09-28 03:03:34 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:72283 https://access.redhat.com/errata/RHSA-2026:72283

Comment 18 Jon Orris 2026-09-28 03:04:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:72282 https://access.redhat.com/errata/RHSA-2026:72282

Comment 19 Jon Orris 2026-09-28 03:43:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:72274 https://access.redhat.com/errata/RHSA-2026:72274

Comment 20 Jon Orris 2026-09-28 03:48:46 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:72281 https://access.redhat.com/errata/RHSA-2026:72281

Comment 21 Jon Orris 2026-09-28 05:41:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:72361 https://access.redhat.com/errata/RHSA-2026:72361

Comment 29 Jon Orris 2026-10-08 09:36:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2026:79009 https://access.redhat.com/errata/RHSA-2026:79009

Comment 30 Jon Orris 2026-10-08 09:41:52 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2026:79028 https://access.redhat.com/errata/RHSA-2026:79028

Comment 31 Jon Orris 2026-10-08 10:59:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

Via RHSA-2026:79027 https://access.redhat.com/errata/RHSA-2026:79027


Note You need to log in before you can comment on or make changes to this bug.