CVE-2026-18408 Affecting postgresql16-contrib package, versions <16.15-160000.1.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.36% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES1600-POSTGRESQL16CONTRIB-20263408
  • published29 Sept 2026
  • disclosed30 Aug 2026

Introduced: 30 Aug 2026

CVE-2026-18408  (opens in a new tab)

How to fix?

Upgrade SLES:16.0.0 postgresql16-contrib to version 16.15-160000.1.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql16-contrib package and not the postgresql16-contrib package as distributed by SLES. See How to fix? for SLES:16.0.0 relevant fixed versions and status.

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 Base Scores

version 3.1