CVE-2026-6472

Public on 2026-05-14
Modified on 2026-05-15
Description
Missing 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.
Severity
Medium severity
Medium
See what this means
CVSS v3 Base Score
5.4
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2 - Postgresql14 Extra libpq Not Affected
Amazon Linux 2023 libpq Not Affected
Amazon Linux 2 - Core postgresql Not Affected
Amazon Linux 2 - Postgresql14 Extra postgresql 2026-06-08 ALAS2POSTGRESQL14-2026-024 Fixed
Amazon Linux 2023 postgresql15 2026-06-08 ALAS2023-2026-1768 Fixed
Amazon Linux 2023 postgresql16 2026-06-08 ALAS2023-2026-1767 Fixed
Amazon Linux 2023 postgresql17 2026-06-08 ALAS2023-2026-1766 Fixed
Amazon Linux 2023 postgresql18 2026-06-08 ALAS2023-2026-1780 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N