{"id":6332,"date":"2026-09-04T18:48:57","date_gmt":"2026-09-04T10:48:57","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-18408"},"modified":"2026-09-04T18:48:57","modified_gmt":"2026-09-04T10:48:57","slug":"cve-2026-18408","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-18408","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-6332","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/6332","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=6332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}