{"id":"CVE-2025-31480","summary":"aiven-extras allows PostgreSQL Privilege Escalation through format function","details":"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.","aliases":["GHSA-33xh-jqgf-6627"],"modified":"2026-04-18T04:16:13.493025Z","published":"2025-04-04T14:49:30.863Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31480.json","cwe_ids":["CWE-426"],"cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31480.json"},{"type":"ADVISORY","url":"https://github.com/aiven/aiven-extras/security/advisories/GHSA-33xh-jqgf-6627"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31480"},{"type":"FIX","url":"https://github.com/aiven/aiven-extras/commit/77b5f19a0c1d196bc741ff5c774f85fe7ca3063b"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/aiven/aiven-extras","events":[{"introduced":"0"},{"fixed":"77b5f19a0c1d196bc741ff5c774f85fe7ca3063b"}]}],"versions":["1.0","1.0.2","1.0.3","1.0.4","1.1.1","1.1.15","1.1.3","1.1.4","1.1.5","1.1.6","1.1.7","1.1.8","1.1.9"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-31480.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"}]}