Read the docs
TI-2025-22661 Aliases CVE-2025-31480

aiven-extras allows PostgreSQL Privilege Escalation through format function

Priority MEDIUM 42CWE-426Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-426.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00496 42nd percentileScored 2026-11-07
Fix Fixed aiven-extras (aiven): 1.1.16

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Aiven-Openaiven-extrasbefore 1.1.161.1.16Patch availableCNA
  • aiven-extras VendorAiven-Open Affected before 1.1.16 Fixed in 1.1.16 Patch available CNA

Remediation

  • Fix · CNA aiven-extras (aiven) Fixed in 1.1.16

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-31480

References

  • TI-2025-38105 Karapace is vulnerable to Authentication Bypass CVSS 3.1HIGH 8.6
  • TI-2025-34940 aiven-db-migrate allows Privilege Escalation through use of psql during migration CVSS 3.1CRITICAL 9.1
  • TI-2025-34939 aiven-db-migrate allows Privilege Escalation via unrestricted search_path during migration CVSS 3.1CRITICAL 9.1
  • TI-2026-79625 Path traversal in PGHoard restore allows arbitrary file writes CVSS 3.1HIGH 8.4
  • TI-2023-15599 aiven-extras PostgreSQL Privilege Escalation Through Overloaded Search Path CVSS 3.1HIGH 8.8
  • TI-2026-32927 Klaw: Improper Access Control Allows Disclosure of Password Hash CVSS 4.0MEDIUM 6.9
See all 15 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences