CVE-2026-6472

NameCVE-2026-6472
DescriptionMissing authorization in PostgreSQL CREATE TYPE allows an object creator to hijack other queries that use search_path to find user-defined types, including extension-defined types. That is to say, the victim will execute arbitrary SQL functions of the attacker's choice. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-6269-1, DSA-6270-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
postgresql-13 (PTS)bullseye13.16-0+deb11u1vulnerable
bullseye (security)13.23-0+deb11u3vulnerable
postgresql-15 (PTS)bookworm15.17-0+deb12u1vulnerable
bookworm (security)15.18-0+deb12u1fixed
postgresql-17 (PTS)trixie17.9-0+deb13u1vulnerable
trixie (security)17.10-0+deb13u1fixed
postgresql-18 (PTS)forky18.3-1vulnerable
sid18.4-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
postgresql-13source(unstable)(unfixed)
postgresql-15sourcebookworm15.18-0+deb12u1DSA-6269-1
postgresql-15source(unstable)(unfixed)
postgresql-17sourcetrixie17.10-0+deb13u1DSA-6270-1
postgresql-17source(unstable)(unfixed)
postgresql-18source(unstable)18.4-1

Notes

https://www.postgresql.org/about/news/postgresql-184-1710-1614-1518-and-1423-released-3297/

Search for package or bug name: Reporting problems