A flaw was found in PostgreSQL. There is an issue with incomplete efforts to operate safely when a privileged user is maintaining another user's objects. The Autovacuum, REINDEX, CREATE INDEX, REFRESH MATERIALIZED VIEW, CLUSTER, and pg_amcheck commands activated relevant protections too late or not at all during the process. This flaw allows an attacker with permission to create non-temporary objects in at least one schema to execute arbitrary SQL functions under a superuser identity.
{
"license": "CC-BY-4.0",
"sources": [
{
"published": "2022-08-31T16:15:09.867Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2022-1552",
"imported": "2026-04-03T13:13:10.213Z",
"modified": "2024-11-21T06:40:57.223Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-1552",
"id": "CVE-2022-1552"
}
]
}