↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

CVE-2022-1552

Autovacuum, REINDEX , CREATE INDEX , REFRESH MATERIALIZED VIEW , CLUSTER , and pg_amcheck made incomplete efforts to operate safely when a privileged user is maintaining another user's objects. Those commands activated relevant protections too late or not at all. An attacker having permission to create non-temp objects in at least one schema could execute arbitrary SQL functions under a superuser identity. While promptly updating PostgreSQL is the best remediation for most users, a user unable to do that can work around the vulnerability by disabling autovacuum, not manually running the above commands, and not restoring from output of the pg_dump command. Performance may degrade quickly under this workaround. VACUUM is safe, and all commands are fine when a trusted user owns the target object. The PostgreSQL project thanks Alexander Lakhin for reporting this problem.

Version Information

Affected branchIntroducedFixed InFix Published
10—10.212022-05-12
11—11.162022-05-12
12—12.112022-05-12
13—13.72022-05-12
14—14.32022-05-12

CVSS 3.0

Overall Score8.8
Componentcore server
VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

First published: 2022-05-12

Historical source observations

These dated records preserve the original source claims separately from the reviewed fix list.

center · 2026-10-03 12:08:35.169032+08

  • PostgreSQL 14 · Original minor coordinate: 3

pgweb · 2026-10-03 12:08:55.967155+08

  • PostgreSQL 14 · Original minor coordinate: 3

Original security advisory · JSON · All advisories