CVE-2025-31480
published critical CVSS 3.1 · 9.1aiven-extras allows PostgreSQL Privilege Escalation through format function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| aiven | — | aiven-extras< 1.1.16 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| aiven | aiven-extras | < 1.1.16 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-426 CWE-426: Untrusted Search Path
References
2Provider assertions
2GitHub_M · cna
aiven-extras allows PostgreSQL Privilege Escalation through format function
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f3312331806d900484f01cd93dfa51e98cd8cacacdf962526711729bfbaaeb68
- Ingested
- 23 Sep 2026, 08:44:43 UTC
- Source record
- Official CVE record