{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-31480","id":"CVE-2025-31480","title":"aiven-extras allows PostgreSQL Privilege Escalation through format function","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 instal","descriptionLong":"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.","published":"2025-04-04T14:49:30.863Z","updated":"2026-10-28T02:30:38.022038774Z","reserved":"2025-03-28T13:36:51.297Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["aiven-extras"],"affectedProducts":[{"vendor":"aiven","product":"aiven-extras","defaultStatus":null,"versions":[{"version":"< 1.1.16","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-426"],"aliases":["GHSA-33xh-jqgf-6627"],"references":[{"url":"https://github.com/aiven/aiven-extras/security/advisories/GHSA-33xh-jqgf-6627","tags":["x_refsource_CONFIRM","advisory"]},{"url":"https://github.com/aiven/aiven-extras/commit/77b5f19a0c1d196bc741ff5c774f85fe7ca3063b","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31480.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31480","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00496,"epssPercentile":0.43348,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-31480","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31480","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-31480","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-31480","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}