{"id":"CVE-2025-55282","published":"2025-08-18T16:44:02Z","modified":"2025-08-18T19:49:56Z","title":"aiven-db-migrate allows Privilege Escalation via unrestricted search_path during migration","vendor":"aiven","product":"aiven-db-migrate","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00825,"percentile":0.58312,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/aiven/aiven-db-migrate/security/advisories/GHSA-hmvf-93r4-36f9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/aiven/aiven-db-migrate/commit/39517dc55720055d93262033b142a365f5bf92c5","tags":["x_refsource_MISC"]}],"priority":{"score":18.0,"factors":[{"name":"EPSS percentile","points":11.66},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"aiven","affectedVersions":[{"vendor":"aiven","product":"aiven-db-migrate","versions":["< 1.0.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-08-18T19:49:31.049375Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-25129","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-aiven-db-migrate-cve-2025-55282","children":[{"from":"CVE-2025-55282","to":"CVE-2025-55283","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["aiven_db_migrate/migrate/pgmigrate.py"],"commits":["https://github.com/aiven/aiven-db-migrate/commit/39517dc55720055d93262033b142a365f5bf92c5","https://github.com/aiven/aiven-db-migrate/commit/36f6c7f7d06216975f625da0a1cb514253c4b3df"],"basis":"rarely changed file"}]}]}}