{
  "id": "CVE-2026-116313",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-116313",
  "published_at": "2026-11-12T14:15:07.627Z",
  "title": "PostgreSQL \"vacuumdb --missing-stats-only\" lets a database owner execute code as the vacuumdb user",
  "product": "PostgreSQL",
  "cvss": {
    "score": 7.2,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-426",
  "cvss_by_source": {
    "cna": 7.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "n/a",
        "product": "PostgreSQL",
        "ranges": [
          "\u003e= 18, \u003c 18.7"
        ],
        "fixed_in": [
          "18.7"
        ]
      }
    ],
    "upgrade": [
      "Upgrade PostgreSQL to 18.7 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
