Logo
vulnerabilityCVE-2026-18408
Name
CVE-2026-18408
Source
NVD ( link)Debian ( link)
Description
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.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
postgresql
Exploitable

Vulnerability Ratings#


8.8
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
17.11
Not Affected
buildroot
master
18.6
Not Affected
openwrt
master
18.6-r1
Not Affected
openwrt
openwrt-25.12
17.5-r3
Exploitable
yocto
kirkstone
14.22
Exploitable
yocto
master
18.4
Exploitable