{
  "id": "CVE-2025-31480",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-31480",
  "published_at": "2025-04-04T14:49:30.863Z",
  "title": "aiven-extras allows PostgreSQL Privilege Escalation through format function",
  "vendor": "aiven",
  "product": "aiven-extras",
  "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-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.",
  "cwe": "CWE-426",
  "cvss_by_source": {
    "cna": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "aiven",
        "product": "aiven-extras",
        "ranges": [
          "\u003c 1.1.16"
        ],
        "fixed_in": [
          "1.1.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade aiven-extras to 1.1.16 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/aiven/aiven-extras/security/advisories/GHSA-33xh-jqgf-6627"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/aiven/aiven-extras/commit/77b5f19a0c1d196bc741ff5c774f85fe7ca3063b"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
