aiven-extras allows PostgreSQL Privilege Escalation through format function
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-31480
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 17:11 UTC · Revision 1
Source evidence
aiven-extras allows PostgreSQL Privilege Escalation through format function
core-osv · Original sourcePublished 4 Apr 2025, 14:49 UTC
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.
osv:CVE-2025-31480
Complete source record
{
"id": "269cf527e7f55566f291a1d86a8c70d8137fe23df279d8e20787a7fc57c750bc",
"url": "https://osv.dev/vulnerability/CVE-2025-31480",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "aiven-extras allows PostgreSQL Privilege Escalation through format function",
"summary": "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.",
"evidence": "osv:CVE-2025-31480",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2025-31480",
"aliases": [
"CVE-2025-31480",
"GHSA-33xh-jqgf-6627"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/aiven/aiven-extras",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "77b5f19a0c1d196bc741ff5c774f85fe7ca3063b"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "77b5f19a0c1d196bc741ff5c774f85fe7ca3063b"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"1.1.15",
"1.1.9",
"1.1.8",
"1.1.7",
"1.1.6",
"1.1.5",
"1.1.4",
"1.1.3",
"1.1.1",
"1.0.4",
"1.0.3",
"1.0.2",
"1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-31480.json"
}
}
],
"modified": "2026-10-28T02:30:38.022038774Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31480.json",
"https://github.com/aiven/aiven-extras/security/advisories/GHSA-33xh-jqgf-6627",
"https://nvd.nist.gov/vuln/detail/CVE-2025-31480",
"https://github.com/aiven/aiven-extras/commit/77b5f19a0c1d196bc741ff5c774f85fe7ca3063b"
],
"provider_metadata": {
"cwe_ids": [
"CWE-426"
],
"cna_assigner": "GitHub_M",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "1.1.16"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31480.json"
}
},
"related_cves": [
{
"value": "CVE-2025-31480",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505182,
"published_at": "2025-04-04T14:49:30.863+00:00"
}