# CVE-2023-32305: aiven-extras PostgreSQL Privilege Escalation Through Overloaded Search Path

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/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.73%, higher than 55% of CVEs (2026-12-01)
- Published: 2023-05-12T18:46:55.995Z
- Modified: 2026-06-17T05:58:31.897Z
- Weaknesses: CWE-20, CWE-1321
- Assigned by: GitHub_M

## Description

aiven-extras is a PostgreSQL extension. Versions prior to 1.1.9 contain a privilege escalation vulnerability, allowing elevation to superuser inside PostgreSQL databases that use the aiven-extras package. The vulnerability leverages missing schema qualifiers on privileged functions called by the aiven-extras extension. A low privileged user can create objects that collide with existing function names, which will then be executed instead. Exploiting this vulnerability could allow a low privileged user to acquire `superuser` privileges, which would allow full, unrestricted access to all data and database functions. And could lead to arbitrary code execution or data access on the underlying host as the `postgres` user. The issue has been patched as of version 1.1.9.

(As written by CVE List.)

## Affected

- aiven aiven-extras: < 1.1.9
- aiven aiven: before 1.1.9

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/aiven/aiven-extras/security/advisories/GHSA-7r4w-fw4h-67gp> (vendor-advisory)
- <https://github.com/aiven/aiven-extras/commit/8682ae01bec0791708bf25791786d776e2fb0250> (patch)
- <https://security.netapp.com/advisory/ntap-20230616-0006/> (third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2023-32305 · Whole record: https://cve.day/CVE-2023-32305.json · Rebuilt by cve.day 2026-11-25T22:58:24.141Z
