JLSEC-2026-1583: Low severity julia/libpq_jll vulnerability
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 18.6 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 16.15 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 15.19 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 14.24
Event History
Frequently Asked Questions
Which PostgreSQL deployments are affected?
PostgreSQL 18 before 18.6, 16 before 16.15, 15 before 15.19, and 14 before 14.24 are affected. PostgreSQL 17 is unaffected.
What access does an attacker need to exploit this issue?
The attacker must be a grantee of EXECUTE privilege on an amcheck function. They exploit it by setting a hostile search path before invoking the function.
What is the potential impact of successful exploitation?
An attacker can execute arbitrary functions as the owners of expression indexes that depend on the search path. The stated impact includes limited confidentiality and integrity effects, with no availability impact.