7.2
HIGH CVSS 3.1
CVE-2026-116313
PostgreSQL "vacuumdb --missing-stats-only" lets a database owner execute code as the vacuumdb user
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.

INFO

Published Date :

Nov. 12, 2026, 2:15 p.m.

Last Modified :

Nov. 12, 2026, 2:15 p.m.

Remotely Exploit :

Yes !

Source :

PostgreSQL
Affected Products

The following products are affected by CVE-2026-116313 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Postgresql postgresql
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
CVSS 3.1 HIGH MITRE-CVE
Solution
Update PostgreSQL to version 18.7 or later to fix SQL injection vulnerability.
  • Update PostgreSQL to version 18.7 or later.
  • Avoid affected vacuumdb invocations.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-116313 vulnerability anywhere in the article.

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.