CVE-2026-18408: PostgreSQL psql \unrestrict lets superuser of pg_dump origin server execute arbitrary code in psql client
CSIRTS triage
- What
- A superuser on the pg_dump origin server can execute arbitrary code in the psql client via the \unrestrict command.
- Who is affected
- psql clients connected to PostgreSQL servers where a superuser has been compromised or is malicious.
- Urgency
- High severity (CVSS 8.8); immediate patching required as superuser compromise leads to direct code execution in client.
- Action
- Update PostgreSQL and psql to a patched version addressing CVE-2026-18408.
AI-assisted analysis generated from the source advisory — verify against the original.
⚡ Watch psql
Get an email when a new psql advisory drops — max one per day, one-click unsubscribe.
Details
Original advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-18408
Exploitation outlook
EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.
- Low exploitation riskCVE-2026-184080.53% 30-day exploitation probability — currently an unlikely target, but scores change as exploit code circulates. Riskier than 42% of all EPSS-scored CVEs.
Referenced CVEs
| CVE | CSIRTS overview | External |
|---|---|---|
| CVE-2026-18408 | coverage & exploitation status | NVD · CVE.org |
Same CVEs, other sources
How other CERTs, PSIRTs and databases cover the vulnerabilities in this advisory.
- high[NEW] [high] PostgreSQL: Multiple vulnerabilitiescert-bund
- unknownUSN-8653-1: PostgreSQL vulnerabilitiesubuntu
- unknownMultiple vulnerabilities in PostgreSQL (August 14, 2026)cert-fr-avis
- highCVE-2026-18408: Untrusted data inclusion in pg_dump in PostgreSQL allows a malicious superuser of the origin s…nvd
More from Microsoft Security Response Center
- lowCVE-2026-14673: PostgreSQL amcheck does not clear untrusted search path2026-08-11
- criticalCVE-2026-69836: Microsoft Entra ID Remote Code Execution Vulnerability2026-08-11
- mediumCVE-2026-53792: rsync < 3.5.0 Out-of-Bounds Read via Zero-Length Checksum Block2026-08-11
- highCVE-2026-70347: Windows Installer Elevation of Privilege Vulnerability2026-08-11
- highCVE-2026-64909: Microsoft Office Remote Code Execution Vulnerability2026-08-11