# CVE-2026-6467: PostgreSQL extension script schema mishandling executes arbitrary SQL

- Severity: High 7.2 (CVSS:3.1, scored by PostgreSQL) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 39% of CVEs (2026-11-29)
- Published: 2026-11-12T14:15:32.994Z
- Modified: 2026-11-27T06:45:47.141Z
- Also known as: BIT-POSTGRESQL-2026-6467
- Weaknesses: CWE-427
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: PostgreSQL

## 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.

(As written by CVE List.)

## Affected

- PostgreSQL: from 18 before 18.7; from 17 before 17.12; from 16 before 16.16; from 15 before 15.20; before 14.25
- postgresql (Bitnami): before 14.25.0; from 15.0.0 before 15.20.0; from 16.0.0 before 16.16.0; from 17.0.0 before 17.12.0; from 18.0.0 before 18.7.0

## Every score

- PostgreSQL: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://www.postgresql.org/support/security/CVE-2026-6467/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-6467> (web)

## Sources

- CVE List: [CVE-2026-6467](https://www.cve.org/CVERecord?id=CVE-2026-6467), CVE Terms of Use, modified 2026-11-13
- NVD: [CVE-2026-6467](https://nvd.nist.gov/vuln/detail/CVE-2026-6467), Public domain, modified 2026-11-13
- Bitnami Vulnerability Database: [BIT-POSTGRESQL-2026-6467](https://osv.dev/vulnerability/BIT-POSTGRESQL-2026-6467), Apache-2.0, modified 2026-11-27

---

Page: https://cve.day/CVE-2026-6467 · Whole record: https://cve.day/CVE-2026-6467.json · Rebuilt by cve.day 2026-11-27T07:07:31.601Z
