8.8

CVE-2026-18408: postgresql

CVSS: 8.8v3.1HighModified
AliasesALPINE-CVE-2026-18408RHSA-2026:79009RHSA-2026:79027
Published 13-08-2026Last modified 29-08-2026

Vulnerability summary

CVE-2026-18408 is a high (CVSS 8.8) vulnerability in postgresql. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 27.7% of scored vulnerabilities.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.36%
0%100%
Low · -0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 51 · Related 30

Timeline

  1. 13-08-2026
    PublishedVulnerability first disclosed.
  2. 29-08-2026
    Last modifiedVulnerability information updated.

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.6, 17.11, 16.15, 15.19, and 14.24 are affected.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.36%

Chance of exploitation in the next 30 days

Percentile

28%

Versus all other CVEs

30-day change

-0.01 pp

From 0.36% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.36%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Redhat34 products
  • pg_repack< 0:1.4.6-3.module+el8.5.0+11354+78b3c9c5
  • pg_repack-debuginfo< 0:1.4.6-3.module+el8.5.0+11354+78b3c9c5
  • pg_repack-debugsource< 0:1.4.6-3.module+el8.5.0+11354+78b3c9c5
  • pgaudit< 0:1.4.0-5.module+el8.5.0+11354+78b3c9c5 | < 0:1.4.0-6.module+el8.4.0+11288+c193d6d7
  • pgaudit-debuginfo< 0:1.4.0-5.module+el8.5.0+11354+78b3c9c5 | < 0:1.4.0-6.module+el8.4.0+11288+c193d6d7
Ubuntu7 products
  • postgresql-10All versions (No fix recorded)
  • postgresql-12All versions (No fix recorded)
  • postgresql-14< 14.24-0ubuntu0.22.04.1
  • postgresql-16< 16.15-0ubuntu0.24.04.1
  • postgresql-18< 18.6-0ubuntu0.26.04.1
Alpine3 products
  • postgresql16< 16.15-r0
  • postgresql17< 17.11-r0
  • postgresql18< 18.5-r0
Debian3 products
  • postgresql-15< 15.19-0+deb12u1
  • postgresql-17< 17.11-0+deb13u1
  • postgresql-18< 18.6-1
Postgresql1 product
  • postgresql≥ 14.0, < 14.24 | ≥ 15.0, < 15.19 | ≥ 16.0, < 16.15 | ≥ 17.0, < 17.11 | ≥ 18.0, < 18.5

5 vendors · 48 products

References

17 links
Show all 17 references