Paper/Archive/CVE-2025-31480

CVE-2025-31480

aiven aiven-extras — aiven-extras allows PostgreSQL Privilege Escalation through format function

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
aiven-extras< 1.1.16–CNA

Scores by source

GitHub_M (CNA)9.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

refgithub.com/aiven/aiven-extras/security/advisories/GHSA-33xh-jqgf-6627refgithub.com/aiven/aiven-extras/commit/77b5f19a0c1d196bc741ff5c774f85fe7ca3063b