CVE-2025-31480 Details
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.
A privilege escalation vulnerability has been identified in the Aiven Extras PostgreSQL extension, specifically in versions prior to 1.1.15. This vulnerability allows users to elevate their privileges to superuser within PostgreSQL databases that have the Aiven Extras package installed. The issue arises because the format function is not properly schema-prefixed, creating a loophole for privilege escalation.
Users are advised to upgrade to version 1.1.16 of the Aiven Extras PostgreSQL extension. After upgrading, it is necessary to run the command 'ALTER EXTENSION aiven_extras UPDATE TO '1.1.16'' in each database where Aiven Extras is installed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 4, 2025CISA-ADP
Assessed Apr 4, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/aiven/aiven-extras/commit/77b5f19a0c1d196bc741ff5c774f85fe7ca3063b | [email protected] | Source CodeVendor |
| https://github.com/aiven/aiven-extras/security/advisories/GHSA-33xh-jqgf-6627 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-426 | Untrusted Search Path | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Aiven aiven-extras | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 4, 2025 | New CVE Received | [email protected] |
Volerion