Original 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 software
- PostgreSQL ≥ 18.0 < 18.5≥ 14.0 < 14.24≥ 15.0 < 15.19≥ 16.0 < 16.15 Fixed in: 18.5, 14.24, 15.19, 16.15 exact match
Details
- Published
- 2026-08-13
- Last modified
- 2026-08-30
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N- CWE
- CWE-426
- EPSS (30-day exploit probability)
- 0.27% (percentile 19)
References
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.