๐Ÿ” CVE Alert

CVE-2026-116313

HIGH 7.2

PostgreSQL "vacuumdb --missing-stats-only" lets a database owner execute code as the vacuumdb user

CVSS Score
7.2
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-426
Vendor n/a
Product postgresql
Ecosystems
Industries
Technology
Published Nov 12, 2026
Stay Ahead of the Next One

Get instant alerts for n/a postgresql

Be the first to know when new high vulnerabilities affecting n/a postgresql are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

n/a / PostgreSQL
18 < 18.7

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
postgresql.org: https://www.postgresql.org/support/security/CVE-2026-116313/

Credits

The PostgreSQL project thanks Anthropic OSS program for reporting this problem.