{"id":"CVE-2026-6467","published":"2026-11-12T14:15:32Z","modified":"2026-11-13T05:02:33Z","title":"PostgreSQL extension script schema mishandling executes arbitrary SQL","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00555,"percentile":0.47171,"provenance":"source"},"cwes":[{"id":"CWE-427","name":"Uncontrolled Search Path Element"}],"references":[{"url":"https://www.postgresql.org/support/security/CVE-2026-6467/","tags":[]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":9.43},{"name":"CVSS severity","points":5.04}]},"affectedVersions":[{"vendor":"n/a","product":"PostgreSQL","versions":[">= 18, < 18.7",">= 17, < 17.12",">= 16, < 16.16",">= 15, < 15.20","< 14.25"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-12T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-124434","exploited":false,"provenance":"source"}}