Skip to main content
EPSS 0.2%top 94%

PostgreSQL amcheck does not clear untrusted search path (CVE-2026-14673)

0
Low
Published: 08/19/2026 (08/19/2026, 08:52:39 UTC)
Source: GCVE Database
Product: postgresql

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

Postgresqlmore threats →ai
postgresql/postgresql
pkg:deb/postgresql/postgresql
Affected versions
<14.24<15.19<16.15<18.5
GitHub Actionsmore threats →ai
postgresql/postgresql
pkg:github/postgresql/postgresql
Affected versions
>=14.0 <14.24>=15.0 <15.19>=16.0 <16.15>=18.0 <18.5

Run 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

AILast updated: 09/08/2026, 15:15:12 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses