← Database

CVE-2022-2625

HIGH CVSS: 8.0 Published: 2022-08-18 Modified: 2026-06-17

Description

A vulnerability was found in PostgreSQL. This attack requires permission to create non-temporary objects in at least one schema, the ability to lure or wait for an administrator to create or update an affected extension in that schema, and the ability to lure or wait for a victim to use the object targeted in CREATE OR REPLACE or CREATE IF NOT EXISTS. Given all three prerequisites, this flaw allows an attacker to run arbitrary code as the victim role, which may be a superuser.

Affected Platforms

Redhat Enterprise LinuxFedoraproject FedoraPostgresql Postgresql

Weakness Type

CWE-915, CWE-1321

References