PostgreSQL 14.x < 14.24 / 15.x < 15.19 / 16.x < 16.15 / 18.x < 18.6 amcheck Untrusted Search Path

low Nessus Plugin ID 342123

Synopsis

The remote database server is affected by a privilege escalation vulnerability.

Description

The version of PostgreSQL installed on the remote host is 14 prior to 14.24, 15 prior to 15.19, 16 prior to 16.15, or 18 prior to 18.6. As such, it is potentially affected by a privilege escalation 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.
(CVE-2026-14673)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to PostgreSQL 14.24 / 15.19 / 16.15 / 18.6 or later.

See Also

https://www.postgresql.org/support/security/CVE-2026-14673

Plugin Details

Severity: Low

ID: 342123

File Name: postgresql_20260813_3.nasl

Version: 1.1

Type: Combined

Agent: windows, macosx, unix

Family: Databases

Published: 9/1/2026

Updated: 9/1/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 2.1

Percentile: 7.96

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.1

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:N

CVSS Score Source: CVE-2026-14673

CVSS v3

Risk Factor: Low

Base Score: 3.8

Temporal Score: 3.3

Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS Score Source: CVE-2026-14673

Vulnerability Information

CPE: cpe:/a:postgresql:postgresql

Exploit Ease: No known exploits are available

Patch Publication Date: 8/13/2026

Vulnerability Publication Date: 8/13/2026

Reference Information

CVE: CVE-2026-14673

IAVB: 2026-B-0238