Skip to main content
Mallory
HighVulnerability

CVE-2022-1552: PostgreSQL Maintenance Operation Sandbox Bypass and Privilege Escalation

Published Aug 31, 2022 · Updated 7 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · peak 2 in a dayToday
CVSS8.8High · v3.1
EPSS16.3%97th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Postgresql
IdentifiersCVE-2022-1552CWE-266

CVE-2022-1552 is a privilege-escalation vulnerability in PostgreSQL caused by missing or delayed enforcement of the security-restricted-operation sandbox when privileged users maintain objects owned by other users. Affected operations include autovacuum, REINDEX, CREATE INDEX, REFRESH MATERIALIZED VIEW, CLUSTER, and pg_amcheck. An attacker permitted to create non-temporary objects in at least one schema can execute arbitrary SQL functions under a database superuser identity. Affected supported branches at disclosure were PostgreSQL 10 through 14, before releases 10.21, 11.16, 12.11, 13.7, and 14.3, respectively. Older unsupported versions were not generally tested.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises database confidentiality, integrity, and availability by allowing attacker-controlled SQL functions to execute with superuser privileges. Consequences include disclosure of sensitive information, unauthorized addition or modification of data, and denial of service.

Mitigation

If you can’t patch tonight, do this now.

If patching is temporarily impossible, disable autovacuum, avoid manually executing REINDEX, CREATE INDEX, REFRESH MATERIALIZED VIEW, CLUSTER, and pg_amcheck against untrusted users' objects, and do not restore pg_dump output. VACUUM is safe, and the affected commands are safe when a trusted user owns the target object. This workaround can cause database performance to degrade quickly and is not a substitute for updating.

Remediation

Patch, then assume compromise.

Upgrade PostgreSQL to version 14.3, 13.7, 12.11, 11.16, or 10.21 or a later fixed release in the corresponding branch. For vendor-packaged or embedded deployments, apply the applicable vendor security update. PostgreSQL minor-version updates do not require a database dump and reload or pg_upgrade; stop the server, update the binaries, and restart it.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
PostgresqlPostgresqlapplication
FAQ

Frequently asked questions

Is CVE-2022-1552 exploited in the wild?
As of Nov 11, 2026, Mallory has no reports of CVE-2022-1552 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2022-1552?
As of Nov 11, 2026, Mallory has found no public exploit for CVE-2022-1552.
Is there a patch for CVE-2022-1552?
Upgrade PostgreSQL to version 14.3, 13.7, 12.11, 11.16, or 10.21 or a later fixed release in the corresponding branch. For vendor-packaged or embedded deployments, apply the applicable vendor security update.
What products are affected by CVE-2022-1552?
Postgresql.
How severe is CVE-2022-1552?
CVE-2022-1552 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 16.3% (97th percentile) as of Nov 11, 2026.
Activity feed

Recent activity

13 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
tenable nessus pluginsNews · Nov 10, 2026Unity Linux 20.1070a Security Update: postgresql (UTSA-2026-15... | Tenable®A high-severity PostgreSQL privilege-escalation vulnerability caused by incomplete protections when privileged users maintain other users' objects. Affected operations include Autovacuum, REINDEX, CREATE INDEX, REFRESH MATERIALIZED VIEW, CLUSTER, and pg_amcheck. An attacker with object-creation permissions in at least one schema can execute arbitrary SQL functions as a superuser. The advisory lists a CVSS v3 base score of 8.8. Nessus detects affected packages using self-reported version information rather than testing exploitation.Read more ↗tenable nessus pluginsNews · Nov 10, 2026Unity Linux 20.1070a Security Update: postgresql (UTSA-2026-15... | Tenable®A PostgreSQL privilege-escalation vulnerability caused by protections being applied too late or not at all when privileged users maintain other users' objects. Affected operations include Autovacuum, REINDEX, CREATE INDEX, REFRESH MATERIALIZED VIEW, CLUSTER, and pg_amcheck. An attacker with object-creation privileges can execute arbitrary SQL functions as a superuser. The advisory identifies affected PostgreSQL packages on Unity Linux 20 and assigns a CVSS v3 base score of 8.8. Nessus detects the issue using the application's self-reported version rather than testing exploitation.Read more ↗tenable nessus pluginsNews · Oct 12, 2026Rocky Linux 8.6 [CIQ] Security Update: postgresql / postgresql... | Tenable®A PostgreSQL vulnerability covered by the Rocky Linux 8.6 CIQ security update. Its cited CVSS v3 vector indicates network access, low attack complexity, low privileges required, no user interaction, and high confidentiality, integrity, and availability impacts. The underlying mechanism is not described.Read more ↗tenable nessus pluginsNews · Oct 4, 2026Rocky Linux 9 [CIQ] Security Update: postgresql / postgresql-c... | Tenable®A PostgreSQL vulnerability involving omission of the security-restricted operation sandbox during Autovacuum, REINDEX, and other operations. The advisory identifies affected packages on Rocky Linux 9 and recommends updating them. The listed CVSS v3 base score is 8.8 (High). Nessus detects affected versions using self-reported version information rather than testing exploitation.Read more ↗
+6 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.