Answer in brief
CVE-2026-18408 records a High severity (CVSS 8.8) vulnerability in PostgreSQL psql \unrestrict lets superuser of pg_dump origin server execute arbitrary code in psql client. The current sources do not mark it as known exploited. The current feed maps n/a/PostgreSQL (generic), n/a/PostgreSQL (generic). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 8.8. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps n/a/PostgreSQL (generic), n/a/PostgreSQL (generic). Check affected ranges and fixed versions before updating.
| Product | Affected versions | Fixed versions |
|---|---|---|
| cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* | Not reported | Not reported |
| Package | Affected range | Fixed version |
|---|---|---|
| n/a/PostgreSQLgeneric | >=18 <18.5 || >=17 <17.11 || >=16 <16.15 || >=15 <15.19 || >=0 <14.24 | 18.5, 17.11, 16.15, 15.19, 14.24 |
| n/a/PostgreSQLgeneric | >=18 <18.6 || >=17 <17.11 || >=16 <16.15 || >=15 <15.19 || >=0 <14.24 | 18.6, 17.11, 16.15, 15.19, 14.24 |
Published upstream
Aug 13, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Aug 29, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Aug 13, 2026
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.
Quoted source text, attributed separately from HOL analysis.