{"id":7195,"date":"2026-09-04T18:49:28","date_gmt":"2026-09-04T10:49:28","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-18408-2"},"modified":"2026-09-04T18:49:28","modified_gmt":"2026-09-04T10:49:28","slug":"cve-2026-18408-2","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-18408-2","title":{"rendered":"CVE-2026-18408 [HIGH] &#8211; Untrusted data inclusion in pg_dump in PostgreSQL allows a malicious superuser of the orig"},"content":{"rendered":"<p>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&#8217;ve not identified non-core use.  Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 p<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-7195","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/7195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}