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.5, 16.15, 15.19, and 14.24 are affected. PostgreSQL 17 is unaffected.
| Affected Version | Fixed In | Fix Published |
|---|---|---|
| 18 | 18.5 | 2026-08-13 |
| 16 | 16.15 | 2026-08-13 |
| 15 | 15.19 | 2026-08-13 |
| 14 | 14.24 | 2026-08-13 |
For more information about PostgreSQL versioning, please visit the versioning page.
| Overall Score | 3.8 |
|---|---|
| Component | contrib module |
| Vector | AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N |
If you wish to report a new security vulnerability in PostgreSQL, please send an email to security@postgresql.org.
For reporting non-security bugs, please see the Report a Bug page.