PostgreSQL amcheck does not clear untrusted search path (CVE-2026-14673)
A vulnerability in PostgreSQL's amcheck extension allows a user with EXECUTE privilege on the amcheck function to execute arbitrary functions as owners of expression indexes by manipulating the search path. This affects PostgreSQL major versions 14, 15, 16, and 18 in specific minor versions before 14.24, 15.19, 16.15, and 18.5 respectively. PostgreSQL 17 is not affected. The issue arises from not clearing an untrusted search path before executing the function.
AI Analysis
Technical Summary
CVE-2026-14673 is a vulnerability in PostgreSQL's amcheck extension where the function does not clear an untrusted search path. A grantee with EXECUTE privilege on the amcheck function can set a malicious search path before calling it, resulting in arbitrary function execution as the owners of expression indexes that depend on the search path. This affects PostgreSQL versions 14.0 up to but not including 14.24, 15.0 up to but not including 15.19, 16.0 up to but not including 16.15, and 18.0 up to but not including 18.5. PostgreSQL 17 is unaffected.
Potential Impact
An attacker with EXECUTE privilege on the amcheck function can exploit this vulnerability to execute arbitrary functions with the privileges of the owners of expression indexes. This could lead to unauthorized actions within the database context. The severity is rated low.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade affected PostgreSQL versions to 14.24 or later, 15.19 or later, 16.15 or later, or 18.5 or later to remediate the issue. No additional mitigations are specified.
PostgreSQL amcheck does not clear untrusted search path (CVE-2026-14673)
Description
A vulnerability in PostgreSQL's amcheck extension allows a user with EXECUTE privilege on the amcheck function to execute arbitrary functions as owners of expression indexes by manipulating the search path. This affects PostgreSQL major versions 14, 15, 16, and 18 in specific minor versions before 14.24, 15.19, 16.15, and 18.5 respectively. PostgreSQL 17 is not affected. The issue arises from not clearing an untrusted search path before executing the function.
Affected software
pkg:deb/postgresql/postgresqlpkg:github/postgresql/postgresqlRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-14673 is a vulnerability in PostgreSQL's amcheck extension where the function does not clear an untrusted search path. A grantee with EXECUTE privilege on the amcheck function can set a malicious search path before calling it, resulting in arbitrary function execution as the owners of expression indexes that depend on the search path. This affects PostgreSQL versions 14.0 up to but not including 14.24, 15.0 up to but not including 15.19, 16.0 up to but not including 16.15, and 18.0 up to but not including 18.5. PostgreSQL 17 is unaffected.
Potential Impact
An attacker with EXECUTE privilege on the amcheck function can exploit this vulnerability to execute arbitrary functions with the privileges of the owners of expression indexes. This could lead to unauthorized actions within the database context. The severity is rated low.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade affected PostgreSQL versions to 14.24 or later, 15.19 or later, 16.15 or later, or 18.5 or later to remediate the issue. No additional mitigations are specified.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-qp83-ppf3-v924
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-14673"]
- Database Specific Severity
- LOW
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a7e0366bf8831d5398f8691
Added to database: 08/13/2026, 17:48:22 UTC
Last enriched: 09/08/2026, 15:15:12 UTC
Last updated: 09/29/2026, 01:47:40 UTC
Views: 49
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.