BreachSpiderVerified, not vibes

CVE-2022-2625 in Fedoraproject Fedora and 2 more products

High 8.0

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...

Affects 3 products from 3 vendors. Facts below cite their sources.

CVSS 3.18.0
EPSS1.6%
EPSS percentile77th
FixSee advisory

Remotely exploitable over the network, low complexity, low privileges required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Fedoraproject Fedora 36
Postgresql Postgresql 15 ≥ 10.0, < 10.22 ≥ 11.0, < 11.17 ≥ 12.0, < 12.12 ≥ 13.0, < 13.8 ≥ 14.0, < 14.5
Redhat Enterprise Linux 6.0 7.0 8.0 9.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-2625
BreachSpider IDBS-2022-GLOBAL-066490-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Published2022-08-18
Last modified2026-11-02
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-915: CWE-915

CWE-1321: CWE-1321

Related attack patterns (CAPEC)

CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-1321

CAPEC-77 Manipulating User-Controlled Variables via CWE-1321

CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels via CWE-1321

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in PostgreSQL allows attackers with permission to create non-temporary objects in a schema to exploit a flaw if they can lure or wait for an administrator to create or update an affected extension and a victim to use the object targeted in CREATE OR REPLACE or CREATE IF NOT EXISTS.

The attack requires three prerequisites: permission to create non-temporary objects in at least one schema, the ability to manipulate an administrator into creating or updating an affected extension, and the ability to manipulate a victim into using the object in a specific way. This flaw can lead to unauthorized code execution or privilege escalation.

Questions

What is CVE-2022-2625?

A vulnerability in PostgreSQL allows attackers with permission to create non-temporary objects in a schema to exploit a flaw if they can lure or wait for an administrator to create or update an affected extension and a victim to use the object targeted in CREATE OR REPLACE or CREATE IF NOT EXISTS.

What is the CVSS score for CVE-2022-2625?

CVE-2022-2625 has CVSS 8.0 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H. EPSS: 1.6%.

Is CVE-2022-2625 actively exploited?

No confirmed active exploitation of CVE-2022-2625 as of 2026-11-03.

How do I remediate CVE-2022-2625?

Priority: HIGH. Advisory: https://bugzilla.redhat.com/show_bug.cgi?id=2113825 PSIRT: [email protected]

What systems are affected by CVE-2022-2625?

CVE-2022-2625 affects Fedoraproject Fedora; Postgresql Postgresql; Redhat Enterprise Linux.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Fedoraproject","product":"Fedora","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-02.