CVE-2026-14673: Untrusted Search Path in PostgreSQL
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.
AI Analysis
Technical Summary
The vulnerability arises from an untrusted search path in the amcheck extension of PostgreSQL. A grantee with EXECUTE privilege on the amcheck function can manipulate the search path to execute arbitrary functions with the privileges of the owners of expression indexes that depend on the search path. This issue affects PostgreSQL major versions 14, 15, 16, and 18 before minor versions 14.24, 15.19, 16.15, and 18.5 respectively. PostgreSQL 17 is unaffected. The CVSS 3.1 base score is 3.8, indicating low severity, with network attack vector, low attack complexity, high privileges required, no user interaction, and limited confidentiality and integrity impact.
Potential Impact
An attacker with EXECUTE privilege on the amcheck function can execute arbitrary functions as the owners of expression indexes, potentially leading to unauthorized actions with elevated privileges. The confidentiality and integrity impacts are limited, and there is no impact on availability. The vulnerability requires high privileges and no user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should monitor PostgreSQL vendor advisories for updates and apply official patches once available. Until then, restrict EXECUTE privileges on the amcheck function to trusted users only.
CVE-2026-14673: Untrusted Search Path in PostgreSQL
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.5, 16.15, 15.19, and 14.24 are affected. PostgreSQL 17 is unaffected.
CVSS v3.1
Score 3.8low
Affected software
pkg:deb/postgresql/postgresqlRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from an untrusted search path in the amcheck extension of PostgreSQL. A grantee with EXECUTE privilege on the amcheck function can manipulate the search path to execute arbitrary functions with the privileges of the owners of expression indexes that depend on the search path. This issue affects PostgreSQL major versions 14, 15, 16, and 18 before minor versions 14.24, 15.19, 16.15, and 18.5 respectively. PostgreSQL 17 is unaffected. The CVSS 3.1 base score is 3.8, indicating low severity, with network attack vector, low attack complexity, high privileges required, no user interaction, and limited confidentiality and integrity impact.
Potential Impact
An attacker with EXECUTE privilege on the amcheck function can execute arbitrary functions as the owners of expression indexes, potentially leading to unauthorized actions with elevated privileges. The confidentiality and integrity impacts are limited, and there is no impact on availability. The vulnerability requires high privileges and no user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should monitor PostgreSQL vendor advisories for updates and apply official patches once available. Until then, restrict EXECUTE privileges on the amcheck function to trusted users only.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- PostgreSQL
- Date Reserved
- 2026-07-03T20:28:14.306Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7dc617bf8831d5393e539e
Added to database: 08/13/2026, 13:26:47 UTC
Last enriched: 08/13/2026, 13:45:08 UTC
Last updated: 08/13/2026, 21:41:00 UTC
Views: 6
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.
External Links
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.