{
  "id": "CVE-2025-55282",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-55282",
  "published_at": "2025-08-18T16:44:02.944Z",
  "title": "aiven-db-migrate allows Privilege Escalation via unrestricted search_path during migration",
  "vendor": "aiven",
  "product": "aiven-db-migrate",
  "cvss": {
    "score": 9.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:aiven:aiven-db-migrate:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.1,
    "nvd": 7.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "aiven",
        "product": "aiven-db-migrate",
        "ranges": [
          "\u003c 1.0.7"
        ],
        "fixed_in": [
          "1.0.7"
        ]
      }
    ],
    "upgrade": [
      "Upgrade aiven-db-migrate to 1.0.7 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/aiven/aiven-db-migrate/security/advisories/GHSA-hmvf-93r4-36f9"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/aiven/aiven-db-migrate/commit/39517dc55720055d93262033b142a365f5bf92c5"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
