{
  "id": "CVE-2026-6467",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-6467",
  "published_at": "2026-11-12T14:15:32.994Z",
  "title": "PostgreSQL extension script schema mishandling executes arbitrary SQL",
  "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": "Uncontrolled search path element in PostgreSQL CREATE EXTENSION allows an attacker with database-level CREATE privilege to execute arbitrary code as the bootstrap superuser, via ALTER SCHEMA ... RENAME or CREATE EXTENSION ... SCHEMA \"$user\".  ALTER EXTENSION was also affected.  A trusted-extension script located the wrong object and executed arbitrary SQL of the attacker's choice.  Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.",
  "cwe": "CWE-427",
  "cvss_by_source": {
    "cna": 7.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "n/a",
        "product": "PostgreSQL",
        "ranges": [
          "\u003e= 18, \u003c 18.7",
          "\u003e= 17, \u003c 17.12",
          "\u003e= 16, \u003c 16.16",
          "\u003e= 15, \u003c 15.20",
          "\u003c 14.25"
        ],
        "fixed_in": [
          "18.7",
          "17.12",
          "16.16",
          "15.20",
          "14.25"
        ]
      }
    ],
    "upgrade": [
      "Upgrade PostgreSQL to 18.7 or 17.12 or 16.16 or 15.20 or 14.25 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
