Untrusted search path in PostgreSQL vacuumdb allows a database owner to execute arbitrary SQL as the database user running vacuumdb, via shadowing operators used in the --missing-stats-only catalog query. The pg_upgrade documentation recommends an affected vacuumdb invocation. Within major version 18, minor versions before PostgreSQL 18.7 are affected. Versions before PostgreSQL 18 are unaffected.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 16 Nov 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 13 Nov 2026 00:45:00 +0000

Type Values Removed Values Added
First Time appeared Postgresql
Postgresql postgresql
Vendors & Products Postgresql
Postgresql postgresql

Fri, 13 Nov 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Thu, 12 Nov 2026 14:30:00 +0000

Type Values Removed Values Added
Description Untrusted search path in PostgreSQL vacuumdb allows a database owner to execute arbitrary SQL as the database user running vacuumdb, via shadowing operators used in the --missing-stats-only catalog query. The pg_upgrade documentation recommends an affected vacuumdb invocation. Within major version 18, minor versions before PostgreSQL 18.7 are affected. Versions before PostgreSQL 18 are unaffected.
Title PostgreSQL "vacuumdb --missing-stats-only" lets a database owner execute code as the vacuumdb user
Weaknesses CWE-426
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: PostgreSQL

Published:

Updated: 2026-11-13T05:03:11.325Z

Reserved: 2026-10-26T03:52:44.052Z

Link: CVE-2026-116313

cve-icon Vulnrichment

Updated: 2026-11-12T21:48:35.818Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-12T15:17:39.347

Modified: 2026-11-13T05:18:04.153

Link: CVE-2026-116313

cve-icon Redhat

Severity : Important

Publid Date: 2026-11-12T14:15:07Z

Links: CVE-2026-116313 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-11-13T05:45:15Z

Weaknesses