# CVE-2025-55282: aiven-db-migrate allows Privilege Escalation via unrestricted search_path during migration

- 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.83%, higher than 58% of CVEs (2026-12-01)
- Published: 2025-08-18T16:44:02.944Z
- Modified: 2026-06-17T09:41:34.753Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

aiven-db-migrate is an Aiven database migration tool. Prior to 1.0.7, there is a privilege escalation vulnerability that allows a user to elevate to superuser inside PostgreSQL databases during a migration from an untrusted source server. By exploiting a lack of search_path restriction, an attacker can override pg_catalog and execute untrusted operators as a superuser. This vulnerability is fixed in 1.0.7.

(As written by CVE List.)

## Affected

- aiven aiven-db-migrate: < 1.0.7; before 1.0.7

## Every score

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

## References

- <https://github.com/aiven/aiven-db-migrate/security/advisories/GHSA-hmvf-93r4-36f9> (vendor-advisory)
- <https://github.com/aiven/aiven-db-migrate/commit/39517dc55720055d93262033b142a365f5bf92c5> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2025-55282 · Whole record: https://cve.day/CVE-2025-55282.json · Rebuilt by cve.day 2026-11-25T22:59:02.662Z
