Bug 2526279 - CVE-2026-18408 mingw-postgresql: PostgreSQL: Arbitrary code execution via untrusted data inclusion in pg_dump [fedora-all]
Summary: CVE-2026-18408 mingw-postgresql: PostgreSQL: Arbitrary code execution via unt...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: mingw-postgresql
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Michael Cronenworth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["d5ab7f99-748f-4791-a40e-a...
Depends On:
Blocks: CVE-2026-18408
TreeView+ depends on / blocked
 
Reported: 2026-08-31 12:26 UTC by Srikanth Balasubramanian
Modified: 2026-08-31 12:26 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description Srikanth Balasubramanian 2026-08-31 12:26:14 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.


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