CVE-2026-14673: PostgreSQL amcheck does not clear untrusted search path
CVE-2026-14673 affects 226 listed versions of PostgreSQL in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
PostgreSQL
226 of 250 listed versions are affected. Fixed in 18.6, 16.15, 15.19, 14.24. The newest release, 19.0, is not affected.
18.4 18.3 18.2 18.1 18.0 16.14 16.13 16.12 16.11 16.10 16.9 16.8 16.7 16.6 16.5 16.4 16.3 16.2 16.1 16.0 15.18 15.17 15.16 15.15 15.14 15.13 15.12 15.11 15.10 15.9 15.8 15.7 15.6 15.5 15.4 15.3 15.2 15.1 15.0 14.23 14.22 14.21 14.20 14.19 14.18 14.17 14.16 14.15 14.14 14.13 14.12 14.11 14.10 14.9 14.8 14.7 14.6 14.5 14.4 14.3 and 166 more
What it is
Untrusted search path in PostgreSQL amcheck allows a grantee of amcheck function EXECUTE privilege to execute arbitrary functions as the owners of expression indexes that depend on the search path, via setting a hostile search path before calling the amcheck function. Within major versions 18, 16, 15, and 14, minor versions before PostgreSQL 18.6, 16.15, 15.19, and 14.24 are affected. PostgreSQL 17 is unaffected.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N (PostgreSQL)
Published by PostgreSQL on 13 August 2026. Last changed 29 August 2026.
Sources
Check one version you run: look CVE-2026-14673 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.