CVE-2025-31480 CRITICAL

CVE-2025-31480: aiven-extras allows PostgreSQL Privilege Escalation through format function

Vendor Aiven
Product aiven-extras
Weakness CWE-426
Published April 4, 2025
Last update April 4, 2025

CVSS base score

9.1/10
Attack vector Network
Attack complexity Low
Privileges required High
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 4, 2025 CVE published
April 4, 2025 Record updated