BreachSpiderVerified, not vibes

CVE-2025-31480 in Aiven products

Critical 9.1

aiven-extras is a PostgreSQL extension. This is a privilege escalation vulnerability, allowing elevation to superuser inside PostgreSQL databases that use the aiven-extras package. The vulnerability leverages the format function not being schema-prefixed. Affected users should install 1.1.16 and ensure they run the ...

Affects 0 products from 2 vendors. Facts below cite their sources.

CVSS 3.19.1
EPSS0.9%
EPSS percentile56th
FixUnknown

Remotely exploitable over the network, low complexity, high privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Aiven — —
Postgresql — —

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

No official vendor advisory link on record. See the CVE record.

Exploitation

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

Official description

aiven-extras is a PostgreSQL extension. This is a privilege escalation vulnerability, allowing elevation to superuser inside PostgreSQL databases that use the aiven-extras package. The vulnerability leverages the format function not being schema-prefixed. Affected users should install 1.1.16 and ensure they run the latest version issuing ALTER EXTENSION aiven_extras UPDATE TO '1.1.16' after installing it. This needs to happen in each database aiven_extras has been installed in.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-31480
BreachSpider IDBS-2025-GLOBAL-041091-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Published2025-04-04
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-426: CWE-426

Related attack patterns (CAPEC)

CAPEC-38 Leveraging/Manipulating Configuration File Search Paths via CWE-426

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2025-31480 is a privilege escalation vulnerability in the aiven-extras PostgreSQL extension, allowing attackers to elevate their privileges to superuser within affected PostgreSQL databases.

The vulnerability arises from the format function not being schema-prefixed, which can be exploited to execute arbitrary code with superuser privileges.

Questions

What is CVE-2025-31480?

CVE-2025-31480 is a privilege escalation vulnerability in the aiven-extras PostgreSQL extension, allowing attackers to elevate their privileges to superuser within affected PostgreSQL databases.

What is the CVSS score for CVE-2025-31480?

CVE-2025-31480 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H. EPSS: 0.9%.

Is CVE-2025-31480 actively exploited?

No confirmed active exploitation of CVE-2025-31480 as of 2026-09-25.

How do I remediate CVE-2025-31480?

Priority: IMMEDIATE.

What systems are affected by CVE-2025-31480?

CVE-2025-31480 affects Aiven; Postgresql.

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":"Aiven","product":"EDS-518A","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-06-17.