{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-18408","published":"2026-08-13T13:17:48.127000Z","last_modified":"2026-08-29T23:17:20.843000Z","status":"Modified","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","primary":false},"auth":false,"cwes":["CWE-829"],"cpes":[{"criteria":"cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version_start_including":"14.0","version_end_excluding":"14.24"},{"criteria":"cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version_start_including":"15.0","version_end_excluding":"15.19"},{"criteria":"cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version_start_including":"16.0","version_end_excluding":"16.15"},{"criteria":"cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version_start_including":"17.0","version_end_excluding":"17.11"},{"criteria":"cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version_start_including":"18.0","version_end_excluding":"18.5"}],"cpes_truncated":false,"vendors":["postgresql"],"products":["postgresql/postgresql"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":68,"links":{"html_es":"/es/cve/CVE-2026-18408/","html_en":"/en/cve/CVE-2026-18408/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-18408","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-18408"},"untrusted":{"vendor_name":"Postgresql","product_name":"Postgresql","desc_en":"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.6, 17.11, 16.15, 15.19, and 14.24 are affected.","affected":[],"references":[{"url":"https://www.postgresql.org/support/security/CVE-2026-18408/","tags":["Vendor Advisory"]}]},"bulletins":[{"source":"redhat","id":"RHSA-2026:84585","url":"https://access.redhat.com/errata/RHSA-2026:84585","published":"2026-10-19T10:08:02+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: postgresql security update"}},{"source":"redhat","id":"RHSA-2026:79028","url":"https://access.redhat.com/errata/RHSA-2026:79028","published":"2026-10-10T10:22:39+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: postgresql:12 security update"}},{"source":"redhat","id":"RHSA-2026:79027","url":"https://access.redhat.com/errata/RHSA-2026:79027","published":"2026-10-10T10:22:38+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: postgresql:12 security update"}},{"source":"suse","id":"SUSE-SU-2026:4018-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20264018-1/","published":"2026-09-07T07:39:30+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for postgresql15"}},{"source":"suse","id":"SUSE-SU-2026:4017-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20264017-1/","published":"2026-09-07T07:38:39+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for postgresql15"}},{"source":"suse","id":"SUSE-SU-2026:4016-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20264016-1/","published":"2026-09-07T07:38:12+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for postgresql17"}}]}