CVE-2026-116313
published high CVSS 3.1 · 7.2PostgreSQL "vacuumdb --missing-stats-only" lets a database owner execute code as the vacuumdb user
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | PostgreSQL18 to < 18.7 · Other versions: unaffected | Affected | Not stated | PostgreSQL |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3482 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | postgresql17 | Fixed | 17.12-r0 | Package fix record |
| Oracle Linux | 9 | pg_repackaarch64 · postgresql · 18b | Advisory build | 0:1.5.3-1.module+el9.8.0+90922+3defa420 | ELSA-2026-104854 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18aarch64 | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Alpine Linux | edge | postgresql18 | Fixed | 18.7-r0 | Package fix record |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.21 | postgresql15 | Fixed | 15.20-r0 | Package fix record |
| Alpine Linux | v3.21 | postgresql16 | Fixed | 16.16-r0 | Package fix record |
| Alpine Linux | v3.21 | postgresql17 | Fixed | 17.12-r0 | Package fix record |
| Alpine Linux | v3.22 | postgresql15 | Fixed | 15.20-r0 | Package fix record |
| Alpine Linux | v3.22 | postgresql16 | Fixed | 16.16-r0 | Package fix record |
| Alpine Linux | v3.22 | postgresql17 | Fixed | 17.12-r0 | Package fix record |
| Alpine Linux | v3.23 | postgresql16 | Fixed | 16.16-r0 | Package fix record |
| Alpine Linux | v3.23 | postgresql17 | Fixed | 17.12-r0 | Package fix record |
| Alpine Linux | v3.23 | postgresql18 | Fixed | 18.7-r0 | Package fix record |
| Alpine Linux | v3.24 | postgresql16 | Fixed | 16.16-r0 | Package fix record |
| Alpine Linux | v3.24 | postgresql17 | Fixed | 17.12-r0 | Package fix record |
| Alpine Linux | v3.24 | postgresql18 | Fixed | 18.7-r0 | Package fix record |
| Oracle Linux | 9 | pg_repackx86_64 · postgresql · 18b | Advisory build | 0:1.5.3-1.module+el9.8.0+90922+3defa420 | ELSA-2026-104854 |
| Oracle Linux | 9 | pgauditaarch64 · postgresql · 18b | Advisory build | 0:18.0-1.module+el9.8.0+90922+3defa420 | ELSA-2026-104854 |
| Oracle Linux | 9 | pgauditx86_64 · postgresql · 18b | Advisory build | 0:18.0-1.module+el9.8.0+90922+3defa420 | ELSA-2026-104854 |
| Oracle Linux | 9 | pgvectoraarch64 · postgresql · 18b | Advisory build | 0:0.8.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | pgvectorx86_64 · postgresql · 18b | Advisory build | 0:0.8.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgisaarch64 · postgresql · 18b | Advisory build | 0:3.6.1-4.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgisx86_64 · postgresql · 18b | Advisory build | 0:3.6.1-4.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgis-clientaarch64 · postgresql · 18b | Advisory build | 0:3.6.1-4.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgis-clientx86_64 · postgresql · 18b | Advisory build | 0:3.6.1-4.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgis-docsaarch64 · postgresql · 18b | Advisory build | 0:3.6.1-4.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgis-docsx86_64 · postgresql · 18b | Advisory build | 0:3.6.1-4.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgis-upgradeaarch64 · postgresql · 18b | Advisory build | 0:3.6.1-4.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgis-upgradex86_64 · postgresql · 18b | Advisory build | 0:3.6.1-4.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgis-utilsaarch64 · postgresql · 18b | Advisory build | 0:3.6.1-4.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgis-utilsx86_64 · postgresql · 18b | Advisory build | 0:3.6.1-4.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgres-decoderbufsaarch64 · postgresql · 18b | Advisory build | 0:3.3.1-1.Final.module+el9.8.0+90922+3defa420 | ELSA-2026-104854 |
| Oracle Linux | 9 | postgres-decoderbufsx86_64 · postgresql · 18b | Advisory build | 0:3.3.1-1.Final.module+el9.8.0+90922+3defa420 | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresqlaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresqlx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-contribaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-contribx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-docsaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-docsx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-plperlaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-plperlx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-plpython3aarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-plpython3x86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-pltclaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-pltclx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-private-develaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-private-develx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-private-libsaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-private-libsx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-serveraarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-serverx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-server-develaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-server-develx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-staticaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-staticx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-testaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-testx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-test-rpm-macrosaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-test-rpm-macrosx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-upgradeaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-upgradex86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-upgrade-develaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-upgrade-develx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18ppc64le | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18s390x | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18src | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18x86_64 | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-contribaarch64 | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-contribppc64le | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-contribs390x | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-contribx86_64 | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-contrib-debuginfoaarch64 | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-contrib-debuginfoppc64le | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-contrib-debuginfos390x | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-contrib-debuginfox86_64 | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-debuginfoaarch64 | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-debuginfoppc64le | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-debuginfos390x | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-debuginfox86_64 | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-debugsourceaarch64 | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-debugsourceppc64le | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-debugsources390x | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-debugsourcex86_64 | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-docsaarch64 | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-docsppc64le | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-docss390x | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-docsx86_64 | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-docs-debuginfoaarch64 | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-docs-debuginfoppc64le | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-docs-debuginfos390x | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-docs-debuginfox86_64 | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-plperlaarch64 | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-plperlppc64le | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-plperls390x | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-plperlx86_64 | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-plperl-debuginfoaarch64 | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-plperl-debuginfoppc64le | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-plperl-debuginfos390x | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-plperl-debuginfox86_64 | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql18-plpython3aarch64 | Advisory build | 18.7-1.el10_3 | RHSA-2026:104831 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- PostgreSQL · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | PostgreSQL | 18 to < 18.7 (affected · rpm)Default: unaffected | PostgreSQL · cna |
Weaknesses
1- CWE-426 Untrusted Search Path
References
1Provider assertions
2PostgreSQL · cna
PostgreSQL "vacuumdb --missing-stats-only" lets a database owner execute code as the vacuumdb user
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- dc0c971ab4cb2e0f5b8590f7725789996f99adb63e68affb0c54a1763b4395ac
- Ingested
- 13 Nov 2026, 05:15:24 UTC
- Source record
- Official CVE record