CVE-2025-31480: aiven-extras - Privilege Escalation
- Cve: CVE-2025-31480
- Name: aiven-extras - Privilege Escalation
- 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.
- Impact: Attackers can escalate privileges to superuser within PostgreSQL databases, potentially leading to full database control.
- Remediation: Install version 1.1.16 and run ALTER EXTENSION aiven_extras UPDATE TO '1.1.16' in each affected database.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker needs to have access to the database and the extension installed
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.00496
- Epss percentile: 0.43428
- Assignee: [email protected]
- Published at: 2025-04-04T15:15:48Z
- Age in days: 599
- Modified at: 2026-06-17T09:10:28Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-31480
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-426 | Untrusted Search Path |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/aiven/aiven-extras/commit/77b5f19a0c1d196bc741ff5c774f85fe7ca3063b | nvd | |
| https://github.com/aiven/aiven-extras/security/advisories/GHSA-33xh-jqgf-6627 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| aiven:aiven | < 1.1.16 | no | cna_alias_text | /v1/products/aiven/aiven |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| aiven/aiven-extras | commit, security_advisory | yes | /v1/repositories/aiven/aiven-extras |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts