# CVE-2025-31480: aiven-extras allows PostgreSQL Privilege Escalation through format function

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 56% of CVEs (2026-11-30)
- Published: 2025-04-04T14:49:30.863Z
- Modified: 2026-06-17T09:10:28.550Z
- Weaknesses: CWE-426
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- aiven aiven-extras: < 1.1.16

## References

- <https://github.com/aiven/aiven-extras/security/advisories/GHSA-33xh-jqgf-6627>
- <https://github.com/aiven/aiven-extras/commit/77b5f19a0c1d196bc741ff5c774f85fe7ca3063b>

## Sources

- CVE List: [CVE-2025-31480](https://www.cve.org/CVERecord?id=CVE-2025-31480), CVE Terms of Use, modified 2025-04-04
- NVD: [CVE-2025-31480](https://nvd.nist.gov/vuln/detail/CVE-2025-31480), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-31480 · Whole record: https://cve.day/CVE-2025-31480.json · Rebuilt by cve.day 2026-11-25T22:58:56.057Z
