CVE-2025-31480
JSON

9.1critical

aiven-extras allows PostgreSQL Privilege Escalation through format function

Severity
9.1critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.87% (higher than 56% of CVEs)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
aiven aiven-extras< 1.1.16CVE List

Classification

CWE-426

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

aiven-extras es una extensión de PostgreSQL. Esta vulnerabilidad de escalada de privilegios permite la elevación a superusuario en bases de datos PostgreSQL que usan el paquete aiven-extras. Esta vulnerabilidad se aprovecha de que la función de formato no tiene prefijo de esquema. Los usuarios afectados deben instalar la versión 1.1.16 y asegurarse de ejecutar la última versión ejecutando ALTER EXTENSION aiven_extras UPDATE TO '1.1.16' después de instalarla. Esto debe suceder en cada base de datos donde se haya instalado aiven_extras.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-31480 changed 2025-04-04CVE Terms of Use
NVDCVE-2025-31480 changed 2026-06-17Public domain