What’s Vulnerable › Vulnerabilities

CVE-2026-14673: PostgreSQL amcheck does not clear untrusted search path

Description

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.

Affected products

How to fix

Upgrade to a fixed version: PostgreSQL 14.24, 15.19, 16.15, 18.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-14673 or the next vulnerability affects your stack